From b8eeae36dc577e0d0723b1ed27789f606041dbdd Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 18 Nov 2013 17:36:35 +0000 Subject: feature 2999: Documentation of include/functions_mail|metadata|picture git-svn-id: http://piwigo.org/svn/trunk@25550 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_picture.inc.php | 49 +++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 23 deletions(-) (limited to 'include/functions_picture.inc.php') diff --git a/include/functions_picture.inc.php b/include/functions_picture.inc.php index b8247fd23..0333fe088 100644 --- a/include/functions_picture.inc.php +++ b/include/functions_picture.inc.php @@ -21,13 +21,18 @@ // | USA. | // +-----------------------------------------------------------------------+ +/** + * @package functions\picture + */ -/* - * get slideshow default params into array - * - * @param void + +/** + * Returns slideshow default params. + * - period + * - repeat + * - play * - * @return slideshow default values into array + * @return array */ function get_default_slideshow_params() { @@ -40,14 +45,13 @@ function get_default_slideshow_params() ); } -/* - * check and correct slideshow params from array - * - * @param array of params +/** + * Checks and corrects slideshow params * - * @return slideshow corrected values into array + * @param array $params + * @return array */ -function correct_slideshow_params($params = array()) +function correct_slideshow_params($params=array()) { global $conf; @@ -63,14 +67,13 @@ function correct_slideshow_params($params = array()) return $params; } -/* - * Decode slideshow string params into array +/** + * Decodes slideshow string params into array * - * @param string params like "" - * - * @return slideshow values into array + * @param string $encode_params + * @return array */ -function decode_slideshow_params($encode_params = null) +function decode_slideshow_params($encode_params=null) { global $conf; @@ -105,14 +108,13 @@ function decode_slideshow_params($encode_params = null) return correct_slideshow_params($result); } -/* - * Encode slideshow array params into array - * - * @param array params +/** + * Encodes slideshow array params into a string * - * @return slideshow values into string + * @param array $decode_params + * @return string */ -function encode_slideshow_params($decode_params = array()) +function encode_slideshow_params($decode_params=array()) { global $conf; @@ -127,4 +129,5 @@ function encode_slideshow_params($decode_params = array()) return $result; } + ?> \ No newline at end of file -- cgit v1.2.3