本文整理汇总了PHP中XoopsPersistableObjectHandler::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP XoopsPersistableObjectHandler::__construct方法的具体用法?PHP XoopsPersistableObjectHandler::__construct怎么用?PHP XoopsPersistableObjectHandler::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类XoopsPersistableObjectHandler
的用法示例。
在下文中一共展示了XoopsPersistableObjectHandler::__construct方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructor
*
* @param XoopsMySQLDatabase $db reference to the {@link XoopsDatabase} object
* @param string $table
* @param string $className
* @param string $keyName
* @param string $identifierName
*/
public function __construct(XoopsMySQLDatabase $db, $table = '', $className = '', $keyName = '', $identifierName = '')
{
$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1);
trigger_error("ArtObjectHandler is deprecated, instantiated from {$trace[0]['file']} line {$trace[0]['line']},");
$this->db = $db;
parent::__construct($db, $table, $className, $keyName, $identifierName);
}
示例2:
/**
* @param null|object $db
*/
function __construct($db)
{
parent::__construct($db, 'newblocks', 'SystemBlock', 'bid', 'title');
}
示例3: __construct
/**
* @param null|XoopsDatabase $db
*/
public function __construct(XoopsDatabase $db)
{
parent::__construct($db, 'block_module_link', 'SystemBlockLinkModule', 'block_id', 'module_id');
}
示例4: __construct
/**
* @param null|Connection $db
*/
public function __construct(Connection $db = null)
{
parent::__construct($db, "priv_msgs", 'PmMessage', 'msg_id', 'subject');
}
示例5:
function __construct(&$db)
{
parent::__construct($db, "spiders_user", 'SpidersSpiders_user', "spider_id", "uid");
}
示例6: __construct
/**
* PresenterCategoriesHandler constructor.
* @param XoopsDatabase $db
*/
public function __construct(XoopsDatabase $db)
{
parent::__construct($db, 'presenter_categories', 'PresenterCategories', 'cat_id', 'cat_title');
}
示例7: __construct
public function __construct(&$db)
{
parent::__construct($db, "press_category", "PressCategory", "cat_id", "cat_name");
}
示例8: __construct
/**
* @param null|object $db
*/
public function __construct(&$db)
{
parent::__construct($db, "publisher_files", 'PublisherFile', "fileid", "name");
}
示例9:
function __construct($db)
{
parent::__construct($db, 'profile_regstep', 'profileregstep', 'step_id', 'step_name');
}
示例10:
function __construct(&$db)
{
parent::__construct($db, "profile_profile", 'profileprofile', "profile_id");
$this->_fHandler = xoops_getmodulehandler('field', 'profile');
}
示例11: __construct
/**
* @param null|XoopsDatabase $db
*/
public function __construct(XoopsDatabase $db)
{
$this->publisher =& PublisherPublisher::getInstance();
parent::__construct($db, 'publisher_categories', 'PublisherCategory', 'categoryid', 'name');
}
示例12:
function __construct(&$db)
{
parent::__construct($db, 'profile_visibility', 'profilevisibility', 'field_id');
}
示例13: __construct
public function __construct(\Xoops\Core\Database\Connection $db, $table = '', $className = '', $keyName = '', $identifierName = '')
{
parent::__construct($db, $table, $className, $keyName, $identifierName);
}
示例14: __construct
/**
* @param null|object $db
*/
public function __construct(&$db)
{
parent::__construct($db, "publisher_items", 'PublisherItem', "itemid", "title");
$this->publisher = PublisherPublisher::getInstance();
}