Example #1
0
 public function __call($name, $arguments)
 {
     $arguments[nooutput] = true;
     parent::__call($name, $arguments);
     $this->need_yaer_arc = $this->table->model->getNeedArc();
     //console::getInstance()->out("lss=".Auth::$lss." ".print_r($_SESSION,true));
     if ($this->table->run()) {
         if (Ajax::isAjaxRequest()) {
             return $this->table->getOutput();
         }
         $this->setOutputAssigns();
         Output::assign('menu', $this->getIndexMenu());
         Output::setContent($this->table->getOutput());
         return $this->fetch("body_base.tpl");
     }
 }