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"}
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 35 of file FixedListStrategy.php.

+ Inheritance diagram for FixedListStrategy:

Public Member Functions

 getList ($options, $valuePattern=null, $key=null, $language=null)
 
 isStatic ($options)
 

Member Function Documentation

◆ getList()

getList (   $options,
  $valuePattern = null,
  $key = null,
  $language = null 
)
See also
ListStrategy::getList $options is an associative array with keys 'items'

Implements ListStrategy.

Definition at line 41 of file FixedListStrategy.php.

◆ isStatic()

isStatic (   $options)
See also
ListStrategy::isStatic

Implements ListStrategy.

Definition at line 74 of file FixedListStrategy.php.