====== __construct ====== {#JAPI Joomla.Framework Document JDocumentRAW::__construct #} JDocumentRAW class constructor. The constructor should be invoked via the [[references:joomla.framework:document:jdocument-getinstance|JDocument::getInstance()]] method. This method sets the mime type to 'text/html' and the document type to 'raw'. ===== Syntax ===== JDocumentRAW __construct ( **$options** ) | **$options** | array | is an associative array of configuration values for the JDocument class. Please see [[references:joomla.framework:document:jdocument|JDocument]] for more information. | ===== Examples ===== A JDocumentRAW object can be created using the following: $rawDoc =& JDocument::getInstance( 'raw' ); ---- ~~DISCUSSION~~