|
| __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) |
|
__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 |
( |
|
$field, |
|
|
|
$data = [] |
|
) |
| |
fetchData |
( |
|
$data = null | ) |
|
|
protected |
returns cached instance for given range_id creates new objects if needed
- Parameters
-
- Returns
- RangeConfig
getI18NIdentifier |
( |
|
$field | ) |
|
|
protected |
returns the range id
- Returns
- string
- See Also
- lib/classes/Config::getValue()
set cached instance for given range_id use for testing or to unset cached instance by passing null as second param
- Parameters
-
- See Also
- lib/classes/Config::store()
const RANGE_TYPE = 'range' |
The documentation for this class was generated from the following file: