| [ Index ] |
PHP Cross Reference of MantisBT |
[Source view] [Print] [Project Stats]
Project Hierarchy API
| Copyright: | Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org |
| Copyright: | Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net |
| File Size: | 290 lines (9 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| project_hierarchy_add( $p_child_id, $p_parent_id, $p_inherit_parent = true ) X-Ref |
| Add project to project hierarchy param: int $p_child_id Child project ID param: int $p_parent_id Parent project ID param: bool $p_inherit_parent Whether or not the child project inherits from the parent project return: null |
| project_hierarchy_update( $p_child_id, $p_parent_id, $p_inherit_parent = true ) X-Ref |
| Update project hierarchy param: int $p_child_id Child project ID param: int $p_parent_id Parent project ID param: bool $p_inherit_parent Whether or not the child project inherits from the parent project return: null |
| project_hierarchy_remove( $p_child_id, $p_parent_id ) X-Ref |
| Remove project from project hierarchy param: int $p_child_id Child project ID param: int $p_parent_id Parent project ID return: null |
| project_hierarchy_remove_all( $p_project_id ) X-Ref |
| Remove any project hierarchy entries relating to project_id param: int $p_project_id Project ID return: null |
| project_hierarchy_is_toplevel( $p_project_id, $p_show_disabled = false ) X-Ref |
| Returns true if project is at top of hierarchy param: bool $p_project_id Project ID param: bool $p_show_disabled Whether or not to consider projects which are disabled return: bool |
| project_hierarchy_cache( $p_show_disabled = false ) X-Ref |
| Cache project hierarchy param: bool $p_show_disabled Whether or not to cache projects which are disabled return: bool |
| project_hierarchy_inherit_parent( $p_child_id, $p_parent_id, $p_show_disabled = false ) X-Ref |
| Returns true if the child project inherits categories from the parent. param: int $p_child_id Child project ID param: int $p_parent_id Parent project ID param: bool $p_show_disabled Whether or not to consider projects which are disabled return: bool |
| project_hierarchy_inheritance( $p_project_id, $p_show_disabled = false ) X-Ref |
| Generate an array of project's the given project inherits from, including the original project in the result. param: int $p_project_id Project ID param: bool $p_show_disabled Whether or not to consider projects which are disabled return: array |
| project_hierarchy_get_subprojects( $p_project_id, $p_show_disabled = false ) X-Ref |
| Get subprojects for a project param: int $p_project_id Project ID param: bool $p_show_disabled Whether or not to consider projects which are disabled return: array |
| project_hierarchy_get_all_subprojects( $p_project_id, $p_show_disabled = false ) X-Ref |
| Get complete subproject hierarchy for a project param: int $p_project_id Project ID param: bool $p_show_disabled Whether or not to consider projects which are disabled return: array |
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |