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

Base class for combinator filter objects. More...

Inheritance diagram for AfsBaseCombinatorFilter:
AfsAndCombinatorFilter AfsOrCombinatorFilter

Public Member Functions

 __construct ($left, $comb_str)
 Constructs new instance of AfsBaseCombinatorFilter.
 filter ($id)
 Creates new filter as the right operand of current combinator.
 group ($element)
 Creates new group as the right operand of current combinator.
 to_string ()
 Retrieves string representation of current instance.

Detailed Description

Base class for combinator filter objects.

Constructor & Destructor Documentation

__construct (   $left,
  $comb_str 
)

Constructs new instance of AfsBaseCombinatorFilter.

Parameters
$left[in] AfsFilter or AfsGroupFilter object to combine with provided operator.
$comb_str[in] String representation of the operator (recognized by AFS search engine).

Member Function Documentation

filter (   $id)

Creates new filter as the right operand of current combinator.

Parameters
$id[in] Filter identifier.
Returns
newly created filter.
group (   $element)

Creates new group as the right operand of current combinator.

Parameters
$element[in] Element initialization of the group.
Returns
newly created group.
to_string ( )

Retrieves string representation of current instance.

Returns
string representation.