Sage Intacct SDK for PHP
ReadByQuery Class Reference
Inheritance diagram for ReadByQuery:
AbstractFunction FunctionInterface

Public Member Functions

 getObjectName ()
 
 setObjectName (string $objectName)
 
 getFields ()
 
 setFields (array $fields)
 
 getQuery ()
 
 setQuery (QueryInterface $query)
 
 getPageSize ()
 
 setPageSize (int $pageSize)
 
 getDocParId ()
 
 setDocParId (string $docParId)
 
 writeXml (XMLWriter &$xml)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 

Data Fields

const MIN_PAGE_SIZE = 1
 
const MAX_PAGE_SIZE = 1000
 

Additional Inherited Members

- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getDocParId()

getDocParId ( )
Returns
string

◆ getFields()

getFields ( )
Returns
array

◆ getObjectName()

getObjectName ( )
Returns
string

◆ getPageSize()

getPageSize ( )
Returns
int

◆ getQuery()

getQuery ( )
Returns
QueryInterface

◆ setDocParId()

setDocParId ( string  $docParId)
Parameters
string$docParId

◆ setFields()

setFields ( array  $fields)
Parameters
array$fields

◆ setObjectName()

setObjectName ( string  $objectName)
Parameters
string$objectName

◆ setPageSize()

setPageSize ( int  $pageSize)
Parameters
int$pageSize

◆ setQuery()

setQuery ( QueryInterface  $query)
Parameters
QueryInterface$query

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the readByQuery block XML

Parameters
XMLWriter$xml

Reimplemented from AbstractFunction.

Field Documentation

◆ MAX_PAGE_SIZE

const MAX_PAGE_SIZE = 1000

◆ MIN_PAGE_SIZE

const MIN_PAGE_SIZE = 1