template->place -- Paint a template to a page
bool template->place ( int template, int page, float left, float bottom[, array fields] )
This method is used to paint an instanance of a predefined template to a page.
template
must be a valid template ID.
page
must be a valid page ID.
left
and bottom
specify where the lower left corner of the
template will be located.
fields
is an array specifying values to be place in fields created by
template->field()
. If omitted, default values are used for all fields.
true
is returned if template placement occurred without errors. If
false
is returned, use one of the error methods to check the message
stack. Unlike other paragraph placement methods, false
is returned if
text overflows an ifield.
This function was added in version 2.2.