本文整理汇总了PHP中JModelList::cleanCache方法的典型用法代码示例。如果您正苦于以下问题:PHP JModelList::cleanCache方法的具体用法?PHP JModelList::cleanCache怎么用?PHP JModelList::cleanCache使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JModelList
的用法示例。
在下文中一共展示了JModelList::cleanCache方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cleanCache
/**
* Custom clean cache method, 2 places for 2 clients.
*
* @param string $group Optional cache group name.
* @param integer $client_id Application client id.
*
* @return void
*
* @since 1.6
*/
protected function cleanCache($group = null, $client_id = 0)
{
parent::cleanCache('_system');
parent::cleanCache('com_languages');
}
示例2: cleanCache
/**
* Custom clean cache method, 2 places for 2 clients
*
* @since 1.6
*/
function cleanCache()
{
parent::cleanCache('_system', 0);
parent::cleanCache('_system', 1);
parent::cleanCache('com_languages', 0);
parent::cleanCache('com_languages', 1);
}
示例3: cleanCache
/**
* Custom clean cache method for different clients
*
* @siece 1.6
* */
protected function cleanCache($group = null, $client_id = 0)
{
parent::cleanCache('com_pagebuilder', $this->getClient());
}
示例4: cleanCache
/**
* Custom clean cache method for different clients
*
* @since 1.6
*/
protected function cleanCache($group = null, $client_id = 0)
{
parent::cleanCache('com_poweradmin', $this->getClient());
}