RendererInterface
Rendering interface.
| since |
2.0.0 |
|---|---|
| package |
Joomla Framework |
Methods
getRenderer
Get the rendering engine
getRenderer() : mixed
| since |
2.0.0 |
|---|
Response
mixed
pathExists
Checks if folder, folder alias, template or template path exists
pathExists(string path) : bool
| since |
2.0.0 |
|---|
Arguments
- path
stringFull path or part of a path
Response
boolTrue if the path exists
render
Render and return compiled data.
render(string template, array data = []) : string
| since |
2.0.0 |
|---|
Arguments
- template
stringThe template file name- data
arrayThe data to pass to the template
Response
stringCompiled data
set
Sets a piece of data
set(string key, string value) : $this
| since |
2.0.0 |
|---|
Arguments
- key
stringName of variable- value
stringValue of variable
Response
$this
setData
Loads data from array into the renderer
setData(array data) : $this
| since |
2.0.0 |
|---|
Arguments
- data
arrayArray of variables
Response
$this
unsetData
Unloads data from renderer
unsetData() : $this
| since |
2.0.0 |
|---|
Response
$this