public function __construct($id, $type) { parent::__construct($id, $type); $team = EB::table('TeamBlog'); $team->load($id); $this->team = $team; }
public function __construct($id) { parent::__construct($id, 'group'); if (!EB::easysocial()->exists()) { return; } $this->group = FD::group($id); }
public function __construct($id, $type) { parent::__construct($id, $type); JTable::addIncludePath(JPATH_ROOT . '/components/com_community/tables'); $group = JTable::getInstance('Group', 'CTable'); $group->load($id); $this->group = $group; }
public function __construct($id, $type) { parent::__construct($id, 'event'); if (!EB::easysocial()->exists()) { return; } $this->event = FD::event($id); }
public function __construct($id, $type) { parent::__construct($id, $type); JTable::addIncludePath(JPATH_ROOT . '/components/com_community/tables'); $event = JTable::getInstance('Event', 'CTable'); $event->load($id); $this->event = $event; }
public function __construct($id, $type) { parent::__construct($id, $type); $exists = EB::jomsocial()->exists(); if (!$exists) { return; } JTable::addIncludePath(JPATH_ROOT . '/components/com_community/tables'); $event = JTable::getInstance('Event', 'CTable'); $event->load($id); $this->event = $event; }