コード例 #1
0
 public function index(\Base $f3, $params)
 {
     $this->response->addTitle($f3->get('LN__AdminMenu_Home'));
     $f3->set('title_h1', $f3->get('LN__AdminMenu_Home'));
     switch ($this->moduleInit(@$params['module'])) {
         case "manual":
             $this->buffer(\View\Base::stub());
             break;
         case "custompages":
             $this->custompages($f3, $params);
             break;
         case "news":
             $this->news($f3, $params);
             break;
         case "modules":
             $this->buffer(\View\Base::stub());
             break;
         case "shoutbox":
             $this->shoutbox($f3, $params);
             break;
         case "home":
             $this->home($f3);
             break;
         default:
             $this->buffer(\Template::instance()->render('access.html'));
     }
 }
コード例 #2
0
 protected function team(\Base $f3)
 {
     $team = $this->model->listTeam();
     print_r($team);
     $this->buffer(\View\Base::stub());
 }
コード例 #3
0
 protected function characters(\Base $f3, $params, $feedback)
 {
     $this->buffer(\View\Base::stub());
 }
コード例 #4
0
 protected function home(\Base $f3)
 {
     $this->buffer(\View\Base::stub());
 }
コード例 #5
0
ファイル: usercp.php プロジェクト: eFiction/v5_1-vaporware
 public function profile(\Base $f3, $params)
 {
     $this->response->addTitle($f3->get('LN__UserMenu_Profile'));
     $this->buffer(\View\Base::stub("profile"));
     $this->showMenu("profile");
 }