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