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
{"type":"node","types":["Author"]}
// list all authors and books
{"type":"node","types":["Author","Book"]}
// list all authors with name starting with A (see StringQuery)
{"type":"node","types":["Author"],"query":"Author.name LIKE 'A%'"}
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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 ( Cache  $dynamicCache)

Constructor.

Parameters
$dynamicCacheCache instance

Definition at line 51 of file NodeListStrategy.php.

Member Function Documentation

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 (   $options)
See also
ListStrategy::isStatic

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 = null
protected

Definition at line 45 of file NodeListStrategy.php.