Protected Member Functions |
| | fetchData ($data=null) |
Constructor & Destructor Documentation
| __construct |
( |
|
$user_id = null, |
|
|
|
$data = null |
|
) |
| |
passing null as first param is for compatibility and should be considered deprecated. passing data array as second param only for testing
- Parameters
-
| string | $user_id | |
| array | $data | |
Member Function Documentation
- See Also
- lib/classes/Config::delete()
Reimplemented from Config.
| fetchData |
( |
|
$data = null | ) |
|
|
protected |
- See Also
- lib/classes/Config::fetchData()
Reimplemented from Config.
returns cached instance for given user_id creates new objects if needed
- Parameters
-
- Returns
- UserConfig
returns the user id
- Returns
- string
old style usage with $user_id, $key as params still works but is deprecated
- See Also
- lib/classes/Config::getValue()
Reimplemented from Config.
| static set |
( |
|
$user_id, |
|
|
|
$my_instance |
|
) |
| |
|
static |
set cached instance for given user_id use for testing or to unset cached instance by passing null as second param
- Parameters
-
kept for compatibility, should be private
- Deprecated:
- Parameters
-
| setValue |
( |
|
$field, |
|
|
|
$value |
|
) |
| |
old style usage with $value, $user_id, $key as params still works but is deprecated
- See Also
- lib/classes/Config::setValue()
Reimplemented from Config.
- See Also
- lib/classes/Config::store()
Reimplemented from Config.
old style usage with $user_id, $key as params still works but is deprecated
- Parameters
-
- Returns
- bool
The documentation for this class was generated from the following file: