public function getHtml(DataObject
$obj,
[array
$variables = NULL,
[string
$template = NULL]] )
Parameters
$obj
—
object
The base DataObject for your pdf
$variables
—
array
Array with customisation for your data.
$template
—
string
If submitted the name of the template used to generate the html. If not, the script will look for a template based on your DataObject class e.g. Trainer_pdf