- Class name: CookieCore
- Source: classes/Cookie.php line 27
- $_allow_writing
- $_cipherTool
- $_content
- $_domain
- $_expire
- $_modified
- $_name
- $_path
- $_salt
- $_secure
- $_standalone
- __construct
- __destruct
- __get
- __isset
- __set
- __unset
- _setcookie
- disallowWriting
- exists
- getAll
- getDomain
- getFamily
- getName
- isLogged
- isLoggedBack
- logout
- makeNewLog
- mylogout
- setExpire
- unsetFamily
- update
- write
protected mixed $_allow_writing
- Visibility: protected
- Source: classes/Cookie.php line 49.
protected array $_cipherTool
- Visibility: protected
- Source: classes/Cookie.php line 45.
protected array $_content
- Visibility: protected
- Source: classes/Cookie.php line 30.
protected array $_domain
- Visibility: protected
- Source: classes/Cookie.php line 39.
protected array $_expire
- Visibility: protected
- Source: classes/Cookie.php line 36.
protected mixed $_modified = false
- Visibility: protected
- Source: classes/Cookie.php line 47.
protected array $_name
- Visibility: protected
- Source: classes/Cookie.php line 33.
protected array $_path
- Visibility: protected
- Source: classes/Cookie.php line 42.
protected mixed $_salt
- Visibility: protected
- Source: classes/Cookie.php line 51.
protected mixed $_secure = false
- Visibility: protected
- Source: classes/Cookie.php line 55.
protected mixed $_standalone
- Visibility: protected
- Source: classes/Cookie.php line 53.
mixed CookieCore::__construct($name, $path, $expire, $shared_urls, $standalone, $secure)
Get data if the cookie exists and else initialize an new one
- Visibility: public
- Source: classes/Cookie.php line 63
- $name mixed - string Cookie name before encrypting
- $path mixed - string
- $expire mixed
- $shared_urls mixed
- $standalone mixed
- $secure mixed
mixed CookieCore::__destruct()
- Visibility: public
- Source: classes/Cookie.php line 337
string CookieCore::__get(string $key)
Magic method wich return cookie data from _content array
- Visibility: public
- Source: classes/Cookie.php line 142
- $key string - key wanted
boolean CookieCore::__isset(string $key)
Magic method which check if key exists in the cookie
- Visibility: public
- Source: classes/Cookie.php line 153
- $key string - key wanted
mixed CookieCore::__set(string $key, $value)
Magic method wich add data into _content array
- Visibility: public
- Source: classes/Cookie.php line 164
- $key string - key desired
- $value mixed - value corresponding to the key
mixed CookieCore::__unset(string $key)
Magic method wich delete data into _content array
- Visibility: public
- Source: classes/Cookie.php line 180
- $key string - key wanted
mixed CookieCore::_setcookie($cookie)
Setcookie according to php version
- Visibility: protected
- Source: classes/Cookie.php line 319
- $cookie mixed
mixed CookieCore::disallowWriting()
- Visibility: public
- Source: classes/Cookie.php line 88
boolean CookieCore::exists()
Check if the cookie exists
- Visibility: public
- Source: classes/Cookie.php line 407
mixed CookieCore::getAll()
- Visibility: public
- Source: classes/Cookie.php line 388
mixed CookieCore::getDomain($shared_urls)
- Visibility: protected
- Source: classes/Cookie.php line 93
- $shared_urls mixed
mixed CookieCore::getFamily($origin)
Get a family of variables (e.g. "filter_")
- Visibility: public
- Source: classes/Cookie.php line 367
- $origin mixed
String CookieCore::getName()
- Visibility: public
- Source: classes/Cookie.php line 396
boolean CookieCore::isLogged($withGuest)
Check customer informations saved into cookie and return customer validity
- Visibility: public
- Source: classes/Cookie.php line 193
- $withGuest mixed
boolean CookieCore::isLoggedBack()
Check employee informations saved into cookie and return employee validity
- Visibility: public
- Source: classes/Cookie.php line 211
mixed CookieCore::logout()
Delete cookie As of version 1.5 don't call this function, use Customer::logout() or Employee::logout() instead;
- Visibility: public
- Source: classes/Cookie.php line 226
mixed CookieCore::makeNewLog()
- Visibility: public
- Source: classes/Cookie.php line 257
mixed CookieCore::mylogout()
Soft logout, delete everything links to the customer but leave there affiliate's informations.
As of version 1.5 don't call this function, use Customer::mylogout() instead;
- Visibility: public
- Source: classes/Cookie.php line 239
mixed CookieCore::setExpire(integer $expire)
Set expiration date
- Visibility: public
- Source: classes/Cookie.php line 131
- $expire integer - Expiration time from now
mixed CookieCore::unsetFamily($origin)
- Visibility: public
- Source: classes/Cookie.php line 381
- $origin mixed
mixed CookieCore::update($nullValues)
Get cookie content
- Visibility: public
- Source: classes/Cookie.php line 268
- $nullValues mixed
mixed CookieCore::write()
Save cookie with setcookie()
- Visibility: public
- Source: classes/Cookie.php line 345