TemplateFile::get()
Get a set property from the template file, typically to check if a template has access to a given variable
Usage
$mixed = $templateFile->get(string $key);
Arguments
Name | Type(s) | Description |
---|---|---|
$key | string |
Return value
mixed
Returns the value of the requested property, or NULL if it doesn't exist
TemplateFile methods and properties
API reference based on ProcessWire core version 3.0.252