本文整理匯總了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());
}