Property | Type | Description | |
---|---|---|---|
$userdata | Just a reference to $_SESSION, for BC purposes. |
Property | Type | Description | |
---|---|---|---|
$_config | |||
$_driver |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) : void | Class constructor | |
__get ( string $key ) : mixed | __get() | |
__isset ( string $key ) : boolean | __isset() | |
__set ( string $key, mixed $value ) : void | __set() | |
all_userdata ( ) : array | All userdata (fetch) | |
flashdata ( string $key = NULL ) : mixed | Flashdata (fetch) | |
get_flash_keys ( ) : array | Get flash keys | |
get_temp_keys ( ) : array | Get temp keys | |
get_userdata ( ) | Get userdata reference | |
has_userdata ( string $key ) : boolean | Has userdata | |
keep_flashdata ( mixed $key ) : void | Keep flashdata | |
mark_as_flash ( mixed $key ) : boolean | Mark as flash | |
mark_as_temp ( mixed $key, integer $ttl = 300 ) : boolean | Mark as temp | |
sess_destroy ( ) : void | Session destroy | |
sess_regenerate ( boolean $destroy = FALSE ) : void | Session regenerate | |
set_flashdata ( mixed $data, mixed $value = NULL ) : void | Set flashdata | |
set_tempdata ( mixed $data, mixed $value = NULL, integer $ttl = 300 ) : void | Set tempdata | |
set_userdata ( mixed $data, mixed $value = NULL ) : void | Set userdata | |
tempdata ( string $key = NULL ) : mixed | Temp data (fetch) | |
unmark_flash ( mixed $key ) : void | Unmark flash | |
unmark_temp ( mixed $key ) : void | Unmark flash | |
unset_tempdata ( $key ) : void | Unset tempdata | |
unset_userdata ( $key ) : void | Unset userdata | |
userdata ( string $key = NULL ) : mixed | Userdata (fetch) |
Method | Description | |
---|---|---|
_ci_init_vars ( ) : void | Handle temporary variables | |
_ci_load_classes ( string $driver ) : string | CI Load Classes | |
_configure ( &$params ) : void | Configuration |
public __construct ( array $params = [] ) : void | ||
$params | array | Configuration parameters |
return | void |
protected _ci_init_vars ( ) : void | ||
return | void |
protected _ci_load_classes ( string $driver ) : string | ||
$driver | string | Driver name |
return | string | Driver class name |
protected _configure ( &$params ) : void | ||
return | void |
public all_userdata ( ) : array | ||
return | array | $_SESSION, excluding flash data items |
public has_userdata ( string $key ) : boolean | ||
$key | string | Session data key |
return | boolean |
public keep_flashdata ( mixed $key ) : void | ||
$key | mixed | Session data key(s) |
return | void |
public mark_as_flash ( mixed $key ) : boolean | ||
$key | mixed | Session data key(s) |
return | boolean |
public sess_destroy ( ) : void | ||
return | void |
public sess_regenerate ( boolean $destroy = FALSE ) : void | ||
$destroy | boolean | Destroy old session data flag |
return | void |
public unmark_flash ( mixed $key ) : void | ||
$key | mixed | Session data key(s) |
return | void |
public unmark_temp ( mixed $key ) : void | ||
$key | mixed | Session data key(s) |
return | void |
public unset_tempdata ( $key ) : void | ||
return | void |
public unset_userdata ( $key ) : void | ||
return | void |