eZPublish  4.5
ezpContentCriteria Class Reference

Public Member Functions

 __construct ()
 
 __toString ()
 Human readable string representation of the criteria, for debugging purpose. More...
 

Static Public Member Functions

static __callStatic ($method, $arguments)
 Static method magic method Handles requests for custom criteria. More...
 
static contentClass ()
 Creates a content class criteria. More...
 
static custom ($method, $arguments)
 Custom criteria factory. More...
 
static depth ($depth=1)
 Creates a depth criteria. More...
 
static field ($fieldIdentifier)
 Creates a field criteria. More...
 
static limit ()
 Creates a limit criteria. More...
 
static location ()
 Creates a location criteria. More...
 
static sorting ($sortKey, $sortOrder)
 Creates a sorting criteria. More...
 

Public Attributes

 $accept
 
 $deny
 

Constructor & Destructor Documentation

ezpContentCriteria::__construct ( )

Member Function Documentation

static ezpContentCriteria::__callStatic (   $method,
  $arguments 
)
static

Static method magic method Handles requests for custom criteria.

Parameters
string$methodCustom criteria name
array$argumentsCustom criteria arguments
ezpContentCriteria::__toString ( )

Human readable string representation of the criteria, for debugging purpose.

static ezpContentCriteria::contentClass ( )
static

Creates a content class criteria.

Returns
ezpContentClassCriteria
static ezpContentCriteria::custom (   $method,
  $arguments 
)
static

Custom criteria factory.

Note
This is a PHP < 5.3 replacement for __callStatic. Use the static call if you use PHP 5.3+
Parameters
string$method
Returns
ezpContentCriteriaInterface
static ezpContentCriteria::depth (   $depth = 1)
static

Creates a depth criteria.

Parameters
int$depthThe maximum level of depth that should be explored (1 by default)
static ezpContentCriteria::field (   $fieldIdentifier)
static

Creates a field criteria.

Parameters
mixed$fieldIdentifier
Returns
ezpContentFieldCriteria
static ezpContentCriteria::limit ( )
static

Creates a limit criteria.

Returns
ezpContentLimitCriteria
static ezpContentCriteria::location ( )
static

Creates a location criteria.

Returns
ezpContentLocationCriteria

Referenced by ezpRestAtomController\doCollection().

static ezpContentCriteria::sorting (   $sortKey,
  $sortOrder 
)
static

Creates a sorting criteria.

Parameters
string$sortKeyThe sort key. Only non-attribute keys are supported (see http://goo.gl/xvJMM)
Returns
ezpContentSortingCriteria

Member Data Documentation

ezpContentCriteria::$accept
ezpContentCriteria::$deny

The documentation for this class was generated from the following file: