当前位置: 首页>>代码示例>>PHP>>正文


PHP BxDolDb::__construct方法代码示例

本文整理汇总了PHP中BxDolDb::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP BxDolDb::__construct方法的具体用法?PHP BxDolDb::__construct怎么用?PHP BxDolDb::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BxDolDb的用法示例。


在下文中一共展示了BxDolDb::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($aObject)
 {
     parent::__construct();
     $this->_aObject = $aObject;
     $this->_sTable = $aObject['table'];
     $this->_sType = $aObject['type'];
 }
开发者ID:blas-dmx,项目名称:trident,代码行数:7,代码来源:BxDolConnectionQuery.php

示例2:

 function __construct(&$aSystem)
 {
     $this->_aSystem =& $aSystem;
     $this->_sTable = $this->_aSystem['table_cmts'];
     $this->_sTableTrack = $this->_aSystem['table_track'];
     parent::__construct();
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:7,代码来源:BxDolCmtsQuery.php

示例3: __construct

 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();
 }
开发者ID:Baloo7super,项目名称:dolphin,代码行数:7,代码来源:BxDolProfileQuery.php

示例4:

 function __construct($oConfig = null)
 {
     parent::__construct();
     if (is_a($oConfig, 'BxDolConfig')) {
         $this->_sPrefix = $oConfig->getDbPrefix();
     }
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:7,代码来源:BxDolModuleDb.php

示例5: __construct

 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_';
 }
开发者ID:blas-dmx,项目名称:trident,代码行数:9,代码来源:BxDolTranscoderQuery.php

示例6: __construct

 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'];
 }
开发者ID:Baloo7super,项目名称:dolphin,代码行数:11,代码来源:BxDolViewQuery.php

示例7:

 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();
 }
开发者ID:Baloo7super,项目名称:dolphin,代码行数:13,代码来源:BxDolCmtsQuery.php

示例8: __construct

 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'];
 }
开发者ID:blas-dmx,项目名称:trident,代码行数:13,代码来源:BxDolVoteQuery.php

示例9:

 /**
  * 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_';
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:16,代码来源:BxDolPrivacyQuery.php

示例10: __construct

 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_';
 }
开发者ID:blas-dmx,项目名称:trident,代码行数:16,代码来源:BxDolPrivacyQuery.php

示例11:

 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'];
 }
开发者ID:blas-dmx,项目名称:trident,代码行数:22,代码来源:BxDolPermalinks.php

示例12:

 /**
  * constructor
  */
 function __construct(&$oSubscription)
 {
     parent::__construct();
     $this->_oSubscription =& $oSubscription;
     $this->_sPrefix = 'sys_sbs_';
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:9,代码来源:BxDolSubscriptionQuery.php

示例13: __construct

 public function __construct($aSystem)
 {
     parent::__construct();
     $this->_aSystem = $aSystem;
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:5,代码来源:BxDolSiteMapsQuery.php

示例14:

 function __construct(&$oConfig)
 {
     parent::__construct();
     $this->_oConfig = $oConfig;
 }
开发者ID:toxalot,项目名称:dolphin.pro,代码行数:5,代码来源:BxAdsDb.php

示例15: array

 function __construct()
 {
     parent::__construct();
     $this->_sDefVersion = '0.0.0';
     $this->_aCheckPathes = array();
 }
开发者ID:Prashank25,项目名称:dolphin.pro,代码行数:6,代码来源:BxDolInstallerUi.php


注:本文中的BxDolDb::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。