public function findAlbumPhotoList($albumId, $listType, $offset, $limit, $privacy = null) { if (empty($albumId)) { return array(); } if (empty($listType) || !in_array($listType, array('latest', 'toprated', 'featured'))) { return array(); } return $this->photoDao->findAlbumPhotoList($albumId, $listType, $offset, $limit, $privacy); }