$tpl_path
$tpl_path : string
Class template
Template class
assign( $needle, $replace, boolean $attach_before = false, boolean $optional = false) : boolean
Assign template variables
Replace template variables with the placeholders.
| $needle | Placeholder set in template. |
|
| $replace | Variable to replace placeholder. |
|
| boolean | $attach_before | |
| boolean | $optional |