ValueListProvider.php
34 * @param $valuePattern A regular expression pattern that the returned values should match (optional)
36 * @param $language The language if the values should be localized (optional, default: Localization::getDefaultLanguage())
64 foreach($strategy->getList($decodedDefinition, $valuePattern, $key, $language) as $key => $value) {
75 * Translate a value with use of it's assoziated input type e.g. get the location string from a location id.
78 * @param $inputType The description of the control as given in the 'input_type' property of a value
StringUtil provides support for string manipulation.
Definition: StringUtil.php:18
static getListStrategy($listType)
Get the ListStrategy instance for a given list type.
Definition: ValueListProvider.php:124
ConfigurationException signals an exception in the configuration.
Definition: ConfigurationException.php:18
ValueListProvider provides lists of key/values to be used with list input controls.
Definition: ValueListProvider.php:23
static getItemValue($list, $key)
Get the value of the item with the given key.
Definition: ValueListProvider.php:149
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
static getList($definition, $valuePattern=null, $key=null, $language=null)
Get a list of key/value pairs defined by the given configuration.
Definition: ValueListProvider.php:40
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
static translateValue($value, $inputType, $language=null, $itemDelim=", ")
Translate a value with use of it's assoziated input type e.g.
Definition: ValueListProvider.php:84