Class JDocumentRenderer

Description

Abstract class for a renderer

  • since: 11.1

Located in /libraries/joomla/document/renderer.php (line 19)


	
			
Direct descendents
Class Description
 class JDocumentRendererAtom JDocumentRenderer_Atom is a feed that implements the atom specification
 class JDocumentRendererRSS JDocumentRenderer_RSS is a feed that implements RSS 2.0 Specification
 class JDocumentRendererComponent Component renderer
 class JDocumentRendererHead JDocument head renderer
 class JDocumentRendererMessage JDocument system message renderer
 class JDocumentRendererModule JDocument Module renderer
 class JDocumentRendererModules JDocument Modules renderer
Variable Summary
Method Summary
 JDocumentRenderer __construct (JDocument $doc)
 string getContentType ()
 string render (string $name, [array $params = null], [string $content = null])
Variables
JDocument $_doc = null (line 27)

Reference to the JDocument object that instantiated the renderer

  • since: 11.1
  • access: protected
string $_mime = "text/html" (line 35)

Renderer mime type

  • since: 11.1
  • access: protected

Redefined in descendants as:
Methods
Constructor __construct (line 44)

Class constructor

  • since: 11.1
  • access: public
JDocumentRenderer __construct (JDocument $doc)
  • JDocument $doc: A reference to the JDocument object that instantiated the renderer
getContentType (line 71)

Return the content type of the renderer

  • return: The contentType
  • since: 11.1
  • access: public
string getContentType ()
render (line 60)

Renders a script and returns the results as a string

  • return: The output of the script
  • since: 11.1
  • access: public
string render (string $name, [array $params = null], [string $content = null])
  • string $name: The name of the element to render
  • array $params: Array of values
  • string $content: Override the output of the renderer

Redefined in descendants as:

Documentation generated on Tue, 19 Nov 2013 15:11:48 +0100 by phpDocumentor 1.4.3