references:joomla.framework:document:jdocumenterror-__constructTable of Contents
__construct
Constructor for JDocumentError class. The constructor should be invoked via the JDocument::getInstance() method. The constructor sets the mime type to ‘text/html’ and the document type to ‘error’ and invokes the parent constructor. SyntaxJDocumentError __construct ( $options )
ExamplesA JDocumentError object can be created using the following: Example $options = array( 'direction' => 'rtl' ); $errorDoc =& JDocument::getInstance( 'error', $options ); Discussion |


