Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JDocumentError

Description

DocumentError class, provides an easy interface to parse and display an error page

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

Class JObject   (Subpackage Base)

Abstract class JDocument
   
   Class JDocumentError   (Subpackage Document)
Variable Summary
Variable object $_error
Method Summary
Constructor JDocumentError __construct ([ $options = array()], string $type, array $attributes)
Method void render ([boolean $cache = false], [array $params = array()])
Method void renderBacktrace ()
Method boolean setError (object $error)
Method string _loadTemplate ( $directory, string $filename, string $template)
Methods
Constructor __construct (line 41)

Class constructor

  • access: protected
JDocumentError __construct ([ $options = array()], string $type, array $attributes)
  • string $type: (either html or tex)
  • array $attributes: Associative array of attributes
  • $options

Redefinition of:
JDocument::__construct()
Class constructor
render (line 77)

Render the document

  • access: public
void render ([boolean $cache = false], [array $params = array()])
  • boolean $cache: If true, cache the output
  • array $params: Associative array of attributes

Redefinition of:
JDocument::render()
Outputs the document
renderBacktrace (line 153)
void renderBacktrace ()
setError (line 60)

Set error object

  • return: True on success
  • since: 1.5
  • access: public
boolean setError (object $error)
  • object $error: Error object to set
_loadTemplate (line 133)

Load a template file

  • return: The contents of the template
string _loadTemplate ( $directory, string $filename, string $template)
  • string $template: The name of the template
  • string $filename: The actual filename
  • $directory

Inherited Methods

Inherited From JDocument

 JDocument::__construct()
 JDocument::addScript()
 JDocument::addScriptDeclaration()
 JDocument::addStyleDeclaration()
 JDocument::addStyleSheet()
 JDocument::getBuffer()
 JDocument::getCharset()
 JDocument::getDescription()
 JDocument::getDirection()
 JDocument::getGenerator()
 JDocument::getHeadData()
 JDocument::getInstance()
 JDocument::getLanguage()
 JDocument::getLink()
 JDocument::getMetaData()
 JDocument::getModifiedDate()
 JDocument::getTitle()
 JDocument::getType()
 JDocument::loadRenderer()
 JDocument::render()
 JDocument::setBuffer()
 JDocument::setCharset()
 JDocument::setDescription()
 JDocument::setDirection()
 JDocument::setGenerator()
 JDocument::setHeadData()
 JDocument::setLanguage()
 JDocument::setLineEnd()
 JDocument::setLink()
 JDocument::setMetaData()
 JDocument::setMimeEncoding()
 JDocument::setModifiedDate()
 JDocument::setTab()
 JDocument::setTitle()

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 20:57:54 +0000 by phpDocumentor 1.3.1