Method | Description | |
---|---|---|
__construct ( ) | The constructor will store the instance in the reference, preset some settings and map the custom modifiers. | |
addGlobal ( string $name, mixed $value ) | Adds a global variable to the template | |
getContent ( string $template ) : string | Fetch the parsed content from this template. | |
getPath ( string $template ) : string | Convert a filename extension | |
render ( string $template, array $variables = [] ) : string |
Method | Description | |
---|---|---|
getFormTemplates ( string $fileName ) : array | ||
getLoadingFolders ( ) : array |
public __construct ( ) |
public getContent ( string $template ) : string | ||
$template | string | The location of the template file, used to display this template. |
return | string | The actual parsed content after executing this template. |