function __construct($options = array()) { parent::__construct($options); //set document type //$this->_type = 'feed'; JError::raiseError (404, JText::_('Resource Not Found')); }