| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocumentRAW |
__construct |
__construct() |
Never | Work in Progress |
JDocumentRAW class constructor.
The constructor should be invoked via the JDocument::getInstance() method.
This method sets the mime type to ‘text/html’ and the document type to ‘raw’.
JDocumentRAW __construct ( $options )
| $options | array | is an associative array of configuration values for the JDocument class. Please see JDocument for more information. |
A JDocumentRAW object can be created using the following:
Example
$rawDoc =& JDocument::getInstance( 'raw' );