JViewHtml

Extends \JViewBase

Joomla Platform HTML View Class

abstract deprecated
since

3.0.0

deprecated

5.0 Use the default MVC library

package

Joomla.Platform

Methods

__construct

Method to instantiate the view.

__construct(\JModel $model) 
inherited
since

3.0.0

Arguments

$model

\JModelThe model object.

__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
inherited
see \JView::escape()
since

3.0.0

Arguments

$output

stringThe output to escape.

Response

stringThe escaped output.

getLayout

Method to get the view layout.

getLayout() : string
since

3.0.0

Response

stringThe layout name.

getPath

Method to get the layout path.

getPath(string $layout) : mixed
since

3.0.0

Arguments

$layout

stringThe layout name.

Response

mixedThe layout file name if found, false otherwise.

getPaths

Method to get the view paths.

getPaths() : \SplPriorityQueue
since

3.0.0

Response

\SplPriorityQueueThe paths queue.

loadPaths

Method to load the paths queue.

loadPaths() : \SplPriorityQueue
since

3.0.0

Response

\SplPriorityQueueThe paths queue.

render

Method to render the view.

render() : string
since

3.0.0

throws

\RuntimeException

Response

stringThe rendered view.

setLayout

Method to set the view layout.

setLayout(string $layout) : \JViewHtml
since

3.0.0

Arguments

$layout

stringThe layout name.

Response

\JViewHtmlMethod supports chaining.

setPaths

Method to set the view paths.

setPaths(\SplPriorityQueue $paths) : \JViewHtml
since

3.0.0

Arguments

$paths

\SplPriorityQueueThe paths queue.

Response

\JViewHtmlMethod 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

model

The model object.

inherited
since

3.0.0

Type(s)

\JModel