Antidot PHP API  version 0.16.0
##PHP API to simplify integration of Antidot components
 All Classes Files Functions Variables Groups Pages
Static Public Member Functions | List of all members
AfsCombinatorFactory Class Reference

Factory class to create combinator filter objects. More...

Static Public Member Functions

static create ($name, $left)
 Creates new combinator filter objects.

Detailed Description

Factory class to create combinator filter objects.

Member Function Documentation

static create (   $name,
  $left 
)
static

Creates new combinator filter objects.

Parameters
$name[in] Name of the combinator. Allowed names are:
  • and: to and-combine elements,
  • or: to or-combine elements.
$left[in] AfsFilter or AfsGroupFilter object.
Returns
newly created instance of combinator filter object.
Exceptions
AfsUnknownCombinatorExceptionwhen required combinator does not exist.