Пример #1
0
 public function __construct($id, $type)
 {
     parent::__construct($id, $type);
     $team = EB::table('TeamBlog');
     $team->load($id);
     $this->team = $team;
 }
Пример #2
0
 public function __construct($id)
 {
     parent::__construct($id, 'group');
     if (!EB::easysocial()->exists()) {
         return;
     }
     $this->group = FD::group($id);
 }
Пример #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;
 }
Пример #4
0
 public function __construct($id, $type)
 {
     parent::__construct($id, 'event');
     if (!EB::easysocial()->exists()) {
         return;
     }
     $this->event = FD::event($id);
 }
Пример #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;
 }
Пример #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;
 }