Sage Intacct SDK for PHP
AbstractOperator Class Reference
Inheritance diagram for AbstractOperator:
FilterInterface AndOperator OrOperator

Public Member Functions

 __construct ($filters)
 
 addFilter (FilterInterface $filter)
 
 getOperator ()
 
 writeXML (XMLWriter &$xml)
 

Data Fields

const OR = 'or'
 
const AND = 'and'
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $filters)

AbstractOperator constructor.

Parameters
FilterInterface[] | null$filters

Member Function Documentation

◆ addFilter()

addFilter ( FilterInterface  $filter)
Parameters
FilterInterface$filter
Returns
FilterInterface

◆ getOperator()

getOperator ( )
abstract
Returns
string

Reimplemented in OrOperator, and AndOperator.

◆ writeXML()

writeXML ( XMLWriter $xml)
Parameters
XMLWriter&$xml
Exceptions
IntacctException

Implements FilterInterface.

Field Documentation

◆ AND

const AND = 'and'

◆ OR

const OR = 'or'