2 require_once(
'./Services/WebAccessChecker/interfaces/interface.ilWACCookieInterface.php');
31 public function set($name, $value =
"", $expire = 0,
$path =
"", $domain =
"", $secure =
false, $httponly =
false) {
32 static::$expires[$name] = $expire;
33 static::$values[$name] = $value;
42 public function get($name) {
43 if (!$this->
exists($name)) {
47 return static::$values[$name];
56 if (!isset(static::$expires[$name]) || (static::$expires[$name] !== 0 && static::$expires[$name] <=
time())) {
60 return isset(static::$values[$name]);
69 foreach (self::$values as $key => $value) {
71 $return[$key] = $value;
79 public static function clear() {
80 self::$expires =
array();
81 self::$values =
array();
Class ilWACCookieInterface.
Create styles array
The data for the language used.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.