4 * Class Article typically controls static pages.
5 * Their content depends on the language.
7 * The page views are located in "application/views/article/$language/$method".
10 * @author Călin-Andrei Burloiu
12 class Article extends Article_Controller {
14 public function __construct()
16 parent::__construct();
19 public function _remap($method, $params = array())
21 parent::_remap($method, $params);
27 $html_params = array('title' => $this->title.' - '
28 . $this->config->item('site_name'),
32 array('description'=>$this->metaDescription)
34 $this->load->library('html_head_params', $html_params);
39 $this->load->view('html_begin', $this->html_head_params);
40 $this->load->view('header', array('selected_menu' => $method));
42 $main_params['content'] = $this->_load($method, $params);
43 $main_params['side'] = $this->load->view('side_default.php', NULL, TRUE);
44 $this->load->view('main', $main_params);
46 $this->load->view('footer');
47 $this->load->view('html_end');
51 /* End of file article.php */
52 /* Location: ./application/controllers/article.php */