ListStrategy Interface Reference
Detailed Description
ListStrategy defines the interface for classes that retrieve value lists.
Definition at line 19 of file ListStrategy.php.
Inheritance diagram for ListStrategy:
Public Member Functions | |
getList ($options, $language=null) | |
isStatic ($options) | |
Member Function Documentation
getList | ( | $options, | |
$language = null |
|||
) |
Get a list of key/value pairs defined by the given configuration.
- Parameters
-
$options Associative array of implementation specific configuration $language The lanugage if the values should be localized. Optional, default is Localization::getDefaultLanguage()
- Returns
- An assoziative array containing the key/value pairs
Implemented in NodeListStrategy, FileListStrategy, FixedListStrategy, ConfigListStrategy, and FunctionListStrategy.
isStatic | ( | $options | ) |
Check if the list values are static or changing.
- Parameters
-
$options Associative array of implementation specific configuration
- Returns
- Boolean
Implemented in FixedListStrategy, NodeListStrategy, FileListStrategy, ConfigListStrategy, and FunctionListStrategy.