Gdata/Calendar/EventQuery.php
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
Properties
$_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 value
null
Details- Type
- n/a
$_defaultFeedUri = self::CALENDAR_FEED_URI
The default URI used for feeds.
Default value
self::CALENDAR_FEED_URI
Details- Type
- n/a
$_event = null
The event ID to retrieve. If null, no specific event will be retrieved
unless already included in the query URI.
Default value
null
Details- Type
- n/a
$_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
$_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
Methods
__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.
ParametersName | Type | Description |
---|---|---|
$url | string | The URL to use as the base path for requests |
getSingleEvents() : \Zend_Gdata_Calendar_EventQuery
Returns
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setComments(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setEvent(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setFutureEvents(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | string | Also accepts bools. If using a string, must be either "true" or "false" or
|
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setOrderBy(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setProjection(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setRecurrenceExpansionEnd( $value) : string
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
string | recurrence-expansion-end |
setRecurrenceExpansionStart( $value) : string
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
string | recurrence-expansion-start |
setSingleEvents(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | string | Also accepts bools. If using a string, must be either "true" or "false". |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setSortOrder( $value) : string
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
string | sortorder |
setStartMax(int $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | int |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setStartMin(int $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Name | Type | Description |
---|---|---|
$value | int |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setUser(string $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |
setVisibility(bool $value) : \Zend_Gdata_Calendar_EventQuery
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$value | bool |
Type | Description |
---|---|
\Zend_Gdata_Calendar_EventQuery | Provides a fluent interface |