diff options
Diffstat (limited to 'include/functions_picture.inc.php')
-rw-r--r-- | include/functions_picture.inc.php | 49 |
1 files changed, 26 insertions, 23 deletions
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 |