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())); }
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)); }
public function __construct() { parent::__construct(); }