Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Interface describing log readers. More...
Public Member Functions | |
dispose () | |
Dispose all initialised stores. | |
get_readers ($interface=null) | |
Return list of available log readers. | |
get_supported_logstores ($component) | |
For a given report, returns a list of log stores that are supported. | |
Interface describing log readers.
This is intended for reports, use get_log_manager() to get the configured instance.
core\log\manager::dispose | ( | ) |
Dispose all initialised stores.
void |
Implemented in core\log\dummy_manager, and tool_log\log\manager.
core\log\manager::get_readers | ( | $interface = null | ) |
Return list of available log readers.
string | $interface | All returned readers must implement this interface. |
core\log\reader[] |
Implemented in core\log\dummy_manager, and tool_log\log\manager.
core\log\manager::get_supported_logstores | ( | $component | ) |
For a given report, returns a list of log stores that are supported.
string | $component | component. |
false|array | list of logstores that support the given report. It returns false if the given $component doesn't require logstores. |
Implemented in core\log\dummy_manager, and tool_log\log\manager.