JViewHtml
Extends \JViewBaseJoomla Platform HTML View Class
since |
3.0.0 |
---|---|
deprecated |
4.0 Use the default MVC library |
package |
Joomla.Platform |
Methods
__construct
Method to instantiate the view.
__construct(\JModel $model)
__toString
Magic toString method that is a proxy for the render method.
__toString() : string
since |
3.0.0 |
---|
Response
string
escape
Method to escape output.
escape(string $output) : string
see | \JView::escape() |
---|---|
since |
3.0.0 |
Arguments
- $output
string
The output to escape.
Response
string
The escaped output.
getLayout
Method to get the view layout.
getLayout() : string
since |
3.0.0 |
---|
Response
string
The layout name.
getPath
Method to get the layout path.
getPath(string $layout) : mixed
since |
3.0.0 |
---|
Arguments
- $layout
string
The layout name.
Response
mixed
The layout file name if found, false otherwise.
getPaths
Method to get the view paths.
getPaths() : \SplPriorityQueue
since |
3.0.0 |
---|
Response
\SplPriorityQueue
The paths queue.
loadPaths
Method to load the paths queue.
loadPaths() : \SplPriorityQueue
since |
3.0.0 |
---|
Response
\SplPriorityQueue
The paths queue.
render
Method to render the view.
render() : string
since |
3.0.0 |
---|---|
throws |
|
Response
string
The rendered view.
setLayout
Method to set the view layout.
setLayout(string $layout) : \JViewHtml
setPaths
Method to set the view paths.
setPaths(\SplPriorityQueue $paths) : \JViewHtml
since |
3.0.0 |
---|
Arguments
- $paths
\SplPriorityQueue
The paths queue.
Response
\JViewHtml
Method supports chaining.
Properties
layout
The view layout.
since |
3.0.0 |
---|
Type(s)
string
paths
The paths queue.
since |
3.0.0 |
---|
Type(s)
\SplPriorityQueue