setStorage(new Zend_Auth_Storage_Session('auth')); } protected function _initDocType(){ $this->bootstrap('View'); $view = $this->getResource('View'); $view->doctype('XHTML1_STRICT'); } function _initViewHelpers() { $this->bootstrap('layout'); $layout = $this->getResource('layout'); $view = $layout->getView(); $view->doctype('XHTML1_STRICT'); $view->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8'); $view->headLink()->appendStylesheet('/media/css/style.css'); $view->headTitle('pbsĀ²') ->setSeparator(' :: '); } } function print_a(){ $numargs = func_num_args(); if($numargs>1){ $out = ''; ob_start(); echo "
"; for($a=0;$a<$numargs;$a++) print_a(func_get_arg($a)); echo "
"; $out .= ob_get_contents(); ob_end_clean(); echo $out; }else{ echo "
";
            $a = func_get_arg(0);
            $a = (is_bool($a))?(($a)?'true':'false'):$a;
            print_r($a);
        echo "
"; } }