Property | Type | Description | |
---|---|---|---|
$do_autoload | |||
$is_array_option | |||
$key | |||
$option |
Method | Description | |
---|---|---|
__construct ( $is_array_option = true, $do_autoload = false ) | ||
delete ( string $option = '' ) : boolean | Handles deleting the stored data for a connection. | |
get ( string $option = 'all', string $key = '', boolean $force = false ) : mixed | Retrieve stored option | |
get_key ( ) | Get option key | |
set ( $options = null ) : Result | Update the stored value | |
set_key ( $key ) | Set option key | |
update ( mixed $value, string $option = '', string $key = '', boolean $set = true ) : Original | Update the options array |
Method | Description | |
---|---|---|
add_db ( ) | ||
delete_from_db ( ) | ||
delete_partial ( mixed $option ) : boolean | Handles unsetting part of the option array. | |
get_from_db ( ) | ||
update_db ( ) |
protected delete_partial ( mixed $option ) : boolean | ||
$option | mixed | Array key or array of array keys to unset. |
return | boolean | Whether partial delete was successful. |
public set ( $options = null ) : Result | ||
return | Result | of storage update/add |