|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Functions | |
| static | decode_other (?string $other) |
| Function decodes the other field into an array using either PHP serialisation or JSON. | |
| dispose () | |
| Push any remaining events to the database. | |
| flush () | |
| Flush event buffer. | |
| get_config ($name, $default=null) | |
| Get a config value for the store. | |
| get_description () | |
| Default get description method. | |
| get_name () | |
| Default get name api. | |
| helper_setup (\tool_log\log\manager $manager) | |
| Setup store specific variables. | |
| insert_event_entries ($evententries) | |
| Bulk write a given array of events to the backend. | |
| is_event_ignored (\core\event\base $event) | |
| Should the event be ignored (== not logged)? | |
| static | tweak_sort_by_id ($sort) |
| Adds ID column to $sort to make sure events from one request within 1 second are returned in the same order. | |
| write (\core\event\base $event) | |
| Write event in the store with buffering. | |
Variables | |
| array | $buffersize |
| $buffer buffer size of events. | |
| string | $component |
| $component Frankenstyle store name. | |
| int | $count = 0 |
| $count Counter. | |
| bool | $jsonformat = false |
| If true, writes JSON instead of PHP serialized data for 'other' field. | |
| string | $store |
| short plugin name initialised in store trait. | |
| trait | buffered_writer |
| Helper trait buffered_writer. | |
| trait | reader |
| trait | store |
| Helper trait store. | |