本文整理汇总了PHP中JTableNested::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP JTableNested::__construct方法的具体用法?PHP JTableNested::__construct怎么用?PHP JTableNested::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JTableNested
的用法示例。
在下文中一共展示了JTableNested::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructor
*
* @param database &$db A database connector object
*
* @return JTableMenu
*
* @since 11.1
*/
public function __construct(&$db)
{
parent::__construct('#__menu', 'id', $db);
// Set the default access level.
$this->access = (int) JFactory::getConfig()->get('access');
}
示例2: __construct
/**
* Constructor
*
* @param JDatabaseDriver $db Database driver object.
*
* @since 11.1
*/
public function __construct(JDatabaseDriver $db)
{
parent::__construct('#__categories', 'id', $db);
JTableObserverTags::createObserver($this, array('typeAlias' => '{extension}.category'));
JTableObserverContenthistory::createObserver($this, array('typeAlias' => '{extension}.category'));
$this->access = (int) JFactory::getConfig()->get('access');
}
示例3: __construct
public function __construct(JDatabaseDriver $db)
{
parent::__construct('#__jem_categories', 'id', $db);
if (self::addRoot() !== false) {
return;
}
}
示例4: mosCategory
function mosCategory(&$db)
{
///parent::__construct( $db );
// for 1.6
JTableNested::__construct('#__booklibrary_legacy_categories', 'id', $db);
$this->access = (int) JFactory::getConfig()->get('access');
// --
}
示例5: __construct
public function __construct(&$db)
{
$this->_comment_interval = 0;
$this->_comment_interval_same_document = 0;
$this->_comment_latest = 0;
$this->_comment_latest_same_document = 0;
parent::__construct('#__judownload_comments', 'id', $db);
}
示例6: __construct
public function __construct(&$db)
{
$this->_comment_interval = 0;
$this->_comment_interval_same_listing = 0;
$this->_comment_latest = 0;
$this->_comment_latest_same_listing = 0;
parent::__construct('#__judirectory_comments', 'id', $db);
}
示例7: __construct
public function __construct($table, $key = 'id', $alias = null, $db = null)
{
$this->_alias = $alias;
if (!isset($db)) {
$db = JFactory::getDbo();
}
parent::__construct($table, $key, $db);
}
示例8: TableJoomgalleryCategories
/**
* Constructor
*
* @param object $db A database connector object
* @since 1.5.5
*/
public function TableJoomgalleryCategories(&$db)
{
parent::__construct(_JOOM_TABLE_CATEGORIES, 'cid', $db);
}
示例9: __construct
/**
* Constructor
*
* @param JDatabaseDriver $db A database connector object
*/
public function __construct($db)
{
parent::__construct('#__tags', 'id', $db);
JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_tags.tag'));
}
示例10: __construct
/**
* Constructor
*
* @param JDatabaseDriver $db Database driver object.
*
* @since 11.1
*/
public function __construct($db)
{
parent::__construct('#__categories', 'id', $db);
$this->access = (int) JFactory::getConfig()->get('access');
$this->tagsHelper = new JHelperTags();
}
示例11: __construct
/**
* Constructor
*
* @param JDatabase &$db A database connector object
*
* @since 11.1
*/
public function __construct(&$db)
{
parent::__construct('#__categories', 'id', $db);
$this->access = (int) JFactory::getConfig()->get('access');
}
示例12: __construct
public function __construct(&$db)
{
parent::__construct('#__judirectory_addresses', 'id', $db);
}
示例13: __construct
/**
* Constructor
*
* @param JDatabaseDriver $db Database driver object.
*
* @since 11.1
*/
public function __construct(JDatabaseDriver $db)
{
parent::__construct('#__assets', 'id', $db);
}
示例14:
function __construct(&$db)
{
parent::__construct('#__' . PREFIX . '_category', 'id', $db);
}
示例15:
function __construct(&$db)
{
parent::__construct('cb_captochuc', 'id', &$db);
}