ipd.php 903 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * 获取执行的 bug。
  4. * Get bugs of a execution.
  5. *
  6. * @param int $executionID
  7. * @param int $productID
  8. * @param int|string $branchID
  9. * @param string|array $builds
  10. * @param string $type
  11. * @param int $param
  12. * @param string $orderBy
  13. * @param string $excludeBugs
  14. * @param object $pager
  15. * @access public
  16. * @return array
  17. */
  18. public function getExecutionBugs($executionID, $productID = 0, $branchID = 'all', $builds = '0', $type = '', $param = 0, $orderBy = 'id_desc', $excludeBugs = '', $pager = null)
  19. {
  20. $bugs = parent::getExecutionBugs($executionID, $productID, $branchID, $builds, $type, $param, $orderBy, $excludeBugs, $pager);
  21. /* 追加是否需要确认撤销/移除操作的信息到数据列表中。*/
  22. /* Build confirmeObject. */
  23. return $this->loadModel('story')->getAffectObject($bugs, 'bug');
  24. }