Gdata/Photos/AlbumQuery.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- Photos
- Version
- $Id: AlbumQuery.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Gdata_Photos_AlbumQuery
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.
- Parent(s)
- \Zend_Gdata_Photos_UserQuery < \Zend_Gdata_Query
- Children
- \Zend_Gdata_Photos_PhotoQuery
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

string $_albumId = nullMutually exclusive with AlbumName.
nullDetails- Type
- string

string $_albumName = nullMutually exclusive with AlbumId.
nullDetails- Type
- string

string $_category = nullnullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_category
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_category

string $_defaultFeedUri = nullnullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_defaultFeedUri
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_defaultFeedUri

array $_params = array()array()Details- Type
- array
- Inherited_from
- \Zend_Gdata_Query::$$_params
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_params

string $_projection = 'api'Can be either 'api' or 'base'. Default value is 'api'.
'api'Details- Type
- string
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_projection

string $_type = 'feed'Default value is 'feed';
'feed'Details- Type
- string
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_type

string $_url = nullnullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_url
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_url

string $_user = \Zend_Gdata_Photos::DEFAULT_USERIf null, the default user will be used instead.
\Zend_Gdata_Photos::DEFAULT_USERDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Photos_UserQuery::$$_user
Methods

__construct() : voidCreate a new Query object with default values.
Inherited from: \Zend_Gdata_Photos_UserQuery::__construct()
getAccess() : stringGet the visibility filter for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::getAccess()| Type | Description |
|---|---|
| string | The visibility to filter by, or null for the default user. |
- See
- \setAccess

getAlbumId() : stringGet the album ID which is to be returned.
| Type | Description |
|---|---|
| string | The ID of the album to retrieve. |
- See
- \setAlbum

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

getCategory() : void
getImgMax() : stringGet the maximum image size filter for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::getImgMax()| Type | Description |
|---|---|
| string | The image size size to filter by, or null if no filter is to be applied. |
- See
- \setImgMax

getKind() : stringGet the kind of entries to be returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::getKind()| Type | Description |
|---|---|
| string | The kind to filter by, or null if no filter is to be applied. |
- See
- \setKind

getMaxResults() : int| Type | Description |
|---|---|
| int | maxResults |

getProjection() : stringGets the format of data in returned in Atom feeds.
Inherited from: \Zend_Gdata_Photos_UserQuery::getProjection()| Type | Description |
|---|---|
| string | projection |
- See
- \setProjection

getPublishedMax() : string| Type | Description |
|---|---|
| string | publishedMax |

getPublishedMin() : string| Type | Description |
|---|---|
| string | publishedMin |

getQueryString() : string| Type | Description |
|---|---|
| string | querystring |

getQueryUrl( $incomingUri = '') : stringReturns 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 |

getStartIndex() : int| Type | Description |
|---|---|
| int | startIndex |

getTag() : stringGet the tag filter for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::getTag()| Type | Description |
|---|---|
| string | The tag to filter by, or null if no filter is to be applied. |
- See
- \setTag

getThumbsize() : stringGet the thumbnail size filter for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::getThumbsize()| Type | Description |
|---|---|
| string | The thumbnail size to filter by, or null if no filter is to be applied. |
- See
- \setThumbsize

getType() : stringGets the type of data in returned in queries.
Inherited from: \Zend_Gdata_Photos_UserQuery::getType()| Type | Description |
|---|---|
| string | type |
- See
- \setType

getUpdatedMax() : string| Type | Description |
|---|---|
| string | updatedMax |

getUpdatedMin() : string| Type | Description |
|---|---|
| string | updatedMin |

getUser() : stringGet the user which is to be returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::getUser()| Type | Description |
|---|---|
| string | The visibility to retrieve. |
- See
- \setUser

resetParameters() : void
setAccess(string $value) : voidSet the visibility filter for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::setAccess()Only entries which match this value will be returned. If null or unset, the default value will be used instead.
Valid values are 'all' (default), 'public', and 'private'.
| Name | Type | Description |
|---|---|---|
| $value | string | The visibility to filter by, or null to use the default value. |

setAlbumId(string $value) : \Zend_Gdata_Photos_AlbumQuerySet 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_AlbumQuerySet 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. |

setAlt(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setAuthor(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setCategory(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setImgMax(string $value) : voidSet the maximum image size for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::setImgMax()Only entries which match this value will be returned. If null or unset, this filter will not be applied.
See http://code.google.com/apis/picasaweb/reference.html#Parameters for a list of valid values.
| Name | Type | Description |
|---|---|---|
| $value | string | The image size to filter by, or null if no filter is to be applied. |

setKind(string $value) : voidSet the kind of entries that are returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::setKind()Only entries which match this value will be returned. If null or unset, this filter will not be applied.
See http://code.google.com/apis/picasaweb/reference.html#Parameters for a list of valid values.
| Name | Type | Description |
|---|---|---|
| $value | string | The kind to filter by, or null if no filter is to be applied. |

setMaxResults(int $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | int |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setParam(string $name, string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setProjection(string $value) : \Zend_Gdata_Photos_UserQuerySet's the format of data returned in Atom feeds.
Inherited from: \Zend_Gdata_Photos_UserQuery::setProjection()Can be either 'api' or 'base'. Normally, 'api' will be desired. Default is 'api'.
| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Photos_UserQuery | Provides a fluent interface |

setPublishedMax(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setPublishedMin(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setQuery(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setStartIndex(int $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | int |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setTag(string $value) : voidSet the tag for entries that are returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::setTag()Only entries which match this value will be returned. If null or unset, this filter will not be applied.
See http://code.google.com/apis/picasaweb/reference.html#Parameters for a list of valid values.
| Name | Type | Description |
|---|---|---|
| $value | string | The tag to filter by, or null if no filter is to be applied. |

setThumbsize(string $value) : voidSet the thumbnail size filter for entries returned.
Inherited from: \Zend_Gdata_Photos_UserQuery::setThumbsize()Only entries which match this value will be returned. If null or unset, this filter will not be applied.
See http://code.google.com/apis/picasaweb/reference.html#Parameters for a list of valid values.
| Name | Type | Description |
|---|---|---|
| $value | string | The thumbnail size to filter by, or null if no filter is to be applied. |

setType(string $value) : \Zend_Gdata_Photos_UserQuerySet's the type of data returned in queries.
Inherited from: \Zend_Gdata_Photos_UserQuery::setType()Can be either 'feed' or 'entry'. Normally, 'feed' will be desired. Default is 'feed'.
| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Photos_UserQuery | Provides a fluent interface |

setUpdatedMax(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |

setUpdatedMin(string $value) : \Zend_Gdata_Query| Name | Type | Description |
|---|---|---|
| $value | string |
| Type | Description |
|---|---|
| \Zend_Gdata_Query | Provides a fluent interface |