Sage Intacct SDK for PHP
LogicalFilter Class Reference
Inheritance diagram for LogicalFilter:
FilterInterface

Public Member Functions

 getFilters ()
 
 setFilters (array $filters)
 
 getOperator ()
 
 setOperator (string $operator)
 
 getObjectName ()
 
 setObjectName (string $objectName)
 
 writeXml (XMLWriter &$xml)
 

Data Fields

const OPERATOR_AND = 'and'
 
const OPERATOR_OR = 'or'
 

Protected Attributes

 $filters = []
 
 $operator=''
 
 $objectName = ''
 

Member Function Documentation

◆ getFilters()

getFilters ( )
Returns
FilterInterface[]

◆ getObjectName()

getObjectName ( )
Returns
string

◆ getOperator()

getOperator ( )
Returns
string

◆ setFilters()

setFilters ( array  $filters)
Parameters
FilterInterface[]$filters

◆ setObjectName()

setObjectName ( string  $objectName)
Parameters
string$objectName

◆ setOperator()

setOperator ( string  $operator)
Parameters
string$operator

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the logical block XML

Parameters
XMLWriter$xml

Implements FilterInterface.

Field Documentation

◆ $filters

$filters = []
protected

◆ $objectName

$objectName = ''
protected

◆ $operator=''

$operator=''
protected

◆ OPERATOR_AND

const OPERATOR_AND = 'and'

◆ OPERATOR_OR

const OPERATOR_OR = 'or'