TimeTrex API Manual

GovernmentForms
in package

Table of Contents

$fpdi_dir  : mixed
$objs  : mixed
$tcpdf_dir  : mixed
__construct()  : mixed
addForm()  : mixed
clearForms()  : mixed
getFormObject()  : mixed
getForms()  : mixed
Output()  : mixed
serialize()  : false|string
Serializes the object to JSON for storing in the DB and later retrieval. Especially important for handling correction reports like W2C.
unserialize()  : false|string
Unserializes a JSON object into the form itself.
validateXML()  : mixed

Properties

Methods

addForm()

public addForm(mixed $obj) : mixed
Parameters
$obj : mixed
Return values
mixed

getFormObject()

public getFormObject(mixed $form[, mixed $country = null ][, mixed $province = null ][, mixed $district = null ]) : mixed
Parameters
$form : mixed
$country : mixed = null
$province : mixed = null
$district : mixed = null
Return values
mixed

Output()

public Output(mixed $type[, mixed $clear_records = true ]) : mixed
Parameters
$type : mixed
$clear_records : mixed = true
Return values
mixed

serialize()

Serializes the object to JSON for storing in the DB and later retrieval. Especially important for handling correction reports like W2C.

public serialize([mixed $clear_records = true ]) : false|string
Parameters
$clear_records : mixed = true
Return values
false|string

unserialize()

Unserializes a JSON object into the form itself.

public unserialize(mixed $data) : false|string
Parameters
$data : mixed
Return values
false|string

validateXML()

public validateXML(mixed $xml, mixed $schema_file) : mixed
Parameters
$xml : mixed
$schema_file : mixed
Return values
mixed

Search results