Ejemplo n.º 1
0
 /**
  * Populates the milestones + sprints array
  *
  * @return void
  */
 protected function _populateAllMilestones()
 {
     if ($this->_allmilestones === null) {
         $this->_allmilestones = array();
         foreach (TBGMilestone::getAllByProjectID($this->getID()) as $milestone) {
             $this->_allmilestones[$milestone->getID()] = $milestone;
         }
     }
 }
Ejemplo n.º 2
0
echo __('ID');
?>
</th>
								</tr>
							</thead>
							<tbody>
						<?php 
foreach (TBGIssuetypeScheme::getAll() as $item) {
    echo '<tr><td>' . __('Issue type scheme') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
}
foreach (TBGWorkflowScheme::getAll() as $item) {
    echo '<tr><td>' . __('Workflow scheme') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
}
foreach (TBGProject::getAll() as $item) {
    echo '<tr><td>' . __('Project') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
    foreach (TBGMilestone::getAllByProjectID($item->getID()) as $item2) {
        echo '<tr><td>' . __('Milestone for project') . ' ' . $item->getID() . '</td><td>' . $item2->getName() . '</td><td>' . $item2->getID() . '</td></tr>';
    }
}
foreach (TBGReproducability::getAll() as $item) {
    echo '<tr><td>' . __('Reproducability') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
}
foreach (TBGSeverity::getAll() as $item) {
    echo '<tr><td>' . __('Severity') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
}
foreach (TBGCategory::getAll() as $item) {
    echo '<tr><td>' . __('Category') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
}
foreach (TBGPriority::getAll() as $item) {
    echo '<tr><td>' . __('Priority') . '</td><td>' . $item->getName() . '</td><td>' . $item->getID() . '</td></tr>';
}