本文整理汇总了PHP中BxDolModuleDb::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP BxDolModuleDb::__construct方法的具体用法?PHP BxDolModuleDb::__construct怎么用?PHP BxDolModuleDb::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BxDolModuleDb
的用法示例。
在下文中一共展示了BxDolModuleDb::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct(&$oConfig)
{
parent::__construct();
$this->_oConfig = $oConfig;
$this->_sTable = $oConfig->sTableName;
$this->sTablePrefix = $oConfig->sTablePrefix;
}
示例2:
function __construct(&$oConfig)
{
parent::__construct($oConfig);
$this->_oConfig = $oConfig;
$this->_sTableInvites = $this->_sPrefix . 'invites';
$this->_sTableRequests = $this->_sPrefix . 'requests';
}
示例3: __construct
public function __construct(&$oConfig)
{
parent::__construct($oConfig);
$this->_oConfig = $oConfig;
$this->_sTable = $this->_sPrefix . 'events';
$this->_sTableHandlers = $this->_sPrefix . 'handlers';
}
示例4: getLoggedId
function __construct(&$oConfig)
{
parent::__construct($oConfig);
$this->_oConfig =& $oConfig;
$this->iViewer = getLoggedId();
$this->aFileFields = array('medID' => 'ID', 'Categories' => 'Categories', 'medProfId' => 'Owner', 'medTitle' => 'Title', 'medUri' => 'Uri', 'medDesc' => 'Description', 'medTags' => 'Tags', 'medDate' => 'Date', 'medViews' => 'Views', 'Approved' => 'Status', 'Featured' => 'Featured', 'Rate' => 'Rate', 'RateCount' => 'RateCount');
$this->aFavoriteFields = array('fileId' => 'ID', 'ownerId' => 'Profile', 'favDate' => 'Date');
}
示例5:
function __construct(&$oConfig)
{
parent::__construct();
$this->_oConfig = $oConfig;
}
示例6:
function __construct(&$oConfig)
{
parent::__construct($oConfig);
}
示例7:
function __construct(&$oConfig)
{
parent::__construct();
$this->_oConfig = $oConfig;
$this->sTablePrefix = $oConfig->getDbPrefix();
}
示例8:
/**
* Constructor.
*/
function __construct(&$oConfig)
{
parent::__construct();
$this->_oConfig = $oConfig;
$this->_aObjects = $this->getShoutboxObjects();
}