Exemple #1
0
 /**
  * Display video list at index action by path video
  */
 public function indexAction()
 {
     $model = new Video();
     $this->view = new Html();
     $this->view->data = $model->getVideoList($limit = 5);
 }
Exemple #2
0
 /**
  * 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);
 }