Gdata/Calendar/EventQuery.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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
Calendar  
Version
$Id$  

\Zend_Gdata_Calendar_EventQuery

Package: Zend_Gdata\Calendar
Assists in constructing queries for Google Calendar events
Queries are not defined for APP, but are provided by Gdata services as an extension.
Parent(s)
\Zend_Gdata_Query
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Link
http://code.google.com/apis/gdata/calendar/  

Constants

>VConstant  CALENDAR_FEED_URI = 'https://www.google.com/calendar/feeds'

Properties

>VPropertyprotected$_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.
Default valuenullDetails
Type
n/a
>VPropertyprotected$_defaultFeedUri = self::CALENDAR_FEED_URI
The default URI used for feeds.
Default valueself::CALENDAR_FEED_URIDetails
Type
n/a
>VPropertyprotected$_event = null
The event ID to retrieve. If null, no specific event will be retrieved unless already included in the query URI.
Default valuenullDetails
Type
n/a
>VPropertyprotected$_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.
Default value'full'Details
Type
n/a
>VPropertyprotected$_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.
Default value'default'Details
Type
n/a
>VPropertyprotected$_visibility = 'public'
Default value'public'Details
Type
n/a

Methods

methodpublic__construct(string $url = null) : void

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 'https://www.google.com/calendar', the default URL constructed will be 'https://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.
Parameters
NameTypeDescription
$urlstring

The URL to use as the base path for requests

methodpublicgetComments() : string

Returns
TypeDescription
stringcomments
Details
See
 
methodpublicgetEvent() : string

Returns
TypeDescription
stringevent
Details
See
 
methodpublicgetFutureEvents() : string

Returns
TypeDescription
stringfutureevents
methodpublicgetOrderBy() : string

Returns
TypeDescription
stringorderby
methodpublicgetProjection() : string

Returns
TypeDescription
stringprojection
Details
See
 
methodpublicgetQueryUrl() : string

Returns
TypeDescription
stringurl
methodpublicgetRecurrenceExpansionEnd() : string

Returns
TypeDescription
stringrecurrence-expansion-end
methodpublicgetRecurrenceExpansionStart() : string

Returns
TypeDescription
stringrecurrence-expansion-start
methodpublicgetSingleEvents() : \Zend_Gdata_Calendar_EventQuery

Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
methodpublicgetSortOrder() : string

Returns
TypeDescription
stringsortorder
methodpublicgetStartMax() : int

Returns
TypeDescription
intstart-max
methodpublicgetStartMin() : int

Returns
TypeDescription
intstart-min
methodpublicgetUser() : string

Returns
TypeDescription
stringuser
Details
See
 
methodpublicgetVisibility() : string

Returns
TypeDescription
stringvisibility
Details
See
 
methodpublicsetComments(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
Details
See
 
methodpublicsetEvent(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
Details
See
 
methodpublicsetFutureEvents(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring

Also accepts bools. If using a string, must be either "true" or "false" or

                 an exception will be thrown on retrieval.
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
methodpublicsetOrderBy(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
methodpublicsetProjection(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
Details
See
 
methodpublicsetRecurrenceExpansionEnd( $value) : string

Parameters
NameTypeDescription
$value
Returns
TypeDescription
stringrecurrence-expansion-end
methodpublicsetRecurrenceExpansionStart( $value) : string

Parameters
NameTypeDescription
$value
Returns
TypeDescription
stringrecurrence-expansion-start
methodpublicsetSingleEvents(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring

Also accepts bools. If using a string, must be either "true" or "false".

Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
methodpublicsetSortOrder( $value) : string

Parameters
NameTypeDescription
$value
Returns
TypeDescription
stringsortorder
methodpublicsetStartMax(int $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valueint
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
methodpublicsetStartMin(int $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valueint
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
methodpublicsetUser(string $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
Details
See
 
methodpublicsetVisibility(bool $value) : \Zend_Gdata_Calendar_EventQuery

Parameters
NameTypeDescription
$valuebool
Returns
TypeDescription
\Zend_Gdata_Calendar_EventQueryProvides a fluent interface
Details
See
 
Documentation was generated by phpDocumentor 2.2.0 .