|
Previous Page |
Solar_Session |
Next Page |
get()
public
mixed
get (
string $key,
mixed $val default NULL
)
Gets a normal value by key, or an alternative default value if the key does not exist.
Parameters
- (string)
$key: The data key. - (mixed)
$val: If key does not exist, returns this value instead. Default null.
Returns
- (mixed) The value.
Description
Gets a normal value by key, or an alternative default value if the key does not exist.