diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-12-10 12:49:43 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-12-10 12:49:43 +0100 |
commit | 52a281e8549d1a9269ce7ced1336a567086962c5 (patch) | |
tree | 9255538924d34bad30bf43a0f15afb9f84263c24 /inc/media.php | |
parent | 192b8a107d82fab557bd9964d6c759b33663ab42 (diff) | |
download | rpg-52a281e8549d1a9269ce7ced1336a567086962c5.tar.gz rpg-52a281e8549d1a9269ce7ced1336a567086962c5.tar.bz2 |
Some PHPDocs media and admin plugin
Diffstat (limited to 'inc/media.php')
-rw-r--r-- | inc/media.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/media.php b/inc/media.php index c77f3f952..09bfc99ac 100644 --- a/inc/media.php +++ b/inc/media.php @@ -383,20 +383,20 @@ function copy_uploaded_file($from, $to){ * (The triggered event is preventable.) * * Event data: - * $data[0] fn_tmp: the temporary file name (read from $_FILES) - * $data[1] fn: the file name of the uploaded file - * $data[2] id: the future directory id of the uploaded file - * $data[3] imime: the mimetype of the uploaded file + * $data[0] fn_tmp: the temporary file name (read from $_FILES) + * $data[1] fn: the file name of the uploaded file + * $data[2] id: the future directory id of the uploaded file + * $data[3] imime: the mimetype of the uploaded file * $data[4] overwrite: if an existing file is going to be overwritten - * $data[5] move: + * $data[5] move: name of function that performs move/copy/.. * * @triggers MEDIA_UPLOAD_FINISH * * @param array $file - * @param string $id + * @param string $id media id * @param bool $ow overwrite? * @param int $auth permission level - * @param string $move function name + * @param string $move name of functions that performs move/copy/.. * @return false|array|string */ function media_save($file, $id, $ow, $auth, $move) { |