Back to Joomla project (class list)

Class DocumentRenderer - list of methods

Abstract class for a renderer

Extends

Direct known subclasses

Package: Joomla\CMS\Document
Copyright: (C) 2005 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Document/DocumentRenderer.php
Project: Joomla

Method Summary

public
(\Joomla\CMS\Document\Document $doc)

Class constructor
Parameters
  • \Joomla\CMS\Document\Document $doc A reference to the Document object that instantiated the renderer
Since
  • 1.7.0
Show source code of this method: __construct Source Code

public string
()

Return the content type of the renderer
Returns
  • string The contentType
Since
  • 1.7.0
Show source code of this method: getContentType Source Code

protected string
(mixed $text)

Convert links in a text from relative to absolute
Parameters
  • string $text The text processed
Returns
  • string Text with converted links
Since
  • 1.7.0
Show source code of this method: _relToAbs Source Code

Properties Summary

protected \Joomla\CMS\Document\Document
$_doc
Reference to the Document object that instantiated the renderer
Since
  • 1.7.0
protected string
$_mime
Renderer mime type
Since
  • 1.7.0

Tags Summary

Since
1.7.0