From 52a281e8549d1a9269ce7ced1336a567086962c5 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Wed, 10 Dec 2014 12:49:43 +0100 Subject: Some PHPDocs media and admin plugin --- inc/media.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'inc') 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) { -- cgit v1.2.3