Gdata/Photos/UserQuery.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.

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: UserQuery.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Gdata_Photos_UserQuery

Package: Zend\Gdata\Photos
Assists in constructing queries for user 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.

Parent(s)
\Zend_Gdata_Query
Children
\Zend_Gdata_Photos_AlbumQuery
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_category = null
inherited
Category for the query
Inherited from: \Zend_Gdata_Query::$$_category
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_Query::$$_category  
>VPropertyprotectedstring $_defaultFeedUri = null
inherited
Default URL
Inherited from: \Zend_Gdata_Query::$$_defaultFeedUri
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_Query::$$_defaultFeedUri  
>VPropertyprotectedarray $_params = array()
inherited
Query parameters.
Inherited from: \Zend_Gdata_Query::$$_params
Default valuearray()Details
Type
array
Inherited_from
\Zend_Gdata_Query::$$_params  
>VPropertyprotectedstring $_projection = 'api'
Indicates the format of data returned in Atom feeds.

Can be either 'api' or 'base'. Default value is 'api'.

Default value'api'Details
Type
string
>VPropertyprotectedstring $_type = 'feed'
Indicates whether to request a feed or entry in queries.

Default value is 'feed';

Default value'feed'Details
Type
string
>VPropertyprotectedstring $_url = null
inherited
Base URL TODO: Add setters and getters
Inherited from: \Zend_Gdata_Query::$$_url
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_Query::$$_url  
>VPropertyprotectedstring $_user = \Zend_Gdata_Photos::DEFAULT_USER
A string which, if not null, indicates which user should be retrieved by this query.

If null, the default user will be used instead.

Default value\Zend_Gdata_Photos::DEFAULT_USERDetails
Type
string

Methods

methodpublic__construct() : void

Create a new Query object with default values.

methodpublic__get( $name) : void
inherited

Inherited from: \Zend_Gdata_Query::__get()
Parameters
NameTypeDescription
$name
methodpublic__set( $name,  $val) : void
inherited

Inherited from: \Zend_Gdata_Query::__set()
Parameters
NameTypeDescription
$name
$val
methodpublicgetAccess() : string

Get the visibility filter for entries returned.

Returns
TypeDescription
stringThe visibility to filter by, or null for the default user.
Details
See
\setAccess  
methodpublicgetAlt() : string
inherited

Inherited from: \Zend_Gdata_Query::getAlt()
Returns
TypeDescription
stringrss or atom
methodpublicgetAuthor() : string
inherited

Inherited from: \Zend_Gdata_Query::getAuthor()
Returns
TypeDescription
stringauthor
methodpublicgetCategory() : void
inherited

Inherited from: \Zend_Gdata_Query::getCategory()
methodpublicgetImgMax() : string

Get the maximum image size filter for entries returned.

Returns
TypeDescription
stringThe image size size to filter by, or null if no filter is to be applied.
Details
See
\setImgMax  
methodpublicgetKind() : string

Get the kind of entries to be returned.

Returns
TypeDescription
stringThe kind to filter by, or null if no filter is to be applied.
Details
See
\setKind  
methodpublicgetMaxResults() : int
inherited

Inherited from: \Zend_Gdata_Query::getMaxResults()
Returns
TypeDescription
intmaxResults
methodpublicgetParam(string $name) : void
inherited

Inherited from: \Zend_Gdata_Query::getParam()
Parameters
NameTypeDescription
$namestring
methodpublicgetProjection() : string

Gets the format of data in returned in Atom feeds.

Returns
TypeDescription
stringprojection
Details
See
\setProjection  
methodpublicgetPublishedMax() : string
inherited

Inherited from: \Zend_Gdata_Query::getPublishedMax()
Returns
TypeDescription
stringpublishedMax
methodpublicgetPublishedMin() : string
inherited

Inherited from: \Zend_Gdata_Query::getPublishedMin()
Returns
TypeDescription
stringpublishedMin
methodpublicgetQuery() : string
inherited

Inherited from: \Zend_Gdata_Query::getQuery()
Returns
TypeDescription
stringquery
methodpublicgetQueryString() : string
inherited

