report.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /**
  3. * @param object $data
  4. * @return object
  5. * @param mixed[] $storyList
  6. * @param string $type
  7. */
  8. public function getBasicMetrics($storyList, $data, $type = 'execution')
  9. {
  10. return $this->loadExtension('report')->getBasicMetrics($storyList, $data, $type);
  11. }
  12. /**
  13. * @param object $data
  14. * @param mixed[] $storyList
  15. * @param string $type
  16. */
  17. public function buildBasicChartConfig($storyList, $data, $type = 'execution')
  18. {
  19. return $this->loadExtension('report')->buildBasicChartConfig($storyList, $data, $type);
  20. }
  21. /**
  22. * @return object
  23. * @param mixed[] $storyList
  24. */
  25. public function getProgressMetrics($storyList)
  26. {
  27. return $this->loadExtension('report')->getProgressMetrics($storyList);
  28. }
  29. /**
  30. * @param mixed[] $storyList
  31. */
  32. public function buildProgressChartConfig($storyList)
  33. {
  34. return $this->loadExtension('report')->buildProgressChartConfig($storyList);
  35. }
  36. /**
  37. * @param int $storyID
  38. * @param string $begin
  39. * @param string $end
  40. */
  41. public function getChangedStory($storyID, $begin, $end)
  42. {
  43. return $this->loadExtension('report')->getChangedStory($storyID, $begin, $end);
  44. }
  45. /**
  46. * @return object
  47. * @param mixed[] $storyList
  48. * @param mixed[] $items
  49. */
  50. public function getMetricsCount($storyList, $data = null, $items = array())
  51. {
  52. return $this->loadExtension('report')->getMetricsCount($storyList, $data, $items);
  53. }
  54. /**
  55. * @return object
  56. * @param mixed[] $storyList
  57. * @param mixed[] $items
  58. */
  59. public function getMetricsChart($storyList, $items = array())
  60. {
  61. return $this->loadExtension('report')->getMetricsChart($storyList, $items);
  62. }