Variables component (dynamic configuration).
More...
|
| | getItems () |
| |
| | _get ($key) |
| | Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
| |
| | _set ($key, $value) |
| | Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
| |
| | init () |
| |
| | done () |
| |
| | getSession () |
| |
| | publish ($property, $visibility=self::READABLE) |
| | Publish a property (or hide it again). More...
|
| |
| | alias ($alias, $property, $object=null) |
| | Define an alias for a property (of another object). More...
|
| |
| | configure ($config) |
| | Configure the object. More...
|
| |
Variables component (dynamic configuration).
Definition at line 8 of file Vars.php.
◆ _get()
Default getter if no specific setter is defined, and the property is also not published (readable).
- Parameters
-
| string | $key | Name of the property. |
- Returns
- mixed Value.
Reimplemented from Thing.
Definition at line 88 of file Vars.php.
◆ _set()
Default setter if no specific setter is defined, and the property is also not published (writeable).
- Parameters
-
| string | $key | Name of the property. |
| mixed | $value | Value for the property. |
Reimplemented from Thing.
Definition at line 92 of file Vars.php.
◆ add()
| add |
( |
|
$key, |
|
|
|
$value, |
|
|
|
$start = null |
|
) |
| |
Add a value.
- Parameters
-
| string | $key | |
| mixed | $value | |
| int | $start | Time from when on the value is to be used (null = now). |
- Returns
- bool True on success.
Definition at line 37 of file Vars.php.
◆ categories()
All categories.
- Returns
- array Key = category, value = needed right for editing.
Definition at line 60 of file Vars.php.
◆ getItems()
◆ items()
All config items for a category.
- Parameters
-
- Returns
- array Key = item key, value = edit mask (reg-exp or widget params).
Definition at line 72 of file Vars.php.
◆ value()
| value |
( |
|
$key, |
|
|
|
$time = null |
|
) |
| |
Retrieve a value.
- Parameters
-
| string | $key | |
| string | $time | Time for historic value (empty = current). |
- Returns
- mixed Value (false = not found).
Definition at line 22 of file Vars.php.
◆ $_filename
◆ $_items
◆ $lockItem
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Vars.php