예제 #1
0
 /**
  * Display sub-categories of a category - Img of Five continents
  *
  * params object $cat Category
  * return void
  *
  * @version 1.0
  * @since 1.0
  * @access protected
  * @author Nguyen Van Hiep
  */
 protected function five_cont_img($cat)
 {
     $view = View::forge('customer/cat/am_thuc_5_chau');
     $view->cat = $cat;
     $view->childs = Model_Categories::childs($cat->id, $this->lang);
     $this->template->title = Security::strip_tags($cat->name);
     $this->template->content = $view;
 }