Changeset 25548 for trunk/include/functions_cookie.inc.php
- Timestamp:
- Nov 18, 2013, 11:02:17 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_cookie.inc.php
r19703 r25548 22 22 // +-----------------------------------------------------------------------+ 23 23 24 // cookie_path returns the path to use for the Piwigo cookie. 25 // If Piwigo is installed on : 26 // http://domain.org/meeting/gallery/category.php 27 // cookie_path will return : "/meeting/gallery" 24 /** 25 * @package functions\cookie 26 */ 27 28 29 /** 30 * Returns the path to use for the Piwigo cookie. 31 * If Piwigo is installed on : 32 * http://domain.org/meeting/gallery/ 33 * it will return : "/meeting/gallery" 34 * 35 * @return string 36 */ 28 37 function cookie_path() 29 38 { … … 84 93 85 94 /** 86 * persistently stores a variable in pwg cookie 87 * @return boolean true on success 88 * @see pwg_get_cookie_var 95 * Persistently stores a variable in pwg cookie. 96 * Set $value to null to delete the cookie. 97 * 98 * @param string $car 99 * @param mixed $value 100 * @param int|null $expire 101 * @return bool 89 102 */ 90 103 function pwg_set_cookie_var($var, $value, $expire=null) … … 105 118 106 119 /** 107 * retrieves the value of a persistent variable in pwg cookie 120 * Retrieves the value of a persistent variable in pwg cookie 121 * @see pwg_set_cookie_var 122 * 123 * @param string $var 124 * @param mixed $default 108 125 * @return mixed 109 * @see pwg_set_cookie_var110 126 */ 111 127 function pwg_get_cookie_var($var, $default = null)
Note: See TracChangeset
for help on using the changeset viewer.