예제 #1
0
파일: site.php 프로젝트: xig/SocialFeed
 public function index()
 {
     $this->theme = Theme::instance();
     parent::index();
     $feeds = ORM::factory('external_feed')->find_all();
     $this->feeds = $feeds;
     $content = $this->_render_boxes();
     $this->__set_options(array('content' => $content, 'feeds' => $this->feeds, 'theme' => $this->theme, 'profile_links' => $this->_render_profiles()));
 }
예제 #2
0
 public function __display_event($event)
 {
     $this->template = 'templates/event_detail';
     parent::__construct();
     $this->__set_options(array("seoTitle" => $event->title . " - Events", "extraCSS" => "", "extraJS" => "", "extraHead" => "", "event" => $event, "attendees" => $event->users));
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
 }