interface TemplateReferenceInterface
Interface to be implemented by all templates.
Methods
| array |
all()
Gets the template parameters. |
|
| TemplateReferenceInterface |
set(string $name, string $value)
Sets a template parameter. |
|
| string |
get(string $name)
Gets a template parameter. |
|
| string |
getPath()
Returns the path to the template. |
|
| string |
getLogicalName()
Returns the "logical" template name. |
Details
at line 30
public array
all()
Gets the template parameters.
at line 44
public TemplateReferenceInterface
set(string $name, string $value)
Sets a template parameter.
at line 57
public string
get(string $name)
Gets a template parameter.
at line 68
public string
getPath()
Returns the path to the template.
By default, it just returns the template name.
at line 79
public string
getLogicalName()
Returns the "logical" template name.
The template name acts as a unique identifier for the template.