public function __construct($options = array()) { parent::__construct($options); // Set mime type $this->_mime = 'application/json'; // Set document type $this->_type = 'json'; }
public function __construct($options = array()) { parent::__construct($options); // Set mime type $this->_mime = 'text/html'; // Set document type $this->_type = 'error'; }
public function __construct($options = array()) { parent::__construct($options); // Set document type $this->_type = 'html'; // Set default mime type and document metadata (meta data syncs with mime type by default) $this->setMimeEncoding('text/html'); }
public function __construct($options = array()) { parent::__construct($options); $this->_mime = 'application/xml'; $this->_type = 'xml'; }