phpDocumentor CoreAPI
TimelineAPI
[ class tree: CoreAPI ] [ index: CoreAPI ] [ all elements ]

Procedural File: timeline_api.php

Source Location: /core/timeline_api.php

Page Details

Timeline API Handles management of roadmap and changelog data.

Copyright:  Copyright (C) 2002 - 2009 MantisBT Team - mantisbt-dev@lists.sourceforge.net
Copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Link:  http://www.mantisbt.org
Functions
timeline_generate_hierarchy  [line 125]

array timeline_generate_hierarchy( array $p_all_bugs, [array $p_local_bugs = null], [array $p_seen_ids = null]  )

Recursively generate a full tree structure hierarchy from a single depth tree of parent/child elements.

Parameters:
array   $p_all_bugs:  Single-depth base tree
array   $p_local_bugs:  Local tree branch
array   $p_seen_ids:  Bug IDs already seen in this tree branch

API Tags:
Return:  Updated local branch or full tree


[ Top ]
timeline_get_bug_ids  [line 35]

array timeline_get_bug_ids( int $p_project_id, string $p_version, [int $p_type = null]  )

Get a list of bug ids for a specific project and version.

Parameters:
int   $p_project_id:  Project ID
string   $p_version:  Version name
int   $p_type:  Timeline type

API Tags:
Return:  Bug IDs


[ Top ]
timeline_get_hierarchy  [line 75]

array timeline_get_hierarchy( array $p_bug_ids  )

Given a list of bug ids, return a hierarchical array of bug ids translating relationships between bugs into a tree structure.

Parameters:
array   $p_bug_ids:  Bug IDs

API Tags:
Return:  Hierarchy of bug IDs


[ Top ]


Documentation generated on Sun, 05 Apr 2009 23:01:36 +0100 by phpDocumentor 1.4.1