Ejemplo n.º 1
0
 /**
  * Get a specific story of the project
  * 
  * @param  string $id
  * @param  array  $params
  * @return Phase
  */
 public function getStory($id, $params = array())
 {
     if (!empty($id)) {
         return $this->service->getStory($this->id, $id, $params);
     }
 }
Ejemplo n.º 2
0
 /**
  * Remove a comment
  * 
  * @param  integer $commentId
  * @return boolean 
  */
 public function removeComment($commentId)
 {
     return $this->service->removeComment($this->projectId, $this->id, $commentId);
 }
Ejemplo n.º 3
0
 /**
  * Get stories
  *
  * @param  array $params
  * @return \Zend\Service\AgileZen\Container
  */
 public function getStories($params = array())
 {
     return $this->service->getStoriesPhase($this->projectId, $this->id, $params);
 }