Sage Intacct SDK for PHP
AbstractSelectFunction Class Reference
Inheritance diagram for AbstractSelectFunction:
SelectInterface Average Count Maximum Minimum Sum

Public Member Functions

 __construct (string $field)
 
 getFunctionName ()
 
 writeXML (XMLWriter &$xml)
 
 writeXML (XMLWriter &$xml)
 

Data Fields

const AVERAGE = 'avg'
 
const MINIMUM = 'min'
 
const MAXIMUM = 'max'
 
const COUNT = 'count'
 
const SUM = 'sum'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $field)

AbstractSelectFunction constructor.

Parameters
string$field

Member Function Documentation

◆ getFunctionName()

getFunctionName ( )
abstract
Returns
string

Reimplemented in Average, Count, Maximum, Minimum, and Sum.

◆ writeXML()

writeXML ( XMLWriter $xml)
Parameters
XMLWriter&$xml

Implements SelectInterface.

Field Documentation

◆ AVERAGE

const AVERAGE = 'avg'

◆ COUNT

const COUNT = 'count'

◆ MAXIMUM

const MAXIMUM = 'max'

◆ MINIMUM

const MINIMUM = 'min'

◆ SUM

const SUM = 'sum'