Exemplo n.º 1
0
 /**
  * Fetches all announce entities associated with provided category id and filtered by pagination
  * 
  * @param string $categoryId
  * @param integer $page Current page
  * @param integer $itemsPerPage Per page count
  * @return array
  */
 public function fetchAllByCategoryIdAndPage($categoryId, $page, $itemsPerPage)
 {
     return $this->prepareResults($this->announceMapper->fetchAllByCategoryIdAndPage($categoryId, $page, $itemsPerPage));
 }