Gdata/Calendar.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

Package: Zend_Gdata\Calendar
Service class for interacting with the Google Calendar data API
As the Google data API protocol is based upon the Atom Publishing Protocol (APP), Gdata functionality extends the appropriate Zend_Gdata_App classes
Parent(s)
\Zend_Gdata < \Zend_Gdata_App
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.html  

Constants

>VConstant  CALENDAR_FEED_URI = 'https://www.google.com/calendar/feeds'
>VConstant  CALENDAR_EVENT_FEED_URI = 'https://www.google.com/calendar/feeds/default/private/full'
>VConstant  AUTH_SERVICE_NAME = 'cl'

Properties

>VPropertyprotected$_defaultPostUri = self::CALENDAR_EVENT_FEED_URI
Default valueself::CALENDAR_EVENT_FEED_URIDetails
Type
n/a
>VPropertypublicarray $namespaces = array(array('gCal', 'http://schemas.google.com/gCal/2005', 1, 0))
static
Namespaces used for Zend_Gdata_Calendar
Default valuearray(array('gCal', 'http://schemas.google.com/gCal/2005', 1, 0))Details
Type
array

Methods

methodpublic__construct(\Zend_Http_Client $client = null, string $applicationId = 'MyCompany-MyApp-1.0') : void

Create Gdata_Calendar object

Parameters
NameTypeDescription
$client\Zend_Http_Client

(optional) The HTTP client to use when

     when communicating with the Google servers.
$applicationIdstring

The identity of the app in the form of Company-AppName-Version

methodpublicgetCalendarEventEntry( $location = null) : \Zend_Gdata_Calendar_EventEntry

Retreive entry object

Parameters
NameTypeDescription
$location
Returns
TypeDescription
\Zend_Gdata_Calendar_EventEntry
methodpublicgetCalendarEventFeed(mixed $location = null) : \Zend_Gdata_Calendar_EventFeed

Retreive feed object

Parameters
NameTypeDescription
$locationmixed

The location for the feed, as a URL or Query

Returns
TypeDescription
\Zend_Gdata_Calendar_EventFeed
methodpublicgetCalendarListEntry( $location = null) : \Zend_Gdata_Calendar_ListEntry

Retreive entryobject

Parameters
NameTypeDescription
$location
Returns
TypeDescription
\Zend_Gdata_Calendar_ListEntry
methodpublicgetCalendarListFeed() : \Zend_Gdata_Calendar_ListFeed

Retrieve feed object

Returns
TypeDescription
\Zend_Gdata_Calendar_ListFeed
methodpublicinsertEvent( $event,  $uri = null) : void

Parameters
NameTypeDescription
$event
$uri
Documentation was generated by phpDocumentor 2.2.0 .