Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5. Some parts of this website may be subject to other licenses.

Abstract Class JDocumentRenderer

Description

Abstract class for a renderer

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

Class JObject   (Subpackage Base)

Abstract class JDocumentRenderer   (Subpackage Document)
Direct descendents
Class Description
ClassJDocumentRendererAtom JDocumentRenderer_Atom is a feed that implements the atom specification
ClassJDocumentRendererRSS JDocumentRenderer_RSS is a feed that implements RSS 2.0 Specification
ClassJDocumentRendererComponent Component renderer
ClassJDocumentRendererHead JDocument head renderer
ClassJDocumentRendererMessage JDocument system message renderer
ClassJDocumentRendererModule JDocument Module renderer
ClassJDocumentRendererModules JDocument Modules renderer
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 35)

reference to the JDocument object that instantiated the renderer

  • access: protected

Inherited Variables

Inherited from JObject

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

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 75)

Return the content type of the renderer

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

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 Tue, 29 Jan 2008 18:50:09 +0000 by phpDocumentor 1.3.1