Class flSessionData
flSessionData Class
Class to hold session data for a namespace data.
-
flSessionData
implements
Countable
Package: fusionLib
Copyright:
Copyright (c) 2008 - 2015 fusionLib. All rights reserved.
Located at system/libs/Session/flSession.php
Methods summary
public
mixed
|
#
__get( string $name )
Capture requests for data that isn't present.
Capture requests for data that isn't present.
Parameters
- $name
- The name of the variable to get.
Returns
mixed The value.
Throws
|
public
mixed
|
#
get( string $name, mixed $default = null )
Get the value from the session data or the default if not set.
Get the value from the session data or the default if not set.
Parameters
- $name
- The name of the variable to get.
- $default
- The default value.
Returns
mixed The value or if not set the default.
|
public
integer
|
#
count( )
Return the count of the variables/values held.
Return the count of the variables/values held.
Returns
integer The number of variables/values held.
Implementation of
Countable::count()
|