public function getAlbumPhotos($albumId, $page = 1)
    {
        if (is_null($albumId) || $albumId == '') {
            throw new Exception('The albumId is required to get the list of photos in the album.');
        }

        $params = array(
            'method' => 'sp.album.get_photos',
            'album_id' => $albumId,
            'page' => $page
        );

        return $this->_makeApiRequest($params);
    }
public function getAlbumPhotos($albumId, $page = 1)
    {
        if (is_null($albumId) || $albumId == '') {
            throw new Exception('The albumId is required to get the list of photos in the album.');
        }

        $params = array(
            'method' => 'sp.album.get_photos',
            'album_id' => $albumId,
            'page' => $page
        );

        return $this->_makeApiRequest($params);
    }
public function getAlbumPhotos ( $ albumId , $ page = 1 ) { if ( is_null ( $ albumId ) || $ albumId == '' ) { throw new Exception ( 'The albumId is required to get the list of photos in the album.' ) ; } $ params = array ( 'method' => 'sp.album.get_photos' , 'album_id' => $ albumId , 'page' => $ page ) ; return $ this -> _makeApiRequest ( $ params ) ; }
Method to get the photos for an album

@param integer $albumId
@param integer $page
@return array
Method to get the photos for an album