lite.php 759 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * @param string|int $branch
  4. * @param mixed[]|string|int $moduleIdList
  5. * @param int $executionID
  6. * @param int $productID
  7. * @param string $type
  8. * @param string $status
  9. * @param string $storyType
  10. * @param bool $hasParent
  11. */
  12. public function getExecutionStoryPairs($executionID = 0, $productID = 0, $branch = 'all', $moduleIdList = '', $type = 'full', $status = 'all', $storyType = '', $hasParent = true)
  13. {
  14. if($this->config->vision == 'lite')
  15. {
  16. $execution = $this->loadModel('execution')->getById($executionID);
  17. if(!empty($execution->project)) $executionID = $execution->project;
  18. }
  19. return parent::getExecutionStoryPairs($executionID, $productID, $branch, $moduleIdList, $type, $status, $storyType, $hasParent);
  20. }