Back to RawDocument class

Method __construct

public
__construct
(mixed $options = array())
Class constructor
Parameters
  • array $options Associative array of options
Since
  • 1.7.0
Class: RawDocument
Project: Joomla

Method __construct - Source code

/**
 * Class constructor
 *
 * @param   array  $options  Associative array of options
 *
 * @since   1.7.0
 */
public function __construct($options = array())
{
    parent::__construct($options);
    // Set mime type
    $this->_mime = 'text/html';
    // Set document type
    $this->_type = 'raw';
}