コード例 #1
0
 public function __construct($aObject)
 {
     parent::__construct();
     $this->_aObject = $aObject;
     $this->_sTable = $aObject['table'];
     $this->_sType = $aObject['type'];
 }
コード例 #2
0
 function __construct(&$aSystem)
 {
     $this->_aSystem =& $aSystem;
     $this->_sTable = $this->_aSystem['table_cmts'];
     $this->_sTableTrack = $this->_aSystem['table_track'];
     parent::__construct();
 }
コード例 #3
0
 public function __construct()
 {
     if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
         trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
     }
     parent::__construct();
 }
コード例 #4
0
ファイル: BxDolModuleDb.php プロジェクト: toxalot/dolphin.pro
 function __construct($oConfig = null)
 {
     parent::__construct();
     if (is_a($oConfig, 'BxDolConfig')) {
         $this->_sPrefix = $oConfig->getDbPrefix();
     }
 }
コード例 #5
0
 public function __construct($aObject, $bUseQueue = false)
 {
     parent::__construct();
     $this->_aObject = $aObject;
     $this->_sTableQueue = $bUseQueue ? self::TABLE_QUEUE : '';
     $this->_sTableFiles = '`sys_transcoder_images_files`';
     $this->_sTableFilters = '`sys_transcoder_filters`';
     $this->_sHandlerPrefix = 'sys_image_transcoder_';
 }
コード例 #6
0
 public function __construct(&$oModule)
 {
     parent::__construct();
     $this->_oModule = $oModule;
     $aSystem = $this->_oModule->getSystemInfo();
     $this->_sTableTrack = $aSystem['table_track'];
     $this->_sTriggerTable = $aSystem['trigger_table'];
     $this->_sTriggerFieldId = $aSystem['trigger_field_id'];
     $this->_sTriggerFieldCount = $aSystem['trigger_field_count'];
     $this->_iPeriod = (int) $aSystem['period'];
 }
コード例 #7
0
 function __construct(&$oMain)
 {
     $this->_oMain = $oMain;
     $aSystem = $this->_oMain->getSystemInfo();
     $this->_sTable = $aSystem['table'];
     $this->_sTriggerTable = $aSystem['trigger_table'];
     $this->_sTriggerFieldId = $aSystem['trigger_field_id'];
     $this->_sTriggerFieldTitle = $aSystem['trigger_field_title'];
     $this->_sTriggerFieldComments = $aSystem['trigger_field_comments'];
     $this->_sTableImages = $aSystem['table_images'];
     $this->_sTableImages2Entries = $aSystem['table_images2entries'];
     parent::__construct();
 }
コード例 #8
0
ファイル: BxDolVoteQuery.php プロジェクト: blas-dmx/trident
 public function __construct(&$oModule)
 {
     parent::__construct();
     $this->_oModule = $oModule;
     $aSystem = $this->_oModule->getSystemInfo();
     $this->_sTable = $aSystem['table_main'];
     $this->_sTableTrack = $aSystem['table_track'];
     $this->_sTriggerTable = $aSystem['trigger_table'];
     $this->_sTriggerFieldId = $aSystem['trigger_field_id'];
     $this->_sTriggerFieldRate = $aSystem['trigger_field_rate'];
     $this->_sTriggerFieldCount = $aSystem['trigger_field_count'];
     $this->_iPostTimeout = (int) $aSystem['post_timeout'];
 }
コード例 #9
0
 /**
  * constructor
  */
 function __construct($sTable = '', $sFieldId = '', $sFieldOwnerId = '')
 {
     parent::__construct();
     $this->_sTable = $sTable;
     $this->_sFieldId = $sFieldId;
     $this->_sFieldOwnerId = $sFieldOwnerId;
     $this->_sGroupCache = 'sys_ps_group_';
     $this->_sGroupsByOwnersCache = 'sys_ps_groups_owners_';
     $this->_sGroupMembersCache = 'sys_ps_group_members_';
     $this->_sObjectCache = 'sys_ps_object_';
     $this->_sActionCache = 'sys_ps_action_';
     $this->_sActionDefaultCache = 'sys_ps_action_default_';
 }
コード例 #10
0
 public function __construct($aObject = array())
 {
     parent::__construct();
     $this->_aObject = $aObject;
     if (!empty($this->_aObject)) {
         $this->_sTable = $this->_aObject['table'];
         $this->_sFieldId = $this->_aObject['table_field_id'];
         $this->_sFieldOwnerId = $this->_aObject['table_field_author'];
     }
     $this->_sCachePrivacyObject = 'sys_privacy_object_';
     $this->_sCachePrivacyObjectDefault = 'sys_privacy_object_default_';
     $this->_sCacheGroup = 'sys_privacy_group_';
     $this->_sCacheGroupFriends = 'sys_privacy_group_friends_';
     $this->_sCacheGroupsActVis = 'sys_privacy_group_act_vis';
     $this->_sCacheTestedObject = 'sys_privacy_tested_object_';
 }
コード例 #11
0
ファイル: BxDolPermalinks.php プロジェクト: blas-dmx/trident
 function __construct()
 {
     if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
         trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
     }
     parent::__construct();
     if (getParam('sys_db_cache_enable')) {
         $oCache = $this->getDbCacheObject();
         $sCacheKey = $this->genDbCacheKey('sys_permalinks');
         $aPermalinksData = $oCache->getData($sCacheKey);
         if (null === $aPermalinksData) {
             $aPermalinksData = $this->getPermalinksData();
             $oCache->setData($sCacheKey, $aPermalinksData);
         }
     } else {
         $aPermalinksData = $this->getPermalinksData();
     }
     $this->aLinksStandard = $aPermalinksData['standard'];
     $this->aLinksPermalink = $aPermalinksData['permalink'];
     $this->aPrefixesStandard = $aPermalinksData['prefixes_standard'];
     $this->aPrefixesPermalink = $aPermalinksData['prefixes_permalink'];
 }
コード例 #12
0
 /**
  * constructor
  */
 function __construct(&$oSubscription)
 {
     parent::__construct();
     $this->_oSubscription =& $oSubscription;
     $this->_sPrefix = 'sys_sbs_';
 }
コード例 #13
0
 public function __construct($aSystem)
 {
     parent::__construct();
     $this->_aSystem = $aSystem;
 }
コード例 #14
0
ファイル: BxAdsDb.php プロジェクト: toxalot/dolphin.pro
 function __construct(&$oConfig)
 {
     parent::__construct();
     $this->_oConfig = $oConfig;
 }
コード例 #15
0
 function __construct()
 {
     parent::__construct();
     $this->_sDefVersion = '0.0.0';
     $this->_aCheckPathes = array();
 }
コード例 #16
0
 public function __construct()
 {
     parent::__construct();
 }
コード例 #17
0
 public function __construct($aObject)
 {
     parent::__construct();
     $this->_aObject = $aObject;
     $this->_sTableFiles = '`' . $aObject['table_files'] . '`';
 }
コード例 #18
0
 function __construct(&$aSystem)
 {
     $this->_aSystem =& $aSystem;
     parent::__construct();
 }
コード例 #19
0
 function __construct()
 {
     parent::__construct();
     $this->sTable = 'sys_sessions';
 }
コード例 #20
0
 public function __construct($aObject)
 {
     parent::__construct();
     $this->_aObject = $aObject;
 }