Ejemplo n.º 1
0
 public function __construct($id, $type)
 {
     parent::__construct($id, $type);
     $team = EB::table('TeamBlog');
     $team->load($id);
     $this->team = $team;
 }
Ejemplo n.º 2
0
 public function __construct($id)
 {
     parent::__construct($id, 'group');
     if (!EB::easysocial()->exists()) {
         return;
     }
     $this->group = FD::group($id);
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public function __construct($id, $type)
 {
     parent::__construct($id, 'event');
     if (!EB::easysocial()->exists()) {
         return;
     }
     $this->event = FD::event($id);
 }
Ejemplo n.º 5
0
 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;
 }
Ejemplo n.º 6
0
 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;
 }