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