예제 #1
0
 /**
  * @Get("/index")
  */
 public function indexAction()
 {
     $this->logger->log('Call index action of admin module');
     //        $user = User::FindFirst();
     $sign = Sign::FindFirst();
     $user = $sign->user;
     $this->view->setVar('user', $user);
     $this->dispatcher->forward(array("controller" => "index", "action" => "test"));
     //        $this->view->disable();
     //        $this->view->cache(
     //            array(
     //                "lifetime" => 86400,
     //                "key"      => "resume-cache",
     //            )
     //        );
 }