Ejemplo n.º 1
0
 public function get_index()
 {
     $manager = new StoryManager();
     $resData['SideStory'] = $manager->get_side_list();
     $resData['Highlight'] = $manager->get_highlight_list();
     $resData['Slider'] = $manager->get_slider_list();
     $resData['Events'] = array();
     $resData['LecturerNews'] = array();
     $resData['ListStory'] = $manager->get_list(0);
     $this->template->__yield__ = View::forge('home', $this->formatData($resData));
 }