Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Files | |
file | locallib.php |
Functions used by the health tool. | |
file | provider.php |
Privacy Subsystem implementation for tool_health. | |
Namespaces | |
namespace | tool_health\privacy |
| |
Classes | |
class | tool_health\privacy\provider |
Privacy Subsystem for tool_health implementing null_provider. More... | |
Functions | |
tool_health_category_find_loops ($categories) | |
Given a list of categories, this function searches for ones that have loops to previous parent categories. More... | |
tool_health_category_find_missing_parents ($categories) | |
Given a list of categories, this function searches for ones that have a missing parent category. More... | |
tool_health_category_list_loops ($loops) | |
Generates a list of categories with loops. More... | |
tool_health_category_list_missing_parents ($missingparent) | |
Generates a list of categories with missing parents. More... | |
tool_health_category_find_loops | ( | $categories | ) |
Given a list of categories, this function searches for ones that have loops to previous parent categories.
array | $categories | List of categories. |
array | List of categories with loops. |
tool_health_category_find_missing_parents | ( | $categories | ) |
Given a list of categories, this function searches for ones that have a missing parent category.
array | $categories | List of categories. |
array | List of categories with missing parents. |
tool_health_category_list_loops | ( | $loops | ) |
Generates a list of categories with loops.
array | $loops | List of categories with loops. |
string | Bullet point list of categories with loops. |
tool_health_category_list_missing_parents | ( | $missingparent | ) |
Generates a list of categories with missing parents.
array | $missingparent | List of categories with missing parents. |
string | Bullet point list of categories with missing parents. |