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

Public Member Functions

 getFieldName ()
 
 setFieldName (string $fieldName)
 
 getOperator ()
 
 setOperator (string $operator)
 
 getValue ()
 
 setValue ($value)
 
 getObjectName ()
 
 setObjectName (string $objectName)
 
 writeXml (XMLWriter &$xml)
 

Data Fields

const OPERATOR_EQUAL_TO = '='
 
const OPERATOR_NOT_EQUAL_TO = '!='
 
const OPERATOR_LESS_THAN = '<'
 
const OPERATOR_LESS_THAN_OR_EQUAL_TO = '<='
 
const OPERATOR_GREATER_THAN = '>'
 
const OPERATOR_GREATER_THAN_OR_EQUAL_TO = '>='
 
const OPERATOR_LIKE = 'like'
 
const OPERATOR_NOT_LIKE = 'not like'
 
const OPERATOR_IS_NULL = 'is null'
 

Protected Attributes

 $fieldName = ''
 
 $operator=''
 
 $value = ''
 
 $objectName = ''
 

Member Function Documentation

◆ getFieldName()

getFieldName ( )
Returns
string

◆ getObjectName()

getObjectName ( )
Returns
string

◆ getOperator()

getOperator ( )
Returns
string

◆ getValue()

getValue ( )
Returns
mixed

◆ setFieldName()

setFieldName ( string  $fieldName)
Parameters
string$fieldName

◆ setObjectName()

setObjectName ( string  $objectName)
Parameters
string$objectName

◆ setOperator()

setOperator ( string  $operator)
Parameters
string$operator

◆ setValue()

setValue (   $value)
Parameters
mixed$value

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the expression block XML

Parameters
XMLWriter$xml

Implements FilterInterface.

Field Documentation

◆ $fieldName

$fieldName = ''
protected

◆ $objectName

$objectName = ''
protected

◆ $operator=''

$operator=''
protected

◆ $value

$value = ''
protected

◆ OPERATOR_EQUAL_TO

const OPERATOR_EQUAL_TO = '='

◆ OPERATOR_GREATER_THAN

const OPERATOR_GREATER_THAN = '>'

◆ OPERATOR_GREATER_THAN_OR_EQUAL_TO

const OPERATOR_GREATER_THAN_OR_EQUAL_TO = '>='

◆ OPERATOR_IS_NULL

const OPERATOR_IS_NULL = 'is null'

◆ OPERATOR_LESS_THAN

const OPERATOR_LESS_THAN = '<'

◆ OPERATOR_LESS_THAN_OR_EQUAL_TO

const OPERATOR_LESS_THAN_OR_EQUAL_TO = '<='

◆ OPERATOR_LIKE

const OPERATOR_LIKE = 'like'

◆ OPERATOR_NOT_EQUAL_TO

const OPERATOR_NOT_EQUAL_TO = '!='

◆ OPERATOR_NOT_LIKE

const OPERATOR_NOT_LIKE = 'not like'