HTMLRegistryAwareTrait

Defines the trait for a HTML Registry aware class.

since

4.0.0

Methods

getRegistry

Get the registry.

getRegistry() : \Joomla\CMS\HTML\Registry
since

4.0.0

throws

\UnexpectedValueExceptionMay be thrown if the registry has not been set.

Response

\Joomla\CMS\HTML\Registry

setRegistry

Set the registry to use.

setRegistry(\Joomla\CMS\HTML\Registry $registry = null) : void
since

4.0.0

Arguments

$registry

\Joomla\CMS\HTML\RegistryThe registry

Properties

registry

The registry

since

4.0.0

Type(s)

\Joomla\CMS\HTML\Registry