See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]
Standard log reader/writer.
Copyright: | 2013 Petr Skoda {@link http://skodak.org} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 161 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
store:: (9 methods):
__construct()
is_event_ignored()
insert_event_entries()
get_events_select()
get_events_select_iterator()
get_log_event()
get_events_select_count()
get_internal_log_table_name()
is_logging()
__construct(\tool_log\log\manager $manager) X-Ref |
No description |
is_event_ignored(\core\event\base $event) X-Ref |
Should the event be ignored (== not logged)? param: \core\event\base $event return: bool |
insert_event_entries($evententries) X-Ref |
Finally store the events into the database. param: array $evententries raw event data |
get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum) X-Ref |
No description |
get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitnum) X-Ref |
Fetch records using given criteria returning a Traversable object. Note that the traversable object contains a moodle_recordset, so remember that is important that you call close() once you finish using it. param: string $selectwhere param: array $params param: string $sort param: int $limitfrom param: int $limitnum return: \core\dml\recordset_walk|\core\event\base[] |
get_log_event($data) X-Ref |
Returns an event from the log data. param: stdClass $data Log data return: \core\event\base |
get_events_select_count($selectwhere, array $params) X-Ref |
No description |
get_internal_log_table_name() X-Ref |
No description |
is_logging() X-Ref |
Are the new events appearing in the reader? return: bool true means new log events are being added, false means no new data will be added |