MantisBT: master-1.2.x 2b434678

Author Committer Branch Timestamp Parent
Damien Regad dhx master-1.2.x 2011-06-23 12:18 master-1.2.x d0f850da
Changeset

Added new API function project_hierarchy_get_parent

Returns the id of the project's parent, or 0 (ALL_PROJECTS) if project is
top-level or not found

Also fix wrong type in comment for function project_hierarchy_is_toplevel,
parameter $p_project_id

Signed-off-by: David Hicks d@hx.id.au

mod - core/project_hierarchy_api.php Diff File