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

Public Member Functions

 __construct (string $fieldName)
 
 equalTo (string $value)
 
 notEqualTo (string $value)
 
 lessThan (string $value)
 
 lessThanOrEqualTo (string $value)
 
 greaterThan (string $value)
 
 greaterThanOrEqualTo (string $value)
 
 between (array $value)
 
 in (array $value)
 
 notIn (array $value)
 
 like ($value)
 
 notLike ($value)
 
 isNull ()
 
 isNotNull ()
 
 writeXML (XMLWriter &$xml)
 

Data Fields

const EQUAL_TO = 'equalto'
 
const NOT_EQUAL_TO = 'notequalto'
 
const LESS_THAN = 'lessthan'
 
const LESS_THAN_OR_EQUAL_TO = 'lessthanorequalto'
 
const GREATER_THAN = 'greaterthan'
 
const GREATER_THAN_OR_EQUAL_TO = 'greaterthanorequalto'
 
const BETWEEN = 'between'
 
const IN = 'in'
 
const NOT_IN = 'notin'
 
const LIKE = 'like'
 
const NOT_LIKE = 'notlike'
 
const IS_NULL = 'isnull'
 
const IS_NOT_NULL = 'isnotnull'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $fieldName)

Filter constructor.

Parameters
string$fieldName

Member Function Documentation

◆ between()

between ( array  $value)
Parameters
string[]$value
Returns
FilterInterface
Exceptions
InvalidArgumentException

◆ equalTo()

equalTo ( string  $value)
Parameters
string$value
Returns
FilterInterface

◆ greaterThan()

greaterThan ( string  $value)
Parameters
string$value
Returns
FilterInterface

◆ greaterThanOrEqualTo()

greaterThanOrEqualTo ( string  $value)
Parameters
string$value
Returns
FilterInterface

◆ in()

in ( array  $value)
Parameters
string[]$value
Returns
FilterInterface

◆ isNotNull()

isNotNull ( )

◆ isNull()

isNull ( )

◆ lessThan()

lessThan ( string  $value)
Parameters
string$value
Returns
FilterInterface

◆ lessThanOrEqualTo()

lessThanOrEqualTo ( string  $value)
Parameters
string$value
Returns
FilterInterface

◆ like()

like (   $value)
Parameters
string$value
Returns
FilterInterface

◆ notEqualTo()

notEqualTo ( string  $value)
Parameters
string$value
Returns
FilterInterface

◆ notIn()

notIn ( array  $value)
Parameters
string[]$value
Returns
FilterInterface

◆ notLike()

notLike (   $value)
Parameters
string$value
Returns
FilterInterface

◆ writeXML()

writeXML ( XMLWriter $xml)
Parameters
XMLWriter&$xml

Implements FilterInterface.

Field Documentation

◆ BETWEEN

const BETWEEN = 'between'

◆ EQUAL_TO

const EQUAL_TO = 'equalto'

◆ GREATER_THAN

const GREATER_THAN = 'greaterthan'

◆ GREATER_THAN_OR_EQUAL_TO

const GREATER_THAN_OR_EQUAL_TO = 'greaterthanorequalto'

◆ IN

const IN = 'in'

◆ IS_NOT_NULL

const IS_NOT_NULL = 'isnotnull'

◆ IS_NULL

const IS_NULL = 'isnull'

◆ LESS_THAN

const LESS_THAN = 'lessthan'

◆ LESS_THAN_OR_EQUAL_TO

const LESS_THAN_OR_EQUAL_TO = 'lessthanorequalto'

◆ LIKE

const LIKE = 'like'

◆ NOT_EQUAL_TO

const NOT_EQUAL_TO = 'notequalto'

◆ NOT_IN

const NOT_IN = 'notin'

◆ NOT_LIKE

const NOT_LIKE = 'notlike'