API Documentation

Gdata/Calendar/EventQuery.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
Calendar
version
$Id: EventQuery.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Calendar_EventQuery

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_Calendar_EventQuery

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
link
http://code.google.com/apis/gdata/calendar/
package
Zend_Gdata
subpackage
Calendar
Constants
CALENDAR_FEED_URI
Properties
$_defaultFeedUri
$_comments
$_user
$_visibility
$_projection
$_event
Methods
__construct
setComments
setEvent
setProjection
setUser
setVisibility
getComments
getEvent
getProjection
getUser
getVisibility
setStartMax
setStartMin
setOrderBy
getStartMax
getStartMin
getOrderBy
getSortOrder
setSortOrder
getRecurrenceExpansionStart
setRecurrenceExpansionStart
getRecurrenceExpansionEnd
setRecurrenceExpansionEnd
getSingleEvents
setSingleEvents
getFutureEvents
setFutureEvents
getQueryUrl

Description

Assists in constructing queries for Google Calendar events

Constants

CALENDAR_FEED_URI

 CALENDAR_FEED_URI = 'http://www.google.com/calendar/feeds'

Details

value
http://www.google.com/calendar/feeds

Properties

$_comments

 $_comments = 'null'

The comment ID to retrieve. If null, no specific comment will be retrieved unless already included in the query URI. The event ID ($_event) must be set, otherwise this property is ignored.

Details

visibility
protected
default
null
final
false
static
false

$_defaultFeedUri

 $_defaultFeedUri = 'self'

The default URI used for feeds.

Details

visibility
protected
default
self
final
false
static
false

$_event

 $_event = 'null'

The event ID to retrieve. If null, no specific event will be retrieved unless already included in the query URI.

Details

visibility
protected
default
null
final
false
static
false

$_projection

 $_projection = 'full'

Projection to be requested by queries. Defaults to "full". A null value should be used when the calendar address has already been set as part of the query URI.

Details

visibility
protected
default
full
final
false
static
false

$_user

 $_user = 'default'

The calendar address to be requested by queries. This may be an email address if requesting the primary calendar for a user. Defaults to "default" (the currently authenticated user). A null value should be used when the calendar address has already been set as part of the query URI.

Details

visibility
protected
default
default
final
false
static
false

$_visibility

 $_visibility = 'public'

Details

visibility
protected
default
public
final
false
static
false

Methods

__construct

__construct( string $url = null ) :

Create Gdata_Calendar_EventQuery object. If a URL is provided, it becomes the base URL, and additional URL components may be appended. For instance, if $url is 'http://www.google.com/calendar', the default URL constructed will be 'http://www.google.com/calendar/default/public/full'.

If the URL already contains a calendar ID, projection, visibility, event ID, or comment ID, you will need to set these fields to null to prevent them from being inserted. See this class's properties for more information.

Arguments
$url
string
The URL to use as the base path for requests
Details
visibility
public
final
false
static
false

getComments

getComments( ) : string

Output
string
comments
Details
visibility
public
final
false
static
false
see
$_comments;

getEvent

getEvent( ) : string

Output
string
event
Details
visibility
public
final
false
static
false
see
$_event;

getFutureEvents

getFutureEvents( ) : string

Output
string
futureevents
Details
visibility
public
final
false
static
false

getOrderBy

getOrderBy( ) : string

Output
string
orderby
Details
visibility
public
final
false
static
false

getProjection

getProjection( ) : string

Output
string
projection
Details
visibility
public
final
false
static
false
see
$_projection

getQueryUrl

getQueryUrl( ) : string

Output
string
url
Details
visibility
public
final
false
static
false

getRecurrenceExpansionEnd

getRecurrenceExpansionEnd( ) : string

Output
string
recurrence-expansion-end
Details
visibility
public
final
false
static
false

getRecurrenceExpansionStart

getRecurrenceExpansionStart( ) : string

Output
string
recurrence-expansion-start
Details
visibility
public
final
false
static
false

getSingleEvents

getSingleEvents( ) : Zend_Gdata_Calendar_EventQuery

Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

getSortOrder

getSortOrder( ) : string

Output
string
sortorder
Details
visibility
public
final
false
static
false

getStartMax

getStartMax( ) : int

Output
int
start-max
Details
visibility
public
final
false
static
false

getStartMin

getStartMin( ) : int

Output
int
start-min
Details
visibility
public
final
false
static
false

getUser

getUser( ) : string

Output
string
user
Details
visibility
public
final
false
static
false
see
$_user

getVisibility

getVisibility( ) : string

Output
string
visibility
Details
visibility
public
final
false
static
false
see
$_visibility

setComments

setComments( string $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
string
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false
see
$_comments

setEvent

setEvent( string $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
string
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false
see
$_event

setFutureEvents

setFutureEvents( string $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
string
Also accepts bools. If using a string, must be either "true" or "false" or an exception will be thrown on retrieval.
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

setOrderBy

setOrderBy( string $value ) : Zend_Gdata_Calendar_EventQuery

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

setProjection

setProjection( string $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
string
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false
see
$_projection

setRecurrenceExpansionEnd

setRecurrenceExpansionEnd(  $value ) : string

Arguments
$value
Output
string
recurrence-expansion-end
Details
visibility
public
final
false
static
false

setRecurrenceExpansionStart

setRecurrenceExpansionStart(  $value ) : string

Arguments
$value
Output
string
recurrence-expansion-start
Details
visibility
public
final
false
static
false

setSingleEvents

setSingleEvents( string $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
string
Also accepts bools. If using a string, must be either "true" or "false".
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

setSortOrder

setSortOrder(  $value ) : string

Arguments
$value
Output
string
sortorder
Details
visibility
public
final
false
static
false

setStartMax

setStartMax( int $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
int
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

setStartMin

setStartMin( int $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
int
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false

setUser

setUser( string $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
string
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false
see
$_user

setVisibility

setVisibility( bool $value ) : Zend_Gdata_Calendar_EventQuery

Arguments
$value
bool
Output
Zend_Gdata_Calendar_EventQuery
Provides a fluent interface
Details
visibility
public
final
false
static
false
see
$_visibility
Documentation was generated by DocBlox.