本文整理汇总了PHP中param::purge_mesg_history方法的典型用法代码示例。如果您正苦于以下问题:PHP param::purge_mesg_history方法的具体用法?PHP param::purge_mesg_history怎么用?PHP param::purge_mesg_history使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类param
的用法示例。
在下文中一共展示了param::purge_mesg_history方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: param
$config['ACL']['video']['user'] = $this->return_checked_value('p_video_user');
$config['ACL']['video']['guest'] = $this->return_checked_value('p_video_guest');
$config['ACL']['chatroom_crt']['user'] = $this->return_checked_value('p_chatroom_crt_user');
$config['ACL']['chatroom_crt']['guest'] = $this->return_checked_value('p_chatroom_crt_guest');
$config['ACL']['groupchat']['user'] = $this->return_checked_value('p_groupchat');
return $config;
}
}
$param = new param();
if (isset($_POST['posted'])) {
$config = $param->build_config_array();
$param->update_config($config);
$param->build_vars();
}
if (isset($_REQUEST['purge'])) {
$param->purge_mesg_history($_GET['days']);
die('Messages Purged successfully.');
}
?>
<link rel="stylesheet" type="text/css" href="admin_files/moderate_users/table_style.css" />
<style type="text/css">
.table_cls th{
color:black;
}
</style>