Users_AppUser Class
Class representing 'AppUser' rows in the 'Users' database You can create an object of this class either to access its non-static methods, or to actually represent a app_user row in the Users database.
Item Index
Methods
__set_state
(
Users_AppUser
-
$array
Implements the __set_state method, so it can work with with var_export and be re-imported successfully.
Parameters:
-
$array
Array
Returns:
Users_AppUser:
Class instance
clearAllExtras
()
clearExtra
(
-
$extraName
Parameters:
-
$extraName
StringThe name of the extra to remove
getAllExtras
()
Array
Returns:
Array:
The array of all extras set in the stream
getExtra
(
Mixed
-
$extraName
-
$default
Parameters:
-
$extraName
StringThe name of the extra to get
-
$default
MixedThe value to return if the extra is missing
Returns:
Mixed:
The value of the extra, or the default value, or null
setExtra
(
-
$extraName
-
$value
Parameters:
-
$extraName
StringThe name of the extra to set, or an array of $extraName => $extraValue pairs
-
$value
MixedThe value to set the extra to
Returns:
Users_AppUser
setUp
()
The setUp() method is called the first time an object of this class is constructed.