本文整理汇总了PHP中vB_DataManager::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP vB_DataManager::__construct方法的具体用法?PHP vB_DataManager::__construct怎么用?PHP vB_DataManager::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vB_DataManager
的用法示例。
在下文中一共展示了vB_DataManager::__construct方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructor - Checks for necessity of registry object
*
* @param vB_Registry Instance of the vBulletin data registry object - expected to have the database object as one of its $this->db member.
* @param integer One of the ERRTYPE_x constants
*/
public function __construct(&$registry = NULL, $errtype = NULL)
{
parent::__construct($registry, $errtype);
$this->cleaner = vB::getCleaner();
// Legacy Hook 'stylevardata_start' Removed //
}
示例2:
/**
* Constructor - checks that the registry object has been passed correctly.
*
* @param integer One of the ERRTYPE_x constants
*/
function vB_DataManager_Moderator($registry = NULL, $errtype = vB_DataManager_Constants::ERRTYPE_STANDARD)
{
parent::__construct($registry, $errtype);
$this->config = vB::getConfig();
// Legacy Hook 'moderatordata_start' Removed //
}
示例3: __construct
public function __construct(&$registry, $errtype = ERRTYPE_STANDARD)
{
parent::__construct($registry, $errtype);
}
示例4: __construct
/**
* Constructor - Checks for necessity of registry object
*
* @param vB_Registry Instance of the vBulletin data registry object - expected to have the database object as one of its $this->db member.
* @param integer One of the ERRTYPE_x constants
*/
public function __construct(&$registry = NULL, $errtype = NULL)
{
parent::__construct($registry, $errtype);
// Legacy Hook 'stylevardfndata_start' Removed //
}
示例5:
/**
* Constructor - checks that the registry object has been passed correctly.
*
* @param vB_Registry Instance of the vBulletin data registry object - expected to have the database object as one of its $this->db member.
* @param integer One of the ERRTYPE_x constants
*/
function __construct($registry = NULL, $errtype = vB_DataManager_Constants::ERRTYPE_STANDARD)
{
parent::__construct($registry, $errtype);
$this->imageHandler = vB_Image::instance();
}