Sage Intacct SDK for PHP
|
Public Member Functions | |
startElement ($name) | |
writeElement ($name, $content=null, $writeNull=false) | |
writeElementDate ($name, $date=null, $format=self::IA_DATE_FORMAT, $writeNull=false) | |
writeElementDateTime ($name, $date=null, $format=self::IA_DATETIME_FORMAT, $writeNull=false) | |
writeDateSplitElements (\DateTime $date, $writeNull=true) | |
writeAttribute ($name, $value, $writeNull=true) | |
Data Fields | |
const | IA_DATE_FORMAT = 'm/d/Y' |
const | IA_DATETIME_FORMAT = 'm/d/Y H:i:s' |
const | IA_MULTI_SELECT_GLUE = '#~#' |
Protected Member Functions | |
isValidXmlName (string $name) | |
|
protected |
string | $name |
startElement | ( | $name | ) |
writeAttribute | ( | $name, | |
$value, | |||
$writeNull = true |
|||
) |
Write full attribute
string | $name | |
string | $value | |
bool | $writeNull |
writeDateSplitElements | ( | \DateTime | $date, |
$writeNull = true |
|||
) |
Write full element date tags
\DateTime | $date | |
bool | $writeNull |
writeElement | ( | $name, | |
$content = null , |
|||
$writeNull = false |
|||
) |
Write full element tag
string | $name | |
mixed | $content | |
bool | $writeNull |
writeElementDate | ( | $name, | |
$date = null , |
|||
$format = self::IA_DATE_FORMAT , |
|||
$writeNull = false |
|||
) |
writeElementDateTime | ( | $name, | |
$date = null , |
|||
$format = self::IA_DATETIME_FORMAT , |
|||
$writeNull = false |
|||
) |
const IA_DATE_FORMAT = 'm/d/Y' |
const IA_DATETIME_FORMAT = 'm/d/Y H:i:s' |
const IA_MULTI_SELECT_GLUE = '#~#' |