Detailed Description

NodeListStrategy implements a list of entities that is retrieved from the store, where the keys are the object ids and the values are the display values.

Configuration examples:

// list all authors
// list all authors and books
// list all authors with name starting with A (see StringQuery)
{"type":"node","types":["Author"],"query":" LIKE 'A%'"}
ingo herwig

Definition at line 41 of file NodeListStrategy.php.

+ Inheritance diagram for NodeListStrategy:

Public Member Functions

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

Public Attributes

const CACHE_SECTION = 'nodeliststrategy'

Protected Attributes

 $cache = null

Constructor & Destructor Documentation

◆ __construct()

__construct ( Cache  $dynamicCache)


$dynamicCacheCache instance

Definition at line 51 of file NodeListStrategy.php.

Member Function Documentation

◆ getList()

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

Implements ListStrategy.

Definition at line 59 of file NodeListStrategy.php.

◆ isStatic()

isStatic (   $options)
See also

Implements ListStrategy.

Definition at line 125 of file NodeListStrategy.php.

Member Data Documentation


const CACHE_SECTION = 'nodeliststrategy'

Definition at line 43 of file NodeListStrategy.php.

◆ $cache

$cache = null

Definition at line 45 of file NodeListStrategy.php.