Functions used by the health tool.
Copyright: | 2013 Marko Vidberg |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 128 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
tool_health_category_find_missing_parents($categories) X-Ref |
Given a list of categories, this function searches for ones that have a missing parent category. param: array $categories List of categories. return: array List of categories with missing parents. |
tool_health_category_list_missing_parents($missingparent) X-Ref |
Generates a list of categories with missing parents. param: array $missingparent List of categories with missing parents. return: string Bullet point list of categories with missing parents. |
tool_health_category_find_loops($categories) X-Ref |
Given a list of categories, this function searches for ones that have loops to previous parent categories. param: array $categories List of categories. return: array List of categories with loops. |
tool_health_category_list_loops($loops) X-Ref |
Generates a list of categories with loops. param: array $loops List of categories with loops. return: string Bullet point list of categories with loops. |