コード例 #1
0
 function plgCommunityPlg_RSMembership(&$subject, $config)
 {
     $this->_path = JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_rsmembership' . DS . 'helpers' . DS . 'rsmembership.php';
     $this->_user =& CFactory::getActiveProfile();
     $this->_my =& CFactory::getUser();
     parent::__construct($subject, $config);
 }
コード例 #2
0
 function plgCommunityJreviews_myfavorites(&$subject, $config)
 {
     $this->_path = JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_jreviews';
     $this->_user = CFactory::getActiveProfile();
     $this->_my = CFactory::getUser();
     parent::__construct($subject, $config);
 }
コード例 #3
0
ファイル: myarticles.php プロジェクト: Jougito/DynWeb
 function plgCommunityMyArticles($subject, $config)
 {
     parent::__construct($subject, $config);
     $this->section = trim($this->params->get('section'), ',');
     $this->_path = JPATH_ROOT . '/administrator/components/com_myblog';
     $this->db = JFactory::getDbo();
 }
コード例 #4
0
ファイル: ninjaboard.php プロジェクト: ravenlife/Ninjaboard
 function plgCommunityNinjaBoard(&$subject, $config)
 {
     $this->_user =& CFactory::getActiveProfile();
     $this->_my =& CFactory::getUser();
     $this->db = JFactory::getDBO();
     $this->_path = JPATH_ROOT . DS . 'administrator' . DS . 'components' . DS . 'com_ninjaboard';
     parent::__construct($subject, $config);
 }
コード例 #5
0
ファイル: kunena.php プロジェクト: Jougito/DynWeb
 function plgCommunityKunena(&$subject, $config)
 {
     //from Kunena v1.6.3, table prefix has been changed
     $db = JFactory::getDBO();
     $sql = 'show tables like ' . $db->Quote('%_kunena_users');
     $db->setQuery($sql);
     $userTable = $db->loadObject();
     if ($userTable) {
         $this->db_prefix = "kunena";
     }
     parent::__construct($subject, $config);
 }
コード例 #6
0
ファイル: myarticles.php プロジェクト: joshjim27/jobsglobal
 function plgCommunityMyArticles($subject, $config)
 {
     parent::__construct($subject, $config);
     $this->section = trim($this->params->get('section'), ',');
     $this->db = JFactory::getDbo();
 }
コード例 #7
0
 function plgCommunityxipt_community($subject, $params)
 {
     parent::__construct($subject, $params);
     $this->_pluginHandler = XiptFactory::getPluginHandler();
 }
コード例 #8
0
 function plgCommunityMutualFriends(&$subject, $config)
 {
     $this->_user = CFactory::getRequestUser();
     parent::__construct($subject, $config);
 }
コード例 #9
0
 function plgCommunityRaidplanner(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
コード例 #10
0
ファイル: activitycomment.php プロジェクト: bizanto/Hooked
 function plgCommunityActivityComment(&$subject, $config)
 {
     $this->_user =& CFactory::getActiveProfile();
     $this->_my =& CFactory::getUser();
     parent::__construct($subject, $config);
 }
コード例 #11
0
ファイル: kunenamenu.php プロジェクト: vuchannguyen/hoctap
 function plgCommunityKunenaMenu(&$subject, $config)
 {
     //Load Language file.
     JPlugin::loadLanguage('plg_community_kunenamenu', JPATH_ADMINISTRATOR);
     parent::__construct($subject, $config);
 }
コード例 #12
0
ファイル: jomsocial_aec.php プロジェクト: Ibrahim1/aec
 public function plgCommunityAECSubscription(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
コード例 #13
0
ファイル: wordfilter.php プロジェクト: joshjim27/jobsglobal
 function plgCommunityWordfilter(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
コード例 #14
0
ファイル: latestphoto.php プロジェクト: Jougito/DynWeb
 /**
  *
  * @param type $subject
  * @param type $config
  */
 public function plgCommunityLatestPhoto(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->db = JFactory::getDbo();
     $this->_my = CFactory::getUser();
 }
コード例 #15
0
ファイル: events.php プロジェクト: Jougito/DynWeb
 function plgCommunityEvents(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
コード例 #16
0
ファイル: mykunena.php プロジェクト: vuchannguyen/hoctap
 function plgCommunityKunenaMenu(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
コード例 #17
0
ファイル: invite.php プロジェクト: Jougito/DynWeb
 function plgCommunityInvite(&$subject, $config)
 {
     parent::__construct($subject, $config);
 }
コード例 #18
0
ファイル: myvideos.php プロジェクト: joshjim27/jobsglobal
 function plgCommunityMyVideos(&$subject, $config)
 {
     parent::__construct($subject, $config);
     $this->db = JFactory::getDbo();
     $this->_my = CFactory::getUser();
 }
コード例 #19
0
 function plgCommunityJsSurveyResponses($subject, $config)
 {
     parent::__construct($subject, $config);
 }