DocumentRenderer

Implements \Joomla\CMS\Document\RendererInterface

Abstract class for a renderer

abstract
since

1.7.0

Methods

__construct

Class constructor

__construct(\Joomla\CMS\Document\Document $doc) 
since

1.7.0

Arguments

$doc

\Joomla\CMS\Document\DocumentA reference to the Document object that instantiated the renderer

_relToAbs

Convert links in a text from relative to absolute

_relToAbs(string $text) : string
since

1.7.0

Arguments

$text

stringThe text processed

Response

stringText with converted links

getContentType

Return the content type of the renderer

getContentType() : string
since

1.7.0

Response

stringThe contentType

Properties

_doc

Reference to the Document object that instantiated the renderer

since

1.7.0

Type(s)

\Joomla\CMS\Document\Document

_mime

Renderer mime type

since

1.7.0

Type(s)

string