Inherited from: \Zend_Gdata_Query::getQueryString()
Returns
TypeDescription
stringquerystring
methodpublicgetQueryUrl( $incomingUri = null) : string

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

Parameters
NameTypeDescription
$incomingUri
Returns
TypeDescription
stringA URL generated based on the state of this query.
Throws
ExceptionDescription
\Zend_Gdata_App_InvalidArgumentException
methodpublicgetStartIndex() : int
inherited

Inherited from: \Zend_Gdata_Query::getStartIndex()
Returns
TypeDescription
intstartIndex
methodpublicgetTag() : string

Get the tag filter for entries returned.

Returns
TypeDescription
stringThe tag to filter by, or null if no filter is to be applied.
Details
See
\setTag  
methodpublicgetThumbsize() : string

Get the thumbnail size filter for entries returned.

Returns
TypeDescription
stringThe thumbnail size to filter by, or null if no filter is to be applied.
Details
See
\setThumbsize  
methodpublicgetType() : string

Gets the type of data in returned in queries.

Returns
TypeDescription
stringtype
Details
See
\setType  
methodpublicgetUpdatedMax() : string
inherited

Inherited from: \Zend_Gdata_Query::getUpdatedMax()
Returns
TypeDescription
stringupdatedMax
methodpublicgetUpdatedMin() : string
inherited

Inherited from: \Zend_Gdata_Query::getUpdatedMin()
Returns
TypeDescription
stringupdatedMin
methodpublicgetUser() : string

Get the user which is to be returned.

Returns
TypeDescription
stringThe visibility to retrieve.
Details
See
\setUser  
methodpublicresetParameters() : void
inherited

Inherited from: \Zend_Gdata_Query::resetParameters()
methodpublicsetAccess(string $value) : void

Set the visibility filter for entries returned.

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'.

Parameters
NameTypeDescription
$valuestring

The visibility to filter by, or null to use the default value.

methodpublicsetAlt(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setAlt()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetAuthor(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setAuthor()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetCategory(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setCategory()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetImgMax(string $value) : void

Set the maximum image size for entries returned.

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.

Parameters
NameTypeDescription
$valuestring

The image size to filter by, or null if no filter is to be applied.

methodpublicsetKind(string $value) : void

Set the kind of entries that are returned.

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.

Parameters
NameTypeDescription
$valuestring

The kind to filter by, or null if no filter is to be applied.

methodpublicsetMaxResults(int $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setMaxResults()
Parameters
NameTypeDescription
$valueint
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetParam(string $name, string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setParam()
Parameters
NameTypeDescription
$namestring
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetProjection(string $value) : \Zend_Gdata_Photos_UserQuery

Set's the format of data returned in Atom feeds.

Can be either 'api' or 'base'. Normally, 'api' will be desired. Default is 'api'.

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Photos_UserQueryProvides a fluent interface
methodpublicsetPublishedMax(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setPublishedMax()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetPublishedMin(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setPublishedMin()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetQuery(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setQuery()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetStartIndex(int $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setStartIndex()
Parameters
NameTypeDescription
$valueint
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetTag(string $value) : void

Set the tag for entries that are returned.

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.

Parameters
NameTypeDescription
$valuestring

The tag to filter by, or null if no filter is to be applied.

methodpublicsetThumbsize(string $value) : void

Set the thumbnail size filter for entries returned.

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.

Parameters
NameTypeDescription
$valuestring

The thumbnail size to filter by, or null if no filter is to be applied.

methodpublicsetType(string $value) : \Zend_Gdata_Photos_UserQuery

Set's the type of data returned in queries.

Can be either 'feed' or 'entry'. Normally, 'feed' will be desired. Default is 'feed'.

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Photos_UserQueryProvides a fluent interface
methodpublicsetUpdatedMax(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setUpdatedMax()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetUpdatedMin(string $value) : \Zend_Gdata_Query
inherited

Inherited from: \Zend_Gdata_Query::setUpdatedMin()
Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_QueryProvides a fluent interface
methodpublicsetUser(string $value) : void

Set the user to query for.

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

Parameters
NameTypeDescription
$valuestring

The user to retrieve, or null for the default user.

Documentation was generated by phpDocumentor 2.0.0a12.