[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/App/ -> FeedEntryParent.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: 681 lines (21 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 37 functions

  __construct()
  setHttpClient()
  getHttpClient()
  setService()
  getService()
  getDOM()
  takeChildFromDOM()
  getAuthor()
  setAuthor()
  getCategory()
  setCategory()
  getContributor()
  setContributor()
  getId()
  setId()
  getLink()
  getEditLink()
  getNextLink()
  getPreviousLink()
  getLicenseLink()
  getSelfLink()
  getAlternateLink()
  setLink()
  getRights()
  setRights()
  getTitle()
  getTitleValue()
  setTitle()
  getUpdated()
  setUpdated()
  setEtag()
  getEtag()
  setMajorProtocolVersion()
  getMajorProtocolVersion()
  setMinorProtocolVersion()
  getMinorProtocolVersion()
  lookupNamespace()

Functions
Functions that are not part of a class:

__construct($element = null)   X-Ref
Constructs a Feed or Entry


setHttpClient(Zend_Http_Client $httpClient)   X-Ref
Set the HTTP client instance

Sets the HTTP client object to use for retrieving the feed.

param: Zend_Http_Client $httpClient
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getHttpClient()   X-Ref
Gets the HTTP client object. If none is set, a new Zend_Http_Client
will be used.

return: Zend_Http_Client_Abstract

setService($instance)   X-Ref
Set the active service instance for this object. This will be used to
perform network requests, such as when calling save() and delete().

param: Zend_Gdata_App $instance The new service instance.
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface.

getService()   X-Ref
Get the active service instance for this object. This will be used to
perform network requests, such as when calling save() and delete().

return: Zend_Gdata_App|null The current service instance, or null if

getDOM($doc = null, $majorVersion = 1, $minorVersion = null)   X-Ref
No description

takeChildFromDOM($child)   X-Ref
No description

getAuthor()   X-Ref

return: Zend_Gdata_App_Extension_Author

setAuthor($value)   X-Ref
Sets the list of the authors of this feed/entry.  In an atom feed, each
author is represented by an atom:author element

param: array $value
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getCategory()   X-Ref
Returns the array of categories that classify this feed/entry.  Each
category is represented in an atom feed by an atom:category element.

return: array Array of Zend_Gdata_App_Extension_Category

setCategory($value)   X-Ref
Sets the array of categories that classify this feed/entry.  Each
category is represented in an atom feed by an atom:category element.

param: array $value Array of Zend_Gdata_App_Extension_Category
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getContributor()   X-Ref
Returns the array of contributors to this feed/entry.  Each contributor
is represented in an atom feed by an atom:contributor XML element

return: array An array of Zend_Gdata_App_Extension_Contributor

setContributor($value)   X-Ref
Sets the array of contributors to this feed/entry.  Each contributor
is represented in an atom feed by an atom:contributor XML element

param: array $value
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getId()   X-Ref

return: Zend_Gdata_App_Extension_Id

setId($value)   X-Ref

param: Zend_Gdata_App_Extension_Id $value
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getLink($rel = null)   X-Ref
Given a particular 'rel' value, this method returns a matching
Zend_Gdata_App_Extension_Link element.  If the 'rel' value
is not provided, the full array of Zend_Gdata_App_Extension_Link
elements is returned.  In an atom feed, each link is represented
by an atom:link element.  The 'rel' value passed to this function
is the atom:link/@rel attribute.  Example rel values include 'self',
'edit', and 'alternate'.

param: string $rel The rel value of the link to be found.  If null,
return: mixed Either a single Zend_Gdata_App_Extension_link element,

getEditLink()   X-Ref
Returns the Zend_Gdata_App_Extension_Link element which represents
the URL used to edit this resource.  This link is in the atom feed/entry
as an atom:link with a rel attribute value of 'edit'.

return: Zend_Gdata_App_Extension_Link The link, or null if not found

getNextLink()   X-Ref
Returns the Zend_Gdata_App_Extension_Link element which represents
the URL used to retrieve the next chunk of results when paging through
a feed.  This link is in the atom feed as an atom:link with a
rel attribute value of 'next'.

return: Zend_Gdata_App_Extension_Link The link, or null if not found

getPreviousLink()   X-Ref
Returns the Zend_Gdata_App_Extension_Link element which represents
the URL used to retrieve the previous chunk of results when paging
through a feed.  This link is in the atom feed as an atom:link with a
rel attribute value of 'previous'.

return: Zend_Gdata_App_Extension_Link The link, or null if not found

getLicenseLink()   X-Ref

return: Zend_Gdata_App_Extension_Link

getSelfLink()   X-Ref
Returns the Zend_Gdata_App_Extension_Link element which represents
the URL used to retrieve the entry or feed represented by this object
This link is in the atom feed/entry as an atom:link with a
rel attribute value of 'self'.

return: Zend_Gdata_App_Extension_Link The link, or null if not found

getAlternateLink()   X-Ref
Returns the Zend_Gdata_App_Extension_Link element which represents
the URL for an alternate view of the data represented by this feed or
entry.  This alternate view is commonly a user-facing webpage, blog
post, etc.  The MIME type for the data at the URL is available from the
returned Zend_Gdata_App_Extension_Link element.
This link is in the atom feed/entry as an atom:link with a
rel attribute value of 'self'.

return: Zend_Gdata_App_Extension_Link The link, or null if not found

setLink($value)   X-Ref

param: array $value The array of Zend_Gdata_App_Extension_Link elements
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getRights()   X-Ref

return: Zend_Gdata_AppExtension_Rights

setRights($value)   X-Ref

param: Zend_Gdata_App_Extension_Rights $value
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getTitle()   X-Ref
Returns the title of this feed or entry.  The title is an extremely
short textual representation of this resource and is found as
an atom:title element in a feed or entry

return: Zend_Gdata_App_Extension_Title

getTitleValue()   X-Ref
Returns a string representation of the title of this feed or entry.
The title is an extremely short textual representation of this
resource and is found as an atom:title element in a feed or entry

return: string

setTitle($value)   X-Ref
Returns the title of this feed or entry.  The title is an extremely
short textual representation of this resource and is found as
an atom:title element in a feed or entry

param: Zend_Gdata_App_Extension_Title $value
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

getUpdated()   X-Ref

return: Zend_Gdata_App_Extension_Updated

setUpdated($value)   X-Ref

param: Zend_Gdata_App_Extension_Updated $value
return: Zend_Gdata_App_FeedEntryParent Provides a fluent interface

setEtag($value)   X-Ref
Set the Etag for the current entry to $value. Setting $value to null
unsets the Etag.

param: string|null $value
return: Zend_Gdata_App_Entry Provides a fluent interface

getEtag()   X-Ref
Return the Etag for the current entry, or null if not set.

return: string|null

setMajorProtocolVersion($value)   X-Ref
Set the major protocol version that should be used. Values < 1
(excluding NULL) will cause a Zend_Gdata_App_InvalidArgumentException
to be thrown.

param: (int|NULL) $value The major protocol version to use.

getMajorProtocolVersion()   X-Ref
Get the major protocol version that is in use.

return: (int|NULL) The major protocol version in use.

setMinorProtocolVersion($value)   X-Ref
Set the minor protocol version that should be used. If set to NULL, no
minor protocol version will be sent to the server. Values < 0 will
cause a Zend_Gdata_App_InvalidArgumentException to be thrown.

param: (int|NULL) $value The minor protocol version to use.

getMinorProtocolVersion()   X-Ref
Get the minor protocol version that is in use.

return: (int|NULL) The major protocol version in use, or NULL if no

lookupNamespace($prefix,$majorVersion = null,$minorVersion = null)   X-Ref
Get the full version of a namespace prefix

Looks up a prefix (atom:, etc.) in the list of registered
namespaces and returns the full namespace URI if
available. Returns the prefix, unmodified, if it's not
registered.

The current entry or feed's version will be used when performing the
namespace lookup unless overridden using $majorVersion and
$minorVersion. If the entry/fee has a null version, then the latest
protocol version will be used by default.

param: string $prefix The namespace prefix to lookup.
param: integer $majorVersion The major protocol version in effect.
param: integer $minorVersion The minor protocol version in effect.
return: string



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