/** * Display video and subtitles list by path video/info */ public function infoAction() { $model = new Video(); $this->view = new Html(); $this->view->data = $model->getList($name = null, $limit = 10); }
/** * Display new video at path main/new-video */ public function newVideoAction() { $model = new Video(); $this->view = new Html(); $this->view->data = $model->getList($name = "magicproof", $limit = 1); }