|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($client=null, $applicationId= 'MyCompany-MyApp-1.0') | |
| getFeed ($location, $className='Zend_Gdata_Feed') | |
| getEntry ($location, $className='Zend_Gdata_Entry') | |
| performHttpRequest ($method, $url, $headers=array(), $body=null, $contentType=null, $remainingRedirects=null) | |
| isAuthenticated () | |
Static Public Member Functions | |
| static | import ($uri, $client=null, $className='Zend_Gdata_Feed') |
Data Fields | |
| const | AUTH_SERVICE_NAME = 'xapi' |
Static Public Attributes | |
| static | $namespaces |
Protected Attributes | |
| $_defaultPostUri = null | |
| $_registeredPackages | |
| $_httpClient | |
Static Protected Attributes | |
| static | $_staticHttpClient = null |
| __construct | ( | $ | client = null, |
| $ | applicationId = 'MyCompany-MyApp-1.0' |
||
| ) |
Create Gdata object
| Zend_Http_Client | $client | |
| string | $applicationId | The identity of the app in the form of Company-AppName-Version |
Reimplemented from Zend_Gdata_App.
Reimplemented in Zend_Gdata_Photos, Zend_Gdata_Spreadsheets, Zend_Gdata_Gbase, Zend_Gdata_Docs, Zend_Gdata_Books, Zend_Gdata_Calendar, Zend_Gdata_Geo, Zend_Gdata_DublinCore, Zend_Gdata_Exif, and Zend_Gdata_Media.
| getEntry | ( | $ | location, |
| $ | className = 'Zend_Gdata_Entry' |
||
| ) |
Retrieve entry as string or object
| mixed | $location | The location as string or Zend_Gdata_Query |
| Zend_Gdata_App_InvalidArgumentException |
Reimplemented from Zend_Gdata_App.
Definition at line 175 of file Gdata.php.

| getFeed | ( | $ | location, |
| $ | className = 'Zend_Gdata_Feed' |
||
| ) |
Retrieve feed as string or object
| mixed | $location | The location as string or Zend_Gdata_Query |
| string | $className | The class type to use for returning the feed |
| Zend_Gdata_App_InvalidArgumentException |
Reimplemented from Zend_Gdata_App.
Definition at line 150 of file Gdata.php.

| static import | ( | $ | uri, |
| $ | client = null, |
||
| $ | className = 'Zend_Gdata_Feed' |
||
| ) | [static] |
Imports a feed located at $uri.
| string | $uri | |
| Zend_Http_Client | $client | The client used for communication |
| string | $className | The class which is used as the return type |
| Zend_Gdata_App_Exception |
Reimplemented from Zend_Gdata_App.
Reimplemented in Zend_Gdata_Gapps.
Definition at line 123 of file Gdata.php.

| isAuthenticated | ( | ) |
| performHttpRequest | ( | $ | method, |
| $ | url, | ||
| $ | headers = array(), |
||
| $ | body = null, |
||
| $ | contentType = null, |
||
| $ | remainingRedirects = null |
||
| ) |
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.
| string | $method | The HTTP method for the request - 'GET', 'POST', 'PUT', 'DELETE' |
| string | $url | The URL to which this request is being performed, or null if found in $data |
| array | $headers | An associative array of HTTP headers for this request |
| string | $body | The body of the HTTP request |
| string | $contentType | The value for the content type of the request body |
| int | $remainingRedirects | Number of redirects to follow if requests results in one |
Reimplemented from Zend_Gdata_App.
$_defaultPostUri = null [protected] |
Reimplemented from Zend_Gdata_App.
Reimplemented in Zend_Gdata_Gbase, Zend_Gdata_Docs, and Zend_Gdata_Calendar.
$_httpClient [protected] |
Reimplemented from Zend_Gdata_App.
$_registeredPackages [protected] |
array( 'Zend_Gdata_Kind', 'Zend_Gdata_Extension', 'Zend_Gdata', 'Zend_Gdata_App_Extension', 'Zend_Gdata_App')
Reimplemented from Zend_Gdata_App.
$_staticHttpClient = null [static, protected] |
Reimplemented from Zend_Gdata_App.
$namespaces [static] |
array( array('gd', 'http://schemas.google.com/g/2005', 1, 0), array('openSearch', 'http://a9.com/-/spec/opensearchrss/1.0/', 1, 0), array('openSearch', 'http://a9.com/-/spec/opensearch/1.1/', 2, 0), array('rss', 'http://blogs.law.harvard.edu/tech/rss', 1, 0) )
Reimplemented in Zend_Gdata_YouTube, Zend_Gdata_Photos, Zend_Gdata_Spreadsheets, Zend_Gdata_Gapps, Zend_Gdata_Health, Zend_Gdata_Gbase, Zend_Gdata_Books, Zend_Gdata_Calendar, Zend_Gdata_Geo, Zend_Gdata_DublinCore, Zend_Gdata_Exif, and Zend_Gdata_Media.
| const AUTH_SERVICE_NAME = 'xapi' |
Reimplemented in Zend_Gdata_Spreadsheets, Zend_Gdata_YouTube, Zend_Gdata_Gbase, Zend_Gdata_Gapps, Zend_Gdata_Books, Zend_Gdata_Docs, Zend_Gdata_Calendar, and Zend_Gdata_Photos.