Exemple #1
0
 public function actionView($id)
 {
     $one = MyList::getOne($id);
     return $this->render('view', ['one' => $one]);
 }
Exemple #2
0
 public function actionHello()
 {
     //        MyList::getAll();
     return $this->render('hello', ['arrayInView' => MyList::getAll()]);
 }