本文整理汇总了PHP中vB_DataManager::post_save_once方法的典型用法代码示例。如果您正苦于以下问题:PHP vB_DataManager::post_save_once方法的具体用法?PHP vB_DataManager::post_save_once怎么用?PHP vB_DataManager::post_save_once使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vB_DataManager
的用法示例。
在下文中一共展示了vB_DataManager::post_save_once方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
/**
* Additional data to update after a save call (such as denormalized values in other tables).
* In batch updates, is executed once after all records are updated.
*
* @param boolean Do the query?
*/
function post_save_once($doquery = true)
{
parent::post_save_once($doquery);
if (!empty($this->moderator['userid'])) {
vB_Cache::allCacheEvent('userChg_' . $this->moderator['userid']);
}
vB::getUserContext()->rebuildGroupAccess();
}
示例2: post_save_once
public function post_save_once($doquery = true)
{
parent::post_save_once($doquery);
require_once DIR . '/includes/adminfunctions_template.php';
//print_rebuild_style(-1, '', 0, 1, 1, 0, false);
build_style(-1, '', array('docss' => 0, 'dostylevars' => 1, 'doreplacements' => 0, 'doposteditor' => 0), '-1,1', '', false, false);
}
示例3:
/**
* Additional data to update after a save call (such as denormalized values in other tables).
* In batch updates, is executed once after all records are updated.
*
* @param boolean Do the query?
*/
function post_save_once($doquery = true)
{
require_once DIR . '/includes/functions_calendar.php';
build_events();
return parent::post_save_once($doquery);
}