Ignore:
Timestamp:
Nov 18, 2013, 11:02:17 AM (11 years ago)
Author:
mistic100
Message:

feature 2999: documentation of functions\comment|cookie|filter|html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_cookie.inc.php

    r19703 r25548  
    2222// +-----------------------------------------------------------------------+
    2323
    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 */
    2837function cookie_path()
    2938{
     
    8493
    8594/**
    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
    89102 */
    90103function pwg_set_cookie_var($var, $value, $expire=null)
     
    105118
    106119/**
    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
    108125 * @return mixed
    109  * @see pwg_set_cookie_var
    110126 */
    111127function pwg_get_cookie_var($var, $default = null)
Note: See TracChangeset for help on using the changeset viewer.