コード例 #1
0
ファイル: DefaultController.php プロジェクト: ufm040/kikala
 /**
  * Page d'accueil
  */
 public function home()
 {
     $newFormation = new \Manager\FormationManager();
     $countFormation = $newFormation->countFormations();
     $newUser = new \Manager\UserManager();
     $countKikologue = $newUser->countKikologue();
     $this->show('default/home', ['nbrFormation' => $countFormation['nbrFormation'], 'nbrKikologue' => $countKikologue['nbrKikologue']]);
 }