Ejemplo n.º 1
0
 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()));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
 }