|
| __construct ($range_id=null, $data=null) |
|
| getRangeId () |
|
| getValue ($field) |
|
| unsetValue ($field) |
|
| store ($field, $value) |
|
| create ($field, $data=[]) |
|
| delete ($field) |
|
| __construct ($data=null) |
|
| getFields ($range=null, $section=null, $name=null) |
|
| getMetadata ($field) |
|
| getValue ($field) |
|
| setValue ($field, $value) |
|
| getIterator () |
|
| __get ($field) |
|
| __set ($field, $value) |
|
| __isset ($field) |
|
| offsetExists ($offset) |
|
| offsetGet ($offset) |
|
| offsetSet ($offset, $value) |
|
| offsetUnset ($offset) |
|
| count () |
|
| store ($field, $data) |
|
| create ($field, $data=[]) |
|
| delete ($field) |
|
| convertFromDatabase ($type, $value, $field) |
|
| convertForDatabase ($type, $value, $field) |
|
| fromEnv (string $field) |
|
◆ __construct()
__construct |
( |
|
$range_id = null , |
|
|
|
$data = null |
|
) |
| |
|
final |
passing null as first param is for compatibility and should be considered deprecated. passing data array as second param only for testing
- Parameters
-
string | $range_id | |
array | $data | |
◆ create()
create |
( |
|
$field, |
|
|
|
$data = [] |
|
) |
| |
◆ delete()
◆ fetchData()
fetchData |
( |
|
$data = null | ) |
|
|
protected |
◆ get()
returns cached instance for given range_id creates new objects if needed
- Parameters
-
- Returns
- RangeConfig
◆ getI18NIdentifier()
getI18NIdentifier |
( |
|
$field | ) |
|
|
protected |
◆ getRangeId()
returns the range id
- Returns
- string
◆ getValue()
- See also
- lib/classes/Config::getValue()
◆ set()
set cached instance for given range_id use for testing or to unset cached instance by passing null as second param
- Parameters
-
◆ store()
- See also
- lib/classes/Config::store()
◆ unsetValue()
◆ $instances
◆ RANGE_TYPE
const RANGE_TYPE = 'range' |
The documentation for this class was generated from the following file: