Class

ezpContentFieldCriteria

class ezpContentFieldCriteria implements ezpContentCriteriaInterface

This class is used to instantiate and manipulate a field value content criteria.

Methods

__construct($fieldIdentifier)

ezpContentFieldCriteria like(string $string)

Adds a 'like' parameter to the criteria.

ezpContentFieldCriteria startsWith(string $string)

Filter content on the value a string starts with

ezpContentFieldCriteria endsWith(string $string)

Filter content on the value a string ends with

array translate()

Return the criteria as a value usable by eZContentObjectTreeNode Temporary method that needs to be refactored

__toString()

Details

at line 18
public __construct($fieldIdentifier)

Parameters

$fieldIdentifier

at line 30
public ezpContentFieldCriteria like(string $string)

Adds a 'like' parameter to the criteria.

Parameters

string $string

Return Value

ezpContentFieldCriteria

at line 42
public ezpContentFieldCriteria startsWith(string $string)

Filter content on the value a string starts with

Parameters

string $string String the content has to start with

Return Value

ezpContentFieldCriteria

at line 54
public ezpContentFieldCriteria endsWith(string $string)

Filter content on the value a string ends with

Parameters

string $string String the content has to end with

Return Value

ezpContentFieldCriteria

at line 59
public array translate()

Return the criteria as a value usable by eZContentObjectTreeNode Temporary method that needs to be refactored

Return Value

array

at line 61
public __toString()