JHtmlContent

Utility class to fire onContentPrepare for non-article based content.

abstract
since

1.5

package

Joomla.Libraries

Methods

months

Returns an array of months.

months(\Registry $state) : array
static
since

3.9.0

Arguments

$state

\RegistryThe state object.

Response

array

prepare

Fire onContentPrepare for content that isn't part of an article.

prepare(string $text, array $params = null, string $context = 'text') : string
static
since

1.5

Arguments

$text

stringThe content to be transformed.

$params

arrayThe content params.

$context

stringThe context of the content to be transformed.

Response

stringThe content after transformation.