Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Gdata_Photos_PhotoQuery Class Reference

Public Member Functions

 setPhotoId ($value)
 Set the photo ID to query for.
 
 getPhotoId ()
 Get the photo ID which is to be returned.
 
 getQueryUrl ($incomingUri= '')
 Returns the URL generated for this query, based on it's current parameters.
 
- Public Member Functions inherited from Zend_Gdata_Photos_AlbumQuery
 setAlbumName ($value)
 Set the album name to query for.
 
 getAlbumName ()
 Get the album name which is to be returned.
 
 setAlbumId ($value)
 Set the album ID to query for.
 
 getAlbumId ()
 Get the album ID which is to be returned.
 
 getQueryUrl ($incomingUri= '')
 Returns the URL generated for this query, based on it's current parameters.
 
- Public Member Functions inherited from Zend_Gdata_Photos_UserQuery
 __construct ()
 Create a new Query object with default values.
 
 setProjection ($value)
 Set's the format of data returned in Atom feeds.
 
 getProjection ()
 Gets the format of data in returned in Atom feeds.
 
 setType ($value)
 Set's the type of data returned in queries.
 
 getType ()
 Gets the type of data in returned in queries.
 
 setUser ($value)
 Set the user to query for.
 
 getUser ()
 Get the user which is to be returned.
 
 setAccess ($value)
 Set the visibility filter for entries returned.
 
 getAccess ()
 Get the visibility filter for entries returned.
 
 setTag ($value)
 Set the tag for entries that are returned.
 
 getTag ()
 Get the tag filter for entries returned.
 
 setKind ($value)
 Set the kind of entries that are returned.
 
 getKind ()
 Get the kind of entries to be returned.
 
 setImgMax ($value)
 Set the maximum image size for entries returned.
 
 getImgMax ()
 Get the maximum image size filter for entries returned.
 
 setThumbsize ($value)
 Set the thumbnail size filter for entries returned.
 
 getThumbsize ()
 Get the thumbnail size filter for entries returned.
 
 getQueryUrl ($incomingUri=null)
 Returns the URL generated for this query, based on it's current parameters.
 
- Public Member Functions inherited from Zend_Gdata_Query
 __construct ($url=null)
 Create Gdata_Query object.
 
 getQueryString ()
 
 resetParameters ()
 
 getQueryUrl ()
 
 setParam ($name, $value)
 
 getParam ($name)
 
 setAlt ($value)
 
 setMaxResults ($value)
 
 setQuery ($value)
 
 setStartIndex ($value)
 
 setUpdatedMax ($value)
 
 setUpdatedMin ($value)
 
 setPublishedMax ($value)
 
 setPublishedMin ($value)
 
 setAuthor ($value)
 
 getAlt ()
 
 getMaxResults ()
 
 getQuery ()
 
 getStartIndex ()
 
 getUpdatedMax ()
 
 getUpdatedMin ()
 
 getPublishedMax ()
 
 getPublishedMin ()
 
 getAuthor ()
 
 setCategory ($value)
 
 getCategory ()
 
 __get ($name)
 
 __set ($name, $val)
 

Protected Attributes

 $_photoId = null
 
- Protected Attributes inherited from Zend_Gdata_Photos_AlbumQuery
 $_albumName = null
 
 $_albumId = null
 
- Protected Attributes inherited from Zend_Gdata_Photos_UserQuery
 $_projection = 'api'
 
 $_type = 'feed'
 
 $_user = Zend_Gdata_Photos::DEFAULT_USER
 
- Protected Attributes inherited from Zend_Gdata_Query
 $_params = array()
 
 $_defaultFeedUri = null
 
 $_url = null
 
 $_category = null
 

Member Function Documentation

getPhotoId ( )

Get the photo ID which is to be returned.

See Also
setPhoto
Returns
string The ID of the photo to retrieve.
getQueryUrl (   $incomingUri = '')

Returns the URL generated for this query, based on it's current parameters.

Returns
string A URL generated based on the state of this query.
Exceptions
Zend_Gdata_App_InvalidArgumentException
setPhotoId (   $value)

Set the photo ID to query for.

When set, this photo's comments/tags will be returned. If not set or null, the default user's feed will be returned instead.

Parameters
string$valueThe ID of the photo to retrieve, or null to clear.

Member Data Documentation

$_photoId = null
protected