site initialized; basic catalog lists videos
[living-lab-site.git] / application / controllers / catalog.php
1 <?php
2
3 /**
4  * Class Catalog controlls video hierarchy and searching
5  *
6  * @category    Controller
7  * @author              Călin-Andrei Burloiu
8  */
9 class Catalog extends CI_Controller {
10         
11         public function index()
12         {
13                 $this->load->view('html_begin');
14                 $this->load->view('header');
15                 
16                 $this->load->model('videos_model');
17                 $data['query'] = $this->videos_model->getVideosSummary();
18                 $this->load->view('catalog/index_view', $data);
19                 
20                 
21                 $this->load->view('footer');
22                 $this->load->view('html_end');
23         }
24 }
25
26 /* End of file catalog.php */
27 /* Location: ./application/controllers/catalog.php */