FixedListStrategy Class Reference
Detailed Description
FixedListStrategy implements a constant list of key/value pairs.
Configuration examples:
// list with only values (the keys will be the same as the values)
{"type":"fix","items":["val1","val2"]}
// list with explicit key/value pairs
{"type":"fix","items":{"key1":"val1","key2":"val2"}}
// list with key/value pairs defined in a global variable
{"type":"fix","items":"$global_array_variable"}
Definition at line 34 of file FixedListStrategy.php.
Inheritance diagram for FixedListStrategy:
Public Member Functions | |
getList ($options, $language=null) | |
isStatic ($options) | |
Member Function Documentation
getList | ( | $options, | |
$language = null |
|||
) |
- See also
- ListStrategy::getList $options is an associative array with keys 'items'
Implements ListStrategy.
Definition at line 40 of file FixedListStrategy.php.
isStatic | ( | $options | ) |
- See also
- ListStrategy::isStatic
Implements ListStrategy.
Definition at line 70 of file FixedListStrategy.php.