本文整理汇总了PHP中log::clear_log方法的典型用法代码示例。如果您正苦于以下问题:PHP log::clear_log方法的具体用法?PHP log::clear_log怎么用?PHP log::clear_log使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类log
的用法示例。
在下文中一共展示了log::clear_log方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: replace_admin_actions
//.........这里部分代码省略.........
require_once $config['basepath'] . '/include/template_editor.inc.php';
$listing = new template_editor();
$data = $listing->edit_listing_template_search();
break;
case 'edit_listing_template_search_results':
require_once $config['basepath'] . '/include/template_editor.inc.php';
$listing = new template_editor();
$data = $listing->edit_listing_template_search_results();
break;
case 'user_manager':
require_once $config['basepath'] . '/include/user_manager.inc.php';
$user_managment = new user_managment();
$data = $user_managment->show_user_manager();
break;
case 'edit_user_template':
require_once $config['basepath'] . '/include/template_editor.inc.php';
$listing = new template_editor();
$data = $listing->edit_user_template();
break;
case 'edit_listing_template_add_field':
require_once $config['basepath'] . '/include/template_editor.inc.php';
$listing = new template_editor();
$data = $listing->add_listing_template_field();
break;
case 'add_page':
require_once $config['basepath'] . '/include/editor.inc.php';
$listing = new editor();
$data = $listing->add_page();
break;
case 'view_log':
require_once $config['basepath'] . '/include/log.inc.php';
$data = log::view();
break;
case 'clear_log':
require_once $config['basepath'] . '/include/log.inc.php';
$data = log::clear_log();
break;
case 'show_property_classes':
require_once $config['basepath'] . '/include/propertyclass.inc.php';
$data = propertyclass::show_classes();
break;
case 'modify_property_class':
require_once $config['basepath'] . '/include/propertyclass.inc.php';
$data = propertyclass::modify_property_class();
break;
case 'delete_property_class':
require_once $config['basepath'] . '/include/propertyclass.inc.php';
$data = propertyclass::delete_property_class();
break;
case 'insert_property_class':
require_once $config['basepath'] . '/include/propertyclass.inc.php';
$data = propertyclass::insert_property_class();
break;
case 'add_listing_property_class':
require_once $config['basepath'] . '/include/listing_editor.inc.php';
$listing_editor = new listing_editor();
$data = $listing_editor->add_listing_logic();
break;
//Todo Finish Adding Blog Items
//Todo Finish Adding Blog Items
case 'edit_blog':
require_once $config['basepath'] . '/include/blog_editor.inc.php';
$listing = new blog_editor();
$data = $listing->blog_edit_index();
break;
case 'edit_blog_post':