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 |
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:
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 |