public static function isValidView($type) { return Oops_Server_View::_getViewClass($type) !== false ? true : false; }
/** * Output processing class instantiation (view or presentation factory) * Uses $this->_extension (from ParseURI) to choose a view class. */ protected function _initView() { $this->_view = Oops_Server_View::getInstance($this->_extension); if (!is_object($this->_view)) { // suggested view is not available $this->_response->setCode(415); } }