API Documentation

Gdata/Photos/UserQuery.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
Photos
version
$Id: UserQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Photos_UserQuery

Description

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.

Zend_Gdata_Photos_UserQuery

Extends from
Zend_Gdata_Query
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
Photos
Properties
$_projection
$_type
$_user
Methods
__construct
setProjection
getProjection
setType
getType
setUser
getUser
setAccess
getAccess
setTag
getTag
setKind
getKind
setImgMax
getImgMax
setThumbsize
getThumbsize
getQueryUrl

Description

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.

Properties

$_projection

string $_projection = 'api'

Indicates the format of data returned in Atom feeds. Can be either 'api' or 'base'. Default value is 'api'.

Details

$_projection
string
visibility
protected
default
api
final
false
static
false

$_type

string $_type = 'feed'

Indicates whether to request a feed or entry in queries. Default value is 'feed';

Details

$_type
string
visibility
protected
default
feed
final
false
static
false

$_user

string $_user = 'Zend_Gdata_Photos'

A string which, if not null, indicates which user should be retrieved by this query. If null, the default user will be used instead.

Details

$_user
string
visibility
protected
default
Zend_Gdata_Photos
final
false
static
false

Methods

__construct

__construct( ) :

Create a new Query object with default values.

Details
visibility
public
final
false
static
false

getAccess

getAccess( ) : string

Get the visibility filter for entries returned.

Output
string
The visibility to filter by, or null for the default user.
Details
visibility
public
final
false
static
false
see
setAccess

getImgMax

getImgMax( ) : string

Get the maximum image size filter for entries returned.

Output
string
The image size size to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false
see
setImgMax

getKind

getKind( ) : string

Get the kind of entries to be returned.

Output
string
The kind to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false
see
setKind

getProjection

getProjection( ) : string

Gets the format of data in returned in Atom feeds.

Output
string
projection
Details
visibility
public
final
false
static
false
see
setProjection

getQueryUrl

getQueryUrl(  $incomingUri = null ) : string

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

Arguments
$incomingUri
Output
string
A URL generated based on the state of this query.
Details
visibility
public
final
false
static
false
throws

getTag

getTag( ) : string

Get the tag filter for entries returned.

Output
string
The tag to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false
see
setTag

getThumbsize

getThumbsize( ) : string

Get the thumbnail size filter for entries returned.

Output
string
The thumbnail size to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false
see
setThumbsize

getType

getType( ) : string

Gets the type of data in returned in queries.

Output
string
type
Details
visibility
public
final
false
static
false
see
setType

getUser

getUser( ) : string

Get the user which is to be returned.

Output
string
The visibility to retrieve.
Details
visibility
public
final
false
static
false
see
setUser

setAccess

setAccess( string $value ) :

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

Arguments
$value
string
The visibility to filter by, or null to use the default value.
Details
visibility
public
final
false
static
false

setImgMax

setImgMax( string $value ) :

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.

Arguments
$value
string
The image size to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false

setKind

setKind( string $value ) :

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.

Arguments
$value
string
The kind to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false

setProjection

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

Arguments
$value
string
Output
Zend_Gdata_Photos_UserQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

setTag

setTag( string $value ) :

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.

Arguments
$value
string
The tag to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false

setThumbsize

setThumbsize( string $value ) :

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.

Arguments
$value
string
The thumbnail size to filter by, or null if no filter is to be applied.
Details
visibility
public
final
false
static
false

setType

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

Arguments
$value
string
Output
Zend_Gdata_Photos_UserQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

setUser

setUser( string $value ) :

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.

Arguments
$value
string
The user to retrieve, or null for the default user.
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.