[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/ -> Gdata.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 241 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata:: (6 methods):
  __construct()
  import()
  getFeed()
  getEntry()
  performHttpRequest()
  isAuthenticated()


Class: Zend_Gdata  - X-Ref

Provides functionality to interact with Google data APIs
Subclasses exist to implement service-specific features

As the Google data API protocol is based upon the Atom Publishing Protocol
(APP), Gdata functionality extends the appropriate Zend_Gdata_App classes

__construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')   X-Ref
Create Gdata object

param: Zend_Http_Client $client
param: string $applicationId The identity of the app in the form of

import($uri, $client = null,$className='Zend_Gdata_Feed')   X-Ref
Imports a feed located at $uri.

param: string $uri
param: Zend_Http_Client $client The client used for communication
param: string $className The class which is used as the return type
return: string|Zend_Gdata_App_Feed Returns string only if the object

getFeed($location, $className='Zend_Gdata_Feed')   X-Ref
Retrieve feed as string or object

param: mixed $location The location as string or Zend_Gdata_Query
param: string $className The class type to use for returning the feed
return: string|Zend_Gdata_App_Feed Returns string only if the object

getEntry($location, $className='Zend_Gdata_Entry')   X-Ref
Retrieve entry as string or object

param: mixed $location The location as string or Zend_Gdata_Query
return: string|Zend_Gdata_App_Entry Returns string only if the object

performHttpRequest($method, $url, $headers = array()   X-Ref
Performs a HTTP request using the specified method.

Overrides the definition in the parent (Zend_Gdata_App)
and uses the Zend_Gdata_HttpClient functionality
to filter the HTTP requests and responses.

param: string $method The HTTP method for the request -
param: string $url The URL to which this request is being performed,
param: array $headers An associative array of HTTP headers
param: string $body The body of the HTTP request
param: string $contentType The value for the content type of the
param: int $remainingRedirects Number of redirects to follow
return: Zend_Http_Response The response object

isAuthenticated()   X-Ref
Determines whether service object is authenticated.

return: boolean True if service object is authenticated, false otherwise.



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1