芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/admin/tool/log/classes/log/observer.php
. /** * Event observer. * * @package tool_log * @copyright 2013 Petr Skoda {@link http://skodak.org} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace tool_log\log; defined('MOODLE_INTERNAL') || die(); class observer { /** * Redirect all events to this log manager, but only if this * log manager is actually used. * * @param \core\event\base $event */ public static function store(\core\event\base $event) { $logmanager = get_log_manager(); if (get_class($logmanager) === 'tool_log\log\manager') { /** @var \tool_log\log\manager $logmanager */ $logmanager->process($event); } } }