Joomla HtmlView

It is a base class for a Joomla View. It is a class holding methods for displaying presentation data.

1

It is a method to get the view name. The model name by default parsed using the classname, or it can be set by passing a $config['name'] in the class constructor.

Read More
2

It is a method to get data from a registered model or a property of the view.

Read More
3

The function escapes a value for output in a view script. The ENT_COMPAT flag will be replaced by ENT_QUOTES in Joomla 4.0 to also escape single quotes.

Read More
4

It is a method to add a model to the view. Joomla supports a multiple-model single view system by which models are referenced by classname. A caveat to the classname referencing is that any classname prepended by \JModel will be referenced by the name without \JModel. For example, \JModelCategory is just Category.

Read More
5

This method is used to get the model object.

Read More
6

The function sets the document title according to global configuration options.

Read More
7

The function executes and displays a template script.

Read More
8

The function loads a template file. It first looks in the templates folder for an override.

Read More