Set a file to append to the template file at render time
Usage
$bool = $templateFile->setAppendFilename(string $filename);
Arguments
Name | Type(s) | Description |
---|---|---|
filename | string |
Return value
bool
Returns true on success false if file doesn't exist.
Exceptions
Method can throw exceptions on error:
WireException
- if file doesn't exist (unless throwExceptions is disabled)
TemplateFile methods and properties
API reference based on ProcessWire core version 3.0.244