Ejemplo n.º 1
0
 /**
  * Get all status list of issues.
  * @return an array with contains information of issues categories.
  */
 public function getIssueStatusList()
 {
     $issueStatusList = array();
     $resultSet = IssueStatus::find();
     foreach ($resultSet as $rowSet) {
         array_push($issueStatusList, array('issueStatusId' => $rowSet->getIssueStatusId(), 'issueStatusSlug' => $rowSet->getIssueStatusSlug(), 'issueStatusName' => (array) json_decode($rowSet->getIssueStatusName())));
     }
     return $issueStatusList;
 }