- Class name: CookieCore
- Source: classes/Cookie.php line 27
- __construct
- __destruct
- __get
- __isset
- __set
- __unset
- _setcookie
- disallowWriting
- exists
- getDomain
- getFamily
- getName
- isLogged
- isLoggedBack
- logout
- makeNewLog
- mylogout
- setExpire
- unsetFamily
- update
- write
protected mixed $_allow_writing
- Visibility: protected
- Source: classes/Cookie.php line 55.
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 array $_iv
- Visibility: protected
- Source: classes/Cookie.php line 51.
protected array $_key
- Visibility: protected
- Source: classes/Cookie.php line 48.
protected mixed $_modified = false
- Visibility: protected
- Source: classes/Cookie.php line 53.
protected array $_name
- Visibility: protected
- Source: classes/Cookie.php line 33.
protected array $_path
- Visibility: protected
- Source: classes/Cookie.php line 42.
mixed CookieCore::__construct($name, $path, $expire, $shared_urls)
Get data if the cookie exists and else initialize an new one
- Visibility: public
- Source: classes/Cookie.php line 63
- $name mixed - Cookie name before encrypting
- $path mixed
- $expire mixed
- $shared_urls mixed
mixed CookieCore::__destruct()
- Visibility: public
- Source: classes/Cookie.php line 326
string CookieCore::__get($key)
Magic method wich return cookie data from _content array
- Visibility: public
- Source: classes/Cookie.php line 138
- $key mixed - key wanted
boolean CookieCore::__isset($key)
Magic method which check if key exists in the cookie
- Visibility: public
- Source: classes/Cookie.php line 149
- $key mixed - key wanted
mixed CookieCore::__set($key, $value)
Magic method wich add data into _content array
- Visibility: public
- Source: classes/Cookie.php line 160
- $key mixed - key desired
- $value mixed - value corresponding to the key
mixed CookieCore::__unset($key)
Magic method wich delete data into _content array
- Visibility: public
- Source: classes/Cookie.php line 176
- $key mixed - key wanted
mixed CookieCore::_setcookie($cookie)
Setcookie according to php version
- Visibility: protected
- Source: classes/Cookie.php line 308
- $cookie mixed
mixed CookieCore::disallowWriting()
- Visibility: public
- Source: classes/Cookie.php line 84
boolean CookieCore::exists()
Check if the cookie exists
- Visibility: public
- Source: classes/Cookie.php line 391
mixed CookieCore::getDomain($shared_urls)
- Visibility: protected
- Source: classes/Cookie.php line 89
- $shared_urls mixed
mixed CookieCore::getFamily($origin)
Get a family of variables (e.g. "filter_")
- Visibility: public
- Source: classes/Cookie.php line 356
- $origin mixed
String CookieCore::getName()
- Visibility: public
- Source: classes/Cookie.php line 380
boolean CookieCore::isLogged($withGuest)
Check customer informations saved into cookie and return customer validity
- Visibility: public
- Source: classes/Cookie.php line 189
- $withGuest mixed
boolean CookieCore::isLoggedBack()
Check employee informations saved into cookie and return employee validity
- Visibility: public
- Source: classes/Cookie.php line 207
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 222
mixed CookieCore::makeNewLog()
- Visibility: public
- Source: classes/Cookie.php line 253
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 235
mixed CookieCore::setExpire(integer $expire)
Set expiration date
- Visibility: public
- Source: classes/Cookie.php line 127
- $expire integer - Expiration time from now
mixed CookieCore::unsetFamily($origin)
- Visibility: public
- Source: classes/Cookie.php line 370
- $origin mixed
mixed CookieCore::update($nullValues)
Get cookie content
- Visibility: public
- Source: classes/Cookie.php line 264
- $nullValues mixed
mixed CookieCore::write()
Save cookie with setcookie()
- Visibility: public
- Source: classes/Cookie.php line 334