Location: PHPKode > projects > Hazaar MVC > libhazaar-framework-1.1/libhazaar-framework/example/application/controllers/Error.php
<?

class ErrorController extends \Hazaar\Controller\Error {
    
    protected function html(){
        
        $out = new \Hazaar\Controller\Response\Layout('application');
        
        $out->addHelper('bootstrap');
        
        $out->add('error');
        
        $out->code = $this->code;
        
        $out->message = $this->errstr;
        
        return $out;
        
    }
    
}

?>
Return current item: Hazaar MVC