コード例 #1
0
ファイル: comment_service.php プロジェクト: vazahat/dudex
 /**
  * Finds most commented entities.
  *
  * @param string $entityType
  * @param integer $first
  * @param integer $count
  * @return array<BOL_CommentEntity>
  */
 public function findMostCommentedEntityList($entityType, $first, $count)
 {
     $resultArray = $this->commentDao->findMostCommentedEntityList($entityType, $first, $count);
     $resultList = array();
     foreach ($resultArray as $item) {
         $resultList[$item['id']] = $item;
     }
     return $resultList;
 }