Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
|
Namespaces | |
namespace | router |
| |
namespace | session |
| |
Classes | |
class | courses_tasks_testcase |
class | mocking_string_manager |
class | plugin_checks_testcase |
Functions | |
add_full_mocked_plugintype (string $plugintype, string $path, bool $subpluginsupport=false) | |
Add a mocked plugintype at the component sources level, allowing core\component to pick up the type and its plugins. | |
delete_full_mocked_plugintype (string $plugintype,) | |
Helper to delete a mocked plugin type at the component sources level. | |
deprecate_full_mocked_plugintype (string $plugintype,) | |
Helper to deprecate a mocked plugin type at the component sources level. | |
fully_reset_component_after_test (bool $reset=true) | |
Call this method to force the component cache to be fully reset after each test. | |
reset_component_cache () | |
Reset the component cache. | |
Variables | |
trait | fake_plugins_test_trait |