JHtmlContent

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

abstract
package

Joomla.Platform

subpackage

HTML

since

11.1

Methods

prepare

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

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

11.1

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.