[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/health/ -> locallib.php (summary)

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

Defines 4 functions

  tool_health_category_find_missing_parents()
  tool_health_category_list_missing_parents()
  tool_health_category_find_loops()
  tool_health_category_list_loops()

Functions
Functions that are not part of a class:

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.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1