Stud.IP
4.2 Revision
|
Functions | |
getTemplateVariables ($variables=[]) | |
getTemplateLayout () | |
getTemplate ($name, array $variables=[]) | |
render (array $variables=[]) | |
__toString () | |
Variables | |
trait | Renderable |
__toString | ( | ) |
Magic method for converting the object into a string. Invokes the render method of this object.
|
protected |
Returns a template from the defined factory.
string | $name | Template name |
array | $variables | Optional template variables |
Exception | when no factory has been set |
|
protected |
Returns the layout for this renderable's template. Return null if no layout should be used.
|
abstractprotected |
Returns neccessary variables to render the element template.
array | $variables | Optional additional variables |
render | ( | array | $variables = [] | ) |
Renders this renderable.
array | $variables | Optional additional variables |
trait Renderable |
Generic trait for renderable objects.