Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | access.php |
Plugin capabilities. | |
file | base_bin.php |
The main interface for recycle bin methods. | |
file | category_bin.php |
The main interface for recycle bin methods. | |
file | category_bin_item_created.php |
Recycle bin events. | |
file | category_bin_item_deleted.php |
Recycle bin events. | |
file | category_bin_item_restored.php |
Recycle bin events. | |
file | cleanup_category_bin.php |
Recycle bin cron task. | |
file | cleanup_course_bin.php |
Recycle bin cron task. | |
file | course_bin.php |
The main interface for recycle bin methods. | |
file | course_bin_item_created.php |
Recycle bin events. | |
file | course_bin_item_deleted.php |
Recycle bin events. | |
file | course_bin_item_restored.php |
Recycle bin events. | |
file | lib.php |
Local lib code. | |
file | provider.php |
Privacy Subsystem implementation for tool_recyclebin. | |
file | settings.php |
Recycle bin settings. | |
file | tasks.php |
Recycle bin tasks. | |
file | version.php |
Defines the version. | |
Namespaces | |
namespace | tool_recyclebin |
| |
namespace | tool_recyclebin\event |
| |
namespace | tool_recyclebin\privacy |
| |
namespace | tool_recyclebin\task |
| |
Classes | |
class | tool_recyclebin\base_bin |
Represents a recyclebin. More... | |
class | tool_recyclebin\category_bin |
Represents a category's recyclebin. More... | |
class | tool_recyclebin\course_bin |
Represents a course's recyclebin. More... | |
class | tool_recyclebin\event\category_bin_item_created |
Event class. More... | |
class | tool_recyclebin\event\category_bin_item_deleted |
Event class. More... | |
class | tool_recyclebin\event\category_bin_item_restored |
Event Class. More... | |
class | tool_recyclebin\event\course_bin_item_created |
Event class. More... | |
class | tool_recyclebin\event\course_bin_item_deleted |
Event class. More... | |
class | tool_recyclebin\event\course_bin_item_restored |
Event class. More... | |
class | tool_recyclebin\privacy\provider |
Privacy Subsystem for tool_recyclebin implementing null_provider. More... | |
class | tool_recyclebin\task\cleanup_category_bin |
This task deletes expired category recyclebin items. More... | |
class | tool_recyclebin\task\cleanup_course_bin |
This task deletes expired course recyclebin items. More... | |
Functions | |
tool_recyclebin_course_module_background_deletion_recommended () | |
Hook called to check whether async course module deletion should be performed or not. More... | |
tool_recyclebin_extend_navigation_category_settings ($navigation, $context) | |
Adds a recycle bin link to the course admin menu. More... | |
tool_recyclebin_extend_navigation_course ($navigation, $course, $context) | |
Adds a recycle bin link to the course admin menu. More... | |
tool_recyclebin_get_fontawesome_icon_map () | |
Map icons for font-awesome themes. | |
tool_recyclebin_pre_course_category_delete ($category) | |
Hook called before we delete a category. More... | |
tool_recyclebin_pre_course_delete ($course) | |
Hook called before we delete a course. More... | |
tool_recyclebin_pre_course_module_delete ($cm) | |
Hook called before we delete a course module. More... | |
Variables | |
$capabilities | |
global | $PAGE |
$plugin = 2020060900 | |
$tasks | |
$plugin | component = 'tool_recyclebin' |
const | tool_recyclebin::TOOL_RECYCLEBIN_COURSE_BIN_FILEAREA 'recyclebin_course' |
const | tool_recyclebin::TOOL_RECYCLEBIN_COURSECAT_BIN_FILEAREA 'recyclebin_coursecat' |
$plugin | version = 2020061500 |
tool_recyclebin_course_module_background_deletion_recommended | ( | ) |
Hook called to check whether async course module deletion should be performed or not.
true | if background deletion is required (is the recyclebin is enabled), false otherwise. |
tool_recyclebin_extend_navigation_category_settings | ( | $navigation, | |
$context | |||
) |
Adds a recycle bin link to the course admin menu.
navigation_node | $navigation | The navigation node to extend |
context | $context | The context of the course |
void|null | return null if we don't want to display the node. |
tool_recyclebin_extend_navigation_course | ( | $navigation, | |
$course, | |||
$context | |||
) |
Adds a recycle bin link to the course admin menu.
navigation_node | $navigation | The navigation node to extend |
stdClass | $course | The course to object for the tool |
context | $context | The context of the course |
void|null | return null if we don't want to display the node. |
tool_recyclebin_pre_course_category_delete | ( | $category | ) |
Hook called before we delete a category.
stdClass | $category | The category record. |
tool_recyclebin_pre_course_delete | ( | $course | ) |
Hook called before we delete a course.
stdClass | $course | The course record. |
tool_recyclebin_pre_course_module_delete | ( | $cm | ) |
Hook called before we delete a course module.
stdClass | $cm | The course module record. |
$tasks |