Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Assists in constructing album queries for various entries.
Instances of this class can be provided in many places where a URL is required.
For information on submitting queries to a server, see the service class, Zend_Gdata_Photos.

string
$_albumId= 'null'
The ID of the album to query for. Mutually exclusive with AlbumName.
null
Details
getAlbumId(
)
:
string
Get the album ID which is to be returned.
Type | Description |
---|---|
string | The ID of the album to retrieve. |

getAlbumName(
)
:
string
Get the album name which is to be returned.
Type | Description |
---|---|
string | The name of the album to retrieve. |

getQueryUrl(
$incomingUri
=
''
)
:
string
Returns the URL generated for this query, based on it's current parameters.
Name | Type | Description |
---|---|---|
$incomingUri |
Type | Description |
---|---|
string | A URL generated based on the state of this query. |
Exception | Description |
---|---|
\Zend_Gdata_App_InvalidArgumentException |

setAlbumId(
string $value
)
:
\Zend_Gdata_Photos_AlbumQuery
Set the album ID to query for. When set, this album's photographs be returned. If not set or null, the default user's feed will be returned instead.
NOTE: Album and AlbumId are mutually exclusive. Setting one will automatically set the other to null.
Name | Type | Description |
---|---|---|
$value | string | The ID of the album to retrieve, or null to clear. |
Type | Description |
---|---|
\Zend_Gdata_Photos_AlbumQuery | The query object. |

setAlbumName(
string $value
)
:
\Zend_Gdata_Photos_AlbumQuery
Set the album name to query for. When set, this album's photographs be returned. If not set or null, the default user's feed will be returned instead.
NOTE: AlbumName and AlbumId are mutually exclusive. Setting one will automatically set the other to null.
Name | Type | Description |
---|---|---|
$value | string | The name of the album to retrieve, or null to clear. |
Type | Description |
---|---|
\Zend_Gdata_Photos_AlbumQuery | The query object. |