Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

Abstract Class JDocumentRenderer

Description

Abstract class for a renderer

  • since: 1.5
  • abstract:

Located in /joomla/document/renderer.php (line 26)

Class JObject   (Subpackage Base)

Abstract class JDocumentRenderer   (Subpackage Document)
Direct descendents
Class Description
ClassJDocumentRendererModules JDocument Modules renderer
ClassJDocumentRendererMessage JDocument system message renderer
ClassJDocumentRendererComponent Component renderer
ClassJDocumentRendererHead JDocument head renderer
ClassJDocumentRendererModule JDocument Module renderer
ClassJDocumentRendererAtom JDocumentRenderer_Atom is a feed that implements the atom specification
ClassJDocumentRendererRSS JDocumentRenderer_RSS is a feed that implements RSS 2.0 Specification
Variable Summary
Variable object $_doc
Method Summary
Constructor JDocumentRenderer __construct (object A &$doc)
Method string getContentType ()
Abstract method string render (string $name, [ $params = array()], [string $content = null], array $array)
Variables
object $_doc = null (line 34)

reference to the JDocument object that instantiated the renderer

  • access: protected

Inherited Variables

Inherited from JObject

Variable JObject::$_errors
Methods
Constructor __construct (line 50)

Class constructor

  • access: protected
JDocumentRenderer __construct (object A &$doc)
  • object A &$doc: reference to the JDocument object that instantiated the renderer

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.
getContentType (line 74)

Return the content type of the renderer

  • return: The contentType
string getContentType ()
render (line 64)

Renders a script and returns the results as a string

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

Redefined in descendants as:

Inherited Methods

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()

Documentation generated on Sat, 14 Nov 2009 11:18:27 +0000 by phpDocumentor 1.3.1