本文整理汇总了PHP中CUserOptions::DeleteUsersOptions方法的典型用法代码示例。如果您正苦于以下问题:PHP CUserOptions::DeleteUsersOptions方法的具体用法?PHP CUserOptions::DeleteUsersOptions怎么用?PHP CUserOptions::DeleteUsersOptions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CUserOptions
的用法示例。
在下文中一共展示了CUserOptions::DeleteUsersOptions方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetMessage
CUserOptions::DeleteUsersOptions($USER->GetID());
$sSuccessMsg .= GetMessage("user_sett_mess_del")."<br>";
}
if($_REQUEST["action"] == "clear_links")
{
CUserOptions::DeleteOption("start_menu", "recent");
$sSuccessMsg .= GetMessage("user_sett_mess_links")."<br>";
}
if($_REQUEST["action"] == "clear_all" && $USER->CanDoOperation('edit_other_settings'))
{
CUserOptions::DeleteCommonOptions();
$sSuccessMsg .= GetMessage("user_sett_mess_del_common")."<br>";
}
if($_REQUEST["action"] == "clear_all_user" && $USER->CanDoOperation('edit_other_settings'))
{
CUserOptions::DeleteUsersOptions();
$sSuccessMsg .= GetMessage("user_sett_mess_del_user")."<br>";
}
if($sSuccessMsg <> "")
{
$_SESSION["ADMIN"]["USER_SETTINGS_MSG"] = $sSuccessMsg;
LocalRedirect($APPLICATION->GetCurPage()."?lang=".LANGUAGE_ID."&".$tabControl->ActiveTabParam());
}
}
if($_SERVER["REQUEST_METHOD"]=="POST" && $_REQUEST["Update"]=="Y" && $editable && check_freetrix_sessid())
{
$aMsg = array();
if(empty($aMsg))
{