FunctionListStrategy Class Reference

Detailed Description

FunctionListStrategy implements a list of key/value pairs that is retrieved by a global function.

Configuration examples:

// key/value pairs provided by global function g_getListValues
{"type":"function","name":"g_getListValues"}
// key/value pairs provided by global function g_getListValues with parameters
{"type":"function","name":"g_getListValues","params":["param1","param2"]}
// key/value pairs provided by static method getValues in class ListValueProvider
{"type":"function","name":"name\\\\space\\\\ListValueProvider::getValues"}
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 36 of file FunctionListStrategy.php.

+ Inheritance diagram for FunctionListStrategy:

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 'name' and 'params' (optional)

Implements ListStrategy.

Definition at line 42 of file FunctionListStrategy.php.

◆ isStatic()

isStatic (   $options)
See also
ListStrategy::isStatic

Implements ListStrategy.

Definition at line 78 of file FunctionListStrategy.php.