From 06f945f27840b53e57795dadbc38e76f7e11ab1c Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 24 Feb 2014 16:42:14 +0100 Subject: init --- .../api/core/files/Gdata.App.MediaEntry.html | 474 +++++++++++++++++++++ 1 file changed, 474 insertions(+) create mode 100644 zend/documentation/api/core/files/Gdata.App.MediaEntry.html (limited to 'zend/documentation/api/core/files/Gdata.App.MediaEntry.html') diff --git a/zend/documentation/api/core/files/Gdata.App.MediaEntry.html b/zend/documentation/api/core/files/Gdata.App.MediaEntry.html new file mode 100644 index 0000000..bd86e3c --- /dev/null +++ b/zend/documentation/api/core/files/Gdata.App.MediaEntry.html @@ -0,0 +1,474 @@ + +Zend Gdata API Documentation

Gdata/App/MediaEntry.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-2012 Zend Technologies USA Inc. (http://www.zend.com) +   +
License
New BSD License +   +
Package
Zend_Gdata +   +
Subpackage
App +   +
Version
$Id: MediaEntry.php 24593 2012-01-05 20:35:02Z matthew $ +   +

\Zend_Gdata_App_MediaEntry

Package: Zend\Gdata\App
Concrete class for working with Atom entries containing multi-part data.
Parent(s)
\Zend_Gdata_App_Entry + < + \Zend_Gdata_App_FeedEntryParent + < + \Zend_Gdata_App_Base
Children
\Zend_Gdata_Entry
Category
Zend +   +
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) +   +
License
New BSD License +   +

Properties

>VPropertyprotected$_author = array()
Default valuearray()Details
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_author +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_author +   +
>VPropertyprotected$_category = array()
Default valuearray()Details
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_category +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_category +   +
>VPropertyprotected\Zend_Gdata_App_Extension_Content $_content = null
inherited
atom:content element
Inherited from: + \Zend_Gdata_App_Entry::$$_content
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Content
Inherited_from
\Zend_Gdata_App_Entry::$$_content +   +
>VPropertyprotected$_contributor = array()
Default valuearray()Details
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_contributor +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_contributor +   +
>VPropertyprotected\Zend_Gdata_App_Extension_Control $_control = null
inherited
app:control element
Inherited from: + \Zend_Gdata_App_Entry::$$_control
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Control
Inherited_from
\Zend_Gdata_App_Entry::$$_control +   +
>VPropertyprotected\Zend_Gdata_App_Extension_Edited $_edited = null
inherited
app:edited element
Inherited from: + \Zend_Gdata_App_Entry::$$_edited
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Edited
Inherited_from
\Zend_Gdata_App_Entry::$$_edited +   +
>VPropertyprotectedstring $_entryClassName = 'Zend_Gdata_App_Entry'
inherited
Class name for each entry in this feed*
Inherited from: + \Zend_Gdata_App_Entry::$$_entryClassName
Default value'Zend_Gdata_App_Entry'Details
Type
string
Inherited_from
\Zend_Gdata_App_Entry::$$_entryClassName +   +
>VPropertyprotectedstring|null $_etag = NULL
inherited
The HTTP ETag associated with this entry.
Inherited from: + \Zend_Gdata_App_FeedEntryParent::$$_etag\Zend_Gdata_App_Entry::$$_etag

Used for optimistic +concurrency in protoco v2 or greater.

Default valueNULLDetails
Type
string | null
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_etag +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_etag +   +
>VPropertyprotectedarray $_extensionAttributes = array()
Default valuearray()Details
Type
array
Inherited_from
\Zend_Gdata_App_Base::$$_extensionAttributes +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_extensionAttributes +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_extensionAttributes +   +
>VPropertyprotectedarray $_extensionElements = array()
Default valuearray()Details
Type
array
Inherited_from
\Zend_Gdata_App_Base::$$_extensionElements +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_extensionElements +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_extensionElements +   +
>VPropertyprotected$_id = null
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_id +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_id +   +
>VPropertyprotected$_link = array()
Default valuearray()Details
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_link +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_link +   +
>VPropertyprotected$_majorProtocolVersion = 1
inherited
Indicates the major protocol version that should be used.
Inherited from: + \Zend_Gdata_App_FeedEntryParent::$$_majorProtocolVersion\Zend_Gdata_App_Entry::$$_majorProtocolVersion

At present, recognized values are either 1 or 2. However, any integer +value >= 1 is considered valid.

Default value1Details
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_majorProtocolVersion +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_majorProtocolVersion +   +
See
\setMajorProtocolVersion() +   +
See
\getMajorProtocolVersion() +   +
>VPropertyprotected\Zend_Gdata_App_MediaSource $_mediaSource = null
The attached MediaSource/file
Default valuenullDetails
Type
\Zend_Gdata_App_MediaSource
>VPropertyprotected$_minorProtocolVersion = null
inherited
Indicates the minor protocol version that should be used.
Inherited from: + \Zend_Gdata_App_FeedEntryParent::$$_minorProtocolVersion\Zend_Gdata_App_Entry::$$_minorProtocolVersion

Can be set +to either an integer >= 0, or NULL if no minor version should be sent +to the server.

Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_minorProtocolVersion +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_minorProtocolVersion +   +
See
\setMinorProtocolVersion() +   +
See
\getMinorProtocolVersion() +   +
>VPropertyprotectedarray $_namespaceLookupCache = array()
staticinherited

Memoized results from calls to lookupNamespace() to avoid expensive calls to getGreatestBoundedValue(). The key is in the form 'prefix-majorVersion-minorVersion', and the value is the output from getGreatestBoundedValue().

+
Inherited from: + \Zend_Gdata_App_Base::$$_namespaceLookupCache\Zend_Gdata_App_FeedEntryParent::$$_namespaceLookupCache\Zend_Gdata_App_Entry::$$_namespaceLookupCache
Default valuearray()Details
Type
array
Inherited_from
\Zend_Gdata_App_Base::$$_namespaceLookupCache +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_namespaceLookupCache +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_namespaceLookupCache +   +
>VPropertyprotectedarray $_namespaces = array('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))

The first dimension +represents the namespace prefix, the second dimension represents the +minimum major protocol version, and the third dimension is the minimum +minor protocol version. Null keys are NOT allowed.

+ +

When looking up a namespace for a given prefix, the greatest version +number (both major and minor) which is less than the effective version +should be used.

Default valuearray('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))Details
Type
array
Inherited_from
\Zend_Gdata_App_Base::$$_namespaces +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_namespaces +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_namespaces +   +
See
\lookupNamespace() +   +
See
\registerNamespace() +   +
See
\registerAllNamespaces() +   +
>VPropertyprotected\Zend_Gdata_App_Extension_Published $_published = null
inherited
atom:published element
Inherited from: + \Zend_Gdata_App_Entry::$$_published
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Published
Inherited_from
\Zend_Gdata_App_Entry::$$_published +   +
>VPropertyprotected$_rights = null
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_rights +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_rights +   +
>VPropertyprotectedstring $_rootElement = 'entry'
inherited
Root XML element for Atom entries.
Inherited from: + \Zend_Gdata_App_Entry::$$_rootElement
Default value'entry'Details
Type
string
Inherited_from
\Zend_Gdata_App_Entry::$$_rootElement +   +
>VPropertyprotectedstring $_rootNamespace = 'atom'
Default value'atom'Details
Type
string
Inherited_from
\Zend_Gdata_App_Base::$$_rootNamespace +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_rootNamespace +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_rootNamespace +   +
>VPropertyprotectedstring $_rootNamespaceURI = null
inherited

The XML namespace URI - takes precedence over lookup up the corresponding URI for $_rootNamespace

+
Inherited from: + \Zend_Gdata_App_Base::$$_rootNamespaceURI\Zend_Gdata_App_FeedEntryParent::$$_rootNamespaceURI\Zend_Gdata_App_Entry::$$_rootNamespaceURI
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_App_Base::$$_rootNamespaceURI +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_rootNamespaceURI +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_rootNamespaceURI +   +
>VPropertyprotected$_service = null
inherited
Service instance used to make network requests.
Inherited from: + \Zend_Gdata_App_FeedEntryParent::$$_service\Zend_Gdata_App_Entry::$$_service
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_service +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_service +   +
See
getService() +   +
>VPropertyprotected\Zend_Gdata_App_Extension_Source $_source = null
inherited
atom:source element
Inherited from: + \Zend_Gdata_App_Entry::$$_source
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Source
Inherited_from
\Zend_Gdata_App_Entry::$$_source +   +
>VPropertyprotected\Zend_Gdata_App_Extension_Summary $_summary = null
inherited
atom:summary element
Inherited from: + \Zend_Gdata_App_Entry::$$_summary
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Summary
Inherited_from
\Zend_Gdata_App_Entry::$$_summary +   +
>VPropertyprotectedstring $_text = null
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_App_Base::$$_text +   +
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_text +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_text +   +
>VPropertyprotected$_title = null
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_title +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_title +   +
>VPropertyprotected$_updated = null
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_updated +   +
Inherited_from
\Zend_Gdata_App_Entry::$$_updated +   +

Methods

methodpublic__construct(\DOMElement $element = null,  $mediaSource = null) : void

Constructs a new MediaEntry, representing XML data and optional +file to upload

Parameters
NameTypeDescription
$element\DOMElement

(optional) DOMElement from which this + object should be constructed.

+
$mediaSource
methodpublic__get(string $name) : void
inherited

Magic getter to allow access like $entry->foo to call $entry->getFoo() +Alternatively, if no getFoo() is defined, but a $_foo protected variable +is defined, this is returned.

Inherited from: + \Zend_Gdata_App_Base::__get()\Zend_Gdata_App_FeedEntryParent::__get()\Zend_Gdata_App_Entry::__get()

TODO Remove ability to bypass getFoo() methods??

Parameters
NameTypeDescription
$namestring

The variable name sought

methodpublic__isset(string $name) : void
Parameters
NameTypeDescription
$namestring
methodpublic__set(string $name,  $val) : void
inherited

Magic setter to allow acces like $entry->foo='bar' to call +$entry->setFoo('bar') automatically.

Inherited from: + \Zend_Gdata_App_Base::__set()\Zend_Gdata_App_FeedEntryParent::__set()\Zend_Gdata_App_Entry::__set()

Alternatively, if no setFoo() is defined, but a $_foo protected variable +is defined, this is returned.

+ +

TODO Remove ability to bypass getFoo() methods??

Parameters
NameTypeDescription
$namestring
$val
methodpublic__toString() : string
inherited

Magic toString method allows using this directly via echo +Works best in PHP >= 4.2.0

Inherited from: + \Zend_Gdata_App_Base::__toString()\Zend_Gdata_App_FeedEntryParent::__toString()\Zend_Gdata_App_Entry::__toString()
Returns
TypeDescription
stringThe text representation of this object
methodpublic__unset(string $name) : void
Parameters
NameTypeDescription
$namestring
methodpublicdelete() : void
inherited

Deletes this entry to the server using the referenced +Zend_Http_Client to do a HTTP DELETE to the edit link stored in this +entry's link collection.

Inherited from: + \Zend_Gdata_App_Entry::delete()
Throws
ExceptionDescription
\Zend_Gdata_App_Exception
methodpublicencode() : string | \Zend_Gdata_MediaMimeStream

Return the MIME multipart representation of this MediaEntry.

Can be overridden by children to provide more complex representations +of entries.

Returns
TypeDescription
string | \Zend_Gdata_MediaMimeStreamThe MIME multipart + representation of this MediaEntry. If the entry consisted only + of XML, a string is returned.
methodpublicflushNamespaceLookupCache() : void

Empties the namespace lookup cache. Call this function if you have +added data to the namespace lookup table that contradicts values that +may have been cached during a previous call to lookupNamespace().

methodpublicgetAlternateLink() : \Zend_Gdata_App_Extension_Link
inherited

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.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getAlternateLink()\Zend_Gdata_App_Entry::getAlternateLink()

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'.

Returns
TypeDescription
\Zend_Gdata_App_Extension_LinkThe link, or null if not found
methodpublicgetCategory() : array
inherited

Returns the array of categories that classify this feed/entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getCategory()\Zend_Gdata_App_Entry::getCategory()

Each +category is represented in an atom feed by an atom:category element.

Returns
TypeDescription
arrayArray of Zend_Gdata_App_Extension_Category
methodpublicgetContent() : \Zend_Gdata_App_Extension_Content
inherited

Gets the value of the atom:content element

Inherited from: + \Zend_Gdata_App_Entry::getContent()
Returns
TypeDescription
\Zend_Gdata_App_Extension_Content
methodpublicgetContributor() : array
inherited

Returns the array of contributors to this feed/entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getContributor()\Zend_Gdata_App_Entry::getContributor()

Each contributor +is represented in an atom feed by an atom:contributor XML element

Returns
TypeDescription
arrayAn array of Zend_Gdata_App_Extension_Contributor
methodpublicgetControl() : \Zend_Gdata_App_Extension_Control
inherited

Gets the value of the app:control element

Inherited from: + \Zend_Gdata_App_Entry::getControl()
Returns
TypeDescription
\Zend_Gdata_App_Extension_Control
methodpublicgetDOM(\DOMDocument $doc = null,  $majorVersion = 1,  $minorVersion = null) : \DOMElement
inherited

Retrieves a DOMElement which corresponds to this element and all +child properties.

Inherited from: + \Zend_Gdata_App_Entry::getDOM()

This is used to build an entry back into a DOM +and eventually XML text for sending to the server upon updates, or +for application storage/persistence.

Parameters
NameTypeDescription
$doc\DOMDocument

The DOMDocument used to construct DOMElements

$majorVersion
$minorVersion
Returns
TypeDescription
\DOMElementThe DOMElement representing this element and all +child properties.
methodpublicgetEditLink() : \Zend_Gdata_App_Extension_Link
inherited

Returns the Zend_Gdata_App_Extension_Link element which represents +the URL used to edit this resource.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getEditLink()\Zend_Gdata_App_Entry::getEditLink()

This link is in the atom feed/entry +as an atom:link with a rel attribute value of 'edit'.

Returns
TypeDescription
\Zend_Gdata_App_Extension_LinkThe link, or null if not found
methodpublicgetEtag() : string | null
inherited

Return the Etag for the current entry, or null if not set.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getEtag()\Zend_Gdata_App_Entry::getEtag()
Returns
TypeDescription
string | null
methodpublicgetExtensionAttributes() : array
inherited

Returns an array of all extension attributes not transformed into data +model properties during parsing of the XML.

Inherited from: + \Zend_Gdata_App_Base::getExtensionAttributes()\Zend_Gdata_App_FeedEntryParent::getExtensionAttributes()\Zend_Gdata_App_Entry::getExtensionAttributes()

Each element of the array +is a hashed array of the format: + array('namespaceUri' => string, 'name' => string, 'value' => string);

Returns
TypeDescription
arrayAll extension attributes
methodpublicgetExtensionElements() : array
inherited

Returns an array of all elements not matched to data model classes +during the parsing of the XML

Inherited from: + \Zend_Gdata_App_Base::getExtensionElements()\Zend_Gdata_App_FeedEntryParent::getExtensionElements()\Zend_Gdata_App_Entry::getExtensionElements()
Returns
TypeDescription
arrayAll elements not matched to data model classes during parsing
methodpublicgetHttpClient() : \Zend_Http_Client_Abstract

If none is set, a new Zend_Http_Client +will be used.

Returns
TypeDescription
\Zend_Http_Client_Abstract
methodpublicgetLink(string $rel = null) : mixed
inherited

Given a particular 'rel' value, this method returns a matching +Zend_Gdata_App_Extension_Link element.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getLink()\Zend_Gdata_App_Entry::getLink()

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'.

Parameters
NameTypeDescription
$relstring

The rel value of the link to be found. If null, + the array of Zend_Gdata_App_Extension_link elements is returned

Returns
TypeDescription
mixedEither a single Zend_Gdata_App_Extension_link element, + an array of the same or null is returned depending on the rel value + supplied as the argument to this function
methodpublicgetMajorProtocolVersion() : \(int | \NULL)
inherited

Get the major protocol version that is in use.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getMajorProtocolVersion()\Zend_Gdata_App_Entry::getMajorProtocolVersion()
Returns
TypeDescription
\(int | \NULL)The major protocol version in use.
Details
See
\_majorProtocolVersion +   +
methodpublicgetMediaSource() : \Zend_Gdata_App_MediaSource

Return the MediaSource object representing the file attached to this +MediaEntry.

Returns
TypeDescription
\Zend_Gdata_App_MediaSourceThe attached MediaSource/file
methodpublicgetMinorProtocolVersion() : \(int | \NULL)
inherited

Get the minor protocol version that is in use.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getMinorProtocolVersion()\Zend_Gdata_App_Entry::getMinorProtocolVersion()
Returns
TypeDescription
\(int | \NULL)The major protocol version in use, or NULL if no + minor version is specified.
Details
See
\_minorProtocolVersion +   +
methodpublicgetNextLink() : \Zend_Gdata_App_Extension_Link
inherited

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.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getNextLink()\Zend_Gdata_App_Entry::getNextLink()

This link is in the atom feed as an atom:link with a +rel attribute value of 'next'.

Returns
TypeDescription
\Zend_Gdata_App_Extension_LinkThe link, or null if not found
methodpublicgetPreviousLink() : \Zend_Gdata_App_Extension_Link
inherited

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.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getPreviousLink()\Zend_Gdata_App_Entry::getPreviousLink()

This link is in the atom feed as an atom:link with a +rel attribute value of 'previous'.

Returns
TypeDescription
\Zend_Gdata_App_Extension_LinkThe link, or null if not found
methodpublicgetPublished() : \Zend_Gdata_App_Extension_Published
inherited

Sets the value of the atom:published element +This represents the publishing date for an entry

Inherited from: + \Zend_Gdata_App_Entry::getPublished()
methodpublicgetRights() : \Zend_Gdata_AppExtension_Rights
Returns
TypeDescription
\Zend_Gdata_AppExtension_Rights
methodpublicgetSelfLink() : \Zend_Gdata_App_Extension_Link
inherited

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'.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getSelfLink()\Zend_Gdata_App_Entry::getSelfLink()
Returns
TypeDescription
\Zend_Gdata_App_Extension_LinkThe link, or null if not found
methodpublicgetService() : \Zend_Gdata_App | null
inherited

Get the active service instance for this object.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getService()\Zend_Gdata_App_Entry::getService()

This will be used to +perform network requests, such as when calling save() and delete().

Returns
TypeDescription
\Zend_Gdata_App | nullThe current service instance, or null if + not set.
methodpublicgetSource() : \Zend_Gdata_App_Extension_Source
inherited

Gets the value of the atom:source element

Inherited from: + \Zend_Gdata_App_Entry::getSource()
Returns
TypeDescription
\Zend_Gdata_App_Extension_Source
methodpublicgetSummary() : \Zend_Gdata_App_Extension_Summary
inherited

Gets the value of the atom:summary element +This represents a textual summary of this entry's content

Inherited from: + \Zend_Gdata_App_Entry::getSummary()
Returns
TypeDescription
\Zend_Gdata_App_Extension_Summary
methodpublicgetText( $trim = true) : string
inherited

Returns the child text node of this element +This represents any raw text contained within the XML element

Inherited from: + \Zend_Gdata_App_Base::getText()\Zend_Gdata_App_FeedEntryParent::getText()\Zend_Gdata_App_Entry::getText()
Parameters
NameTypeDescription
$trim
Returns
TypeDescription
stringChild text node
methodpublicgetTitle() : \Zend_Gdata_App_Extension_Title
inherited

Returns the title of this feed or entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getTitle()\Zend_Gdata_App_Entry::getTitle()

The title is an extremely +short textual representation of this resource and is found as +an atom:title element in a feed or entry

Returns
TypeDescription
\Zend_Gdata_App_Extension_Title
methodpublicgetTitleValue() : string
inherited

Returns a string representation of the title of this feed or entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::getTitleValue()\Zend_Gdata_App_Entry::getTitleValue()

The title is an extremely short textual representation of this +resource and is found as an atom:title element in a feed or entry

Returns
TypeDescription
string
methodpublicgetXML() : string
inherited

Alias for saveXML() returns XML content for this element and all +children

Inherited from: + \Zend_Gdata_App_Base::getXML()\Zend_Gdata_App_FeedEntryParent::getXML()\Zend_Gdata_App_Entry::getXML()
Returns
TypeDescription
stringXML content
methodpubliclookupNamespace(string $prefix, integer $majorVersion = null, integer $minorVersion = null) : string
inherited

Get the full version of a namespace prefix

Inherited from: + \Zend_Gdata_App_FeedEntryParent::lookupNamespace()\Zend_Gdata_App_Entry::lookupNamespace()

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.

Parameters
NameTypeDescription
$prefixstring

The namespace prefix to lookup.

$majorVersioninteger

The major protocol version in effect. + Defaults to null (auto-select).

+
$minorVersioninteger

The minor protocol version in effect. + Defaults to null (auto-select).

+
Returns
TypeDescription
string
methodpublicregisterAllNamespaces(array $namespaceArray) : void

Takes an array in the format of: +namespace prefix, namespace URI, major protocol version, +minor protocol version and adds them with calls to ->registerNamespace()

Parameters
NameTypeDescription
$namespaceArrayarray

An array of namespaces.

methodpublicregisterNamespace(string $prefix, string $namespaceUri, integer $majorVersion = 1, integer $minorVersion = 0) : void

Takes a prefix and a full namespace URI and adds them to the +list of registered namespaces for use by +$this->lookupNamespace().

+ +

WARNING: Currently, registering a namespace will NOT invalidate any + memoized data stored in $_namespaceLookupCache. Under normal + use, this behavior is acceptable. If you are adding + contradictory data to the namespace lookup table, you must + call flushNamespaceLookupCache().

Parameters
NameTypeDescription
$prefixstring

The namespace prefix

$namespaceUristring

The full namespace URI

$majorVersioninteger

The major protocol version in effect. + Defaults to '1'.

+
$minorVersioninteger

The minor protocol version in effect. + Defaults to null (use latest).

+
methodpublicreload(string | null $uri = null, string | null $className = null, array $extraHeaders = array()) : mixed
inherited

Reload the current entry.

Inherited from: + \Zend_Gdata_App_Entry::reload()

Returns a new copy of the entry as returned +by the server, or null if no changes exist. This does not +modify the current entry instance.

Parameters
NameTypeDescription
$uristring | null

The URI to send requests to, or null if $data + contains the URI.

+
$classNamestring | null

The name of the class that should we deserializing + the server response. If null, then 'Zend_Gdata_App_Entry' will + be used.

+
$extraHeadersarray

Extra headers to add to the request, as an + array of string-based key/value pairs.

+
Returns
TypeDescription
mixedA new instance of the current entry with updated data, or + null if the server reports that no changes have been made.
Throws
ExceptionDescription
\Zend_Gdata_App_Exception
methodpublicsave(string | null $uri = null, string | null $className = null, array $extraHeaders = array()) : \Zend_Gdata_App_Entry
inherited

Uploads changes in this entry to the server using Zend_Gdata_App

Inherited from: + \Zend_Gdata_App_Entry::save()
Parameters
NameTypeDescription
$uristring | null

The URI to send requests to, or null if $data + contains the URI.

+
$classNamestring | null

The name of the class that should we + deserializing the server response. If null, then + 'Zend_Gdata_App_Entry' will be used.

+
$extraHeadersarray

Extra headers to add to the request, as an + array of string-based key/value pairs.

+
Returns
TypeDescription
\Zend_Gdata_App_EntryThe updated entry.
Throws
ExceptionDescription
\Zend_Gdata_App_Exception
methodpublicsaveXML() : string
inherited

Converts this element and all children into XML text using getDOM()

Inherited from: + \Zend_Gdata_App_Base::saveXML()\Zend_Gdata_App_FeedEntryParent::saveXML()\Zend_Gdata_App_Entry::saveXML()
Returns
TypeDescription
stringXML content
methodpublicsetAuthor(array $value) : \Zend_Gdata_App_FeedEntryParent
inherited

Sets the list of the authors of this feed/entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setAuthor()\Zend_Gdata_App_Entry::setAuthor()

In an atom feed, each +author is represented by an atom:author element

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodpublicsetCategory(array $value) : \Zend_Gdata_App_FeedEntryParent
inherited

Sets the array of categories that classify this feed/entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setCategory()\Zend_Gdata_App_Entry::setCategory()

Each +category is represented in an atom feed by an atom:category element.

Parameters
NameTypeDescription
$valuearray

Array of Zend_Gdata_App_Extension_Category

Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodpublicsetContent(\Zend_Gdata_App_Extension_Content $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the atom:content element

Inherited from: + \Zend_Gdata_App_Entry::setContent()
Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Content
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetContributor(array $value) : \Zend_Gdata_App_FeedEntryParent
inherited

Sets the array of contributors to this feed/entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setContributor()\Zend_Gdata_App_Entry::setContributor()

Each contributor +is represented in an atom feed by an atom:contributor XML element

Parameters
NameTypeDescription
$valuearray
Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodpublicsetControl(\Zend_Gdata_App_Extension_Control $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the app:control element

Inherited from: + \Zend_Gdata_App_Entry::setControl()
Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Control
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetEtag(string | null $value) : \Zend_Gdata_App_Entry
inherited

Set the Etag for the current entry to $value.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setEtag()\Zend_Gdata_App_Entry::setEtag()

Setting $value to null +unsets the Etag.

Parameters
NameTypeDescription
$valuestring | null
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetExtensionAttributes(array $value) : \Zend_Gdata_App_Base
inherited

Sets an array of all extension attributes not transformed into data +model properties during parsing of the XML.

Inherited from: + \Zend_Gdata_App_Base::setExtensionAttributes()\Zend_Gdata_App_FeedEntryParent::setExtensionAttributes()\Zend_Gdata_App_Entry::setExtensionAttributes()

Each element of the array +is a hashed array of the format: + array('namespaceUri' => string, 'name' => string, 'value' => string); +This can be used to add arbitrary attributes to any data model element

Parameters
NameTypeDescription
$valuearray

All extension attributes

Returns
TypeDescription
\Zend_Gdata_App_BaseReturns an object of the same type as 'this' to provide a fluent interface.
methodpublicsetExtensionElements(array $value) : \Zend_Gdata_App_Base
inherited

Sets an array of all elements not matched to data model classes +during the parsing of the XML.

Inherited from: + \Zend_Gdata_App_Base::setExtensionElements()\Zend_Gdata_App_FeedEntryParent::setExtensionElements()\Zend_Gdata_App_Entry::setExtensionElements()

This method can be used to add arbitrary +child XML elements to any data model class.

Parameters
NameTypeDescription
$valuearray

All extension elements

Returns
TypeDescription
\Zend_Gdata_App_BaseReturns an object of the same type as 'this' to provide a fluent interface.
methodpublicsetHttpClient(\Zend_Http_Client $httpClient) : \Zend_Gdata_App_FeedEntryParent

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

Parameters
NameTypeDescription
$httpClient\Zend_Http_Client
Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodpublicsetId(\Zend_Gdata_App_Extension_Id $value) : \Zend_Gdata_App_FeedEntryParent
Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Id
Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodpublicsetLink(array $value) : \Zend_Gdata_App_FeedEntryParent
Parameters
NameTypeDescription
$valuearray

The array of Zend_Gdata_App_Extension_Link elements

Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodpublicsetMajorProtocolVersion(\(int | \NULL) $value) : void
inherited

Set the major protocol version that should be used.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setMajorProtocolVersion()\Zend_Gdata_App_Entry::setMajorProtocolVersion()

Values < 1 +(excluding NULL) will cause a Zend_Gdata_App_InvalidArgumentException +to be thrown.

Parameters
NameTypeDescription
$value\(int | \NULL)

The major protocol version to use.

Throws
ExceptionDescription
\Zend_Gdata_App_InvalidArgumentException
Details
See
\_majorProtocolVersion +   +
methodpublicsetMediaSource(\Zend_Gdata_App_MediaSource $value) : \Zend_Gdata_App_MediaEntry

Set the MediaSource object (file) for this MediaEntry

Parameters
NameTypeDescription
$value\Zend_Gdata_App_MediaSource

The attached MediaSource/file

+
Returns
TypeDescription
\Zend_Gdata_App_MediaEntryProvides a fluent interface
methodpublicsetMinorProtocolVersion(\(int | \NULL) $value) : void
inherited

Set the minor protocol version that should be used.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setMinorProtocolVersion()\Zend_Gdata_App_Entry::setMinorProtocolVersion()

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.

Parameters
NameTypeDescription
$value\(int | \NULL)

The minor protocol version to use.

Throws
ExceptionDescription
\Zend_Gdata_App_InvalidArgumentException
Details
See
\_minorProtocolVersion +   +
methodpublicsetPublished(\Zend_Gdata_App_Extension_Published $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the atom:published element +This represents the publishing date for an entry

Inherited from: + \Zend_Gdata_App_Entry::setPublished()
Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Published
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetService(\Zend_Gdata_App $instance) : \Zend_Gdata_App_FeedEntryParent
inherited

Set the active service instance for this object.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setService()\Zend_Gdata_App_Entry::setService()

This will be used to +perform network requests, such as when calling save() and delete().

Parameters
NameTypeDescription
$instance\Zend_Gdata_App

The new service instance.

Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface.
methodpublicsetSource(\Zend_Gdata_App_Extension_Source $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the atom:source element

Inherited from: + \Zend_Gdata_App_Entry::setSource()
Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Source
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetSummary(\Zend_Gdata_App_Extension_Summary $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the atom:summary element +This represents a textual summary of this entry's content

Inherited from: + \Zend_Gdata_App_Entry::setSummary()
Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Summary
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetText(string $value) : \Zend_Gdata_App_Base
inherited

Sets the child text node of this element +This represents any raw text contained within the XML element

Inherited from: + \Zend_Gdata_App_Base::setText()\Zend_Gdata_App_FeedEntryParent::setText()\Zend_Gdata_App_Entry::setText()
Parameters
NameTypeDescription
$valuestring

Child text node

Returns
TypeDescription
\Zend_Gdata_App_BaseReturns an object of the same type as 'this' to provide a fluent interface.
methodpublicsetTitle(\Zend_Gdata_App_Extension_Title $value) : \Zend_Gdata_App_FeedEntryParent
inherited

Returns the title of this feed or entry.

Inherited from: + \Zend_Gdata_App_FeedEntryParent::setTitle()\Zend_Gdata_App_Entry::setTitle()

The title is an extremely +short textual representation of this resource and is found as +an atom:title element in a feed or entry

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Title
Returns
TypeDescription
\Zend_Gdata_App_FeedEntryParentProvides a fluent interface
methodprotectedtakeAttributeFromDOM(\DOMNode $attribute) : void
inherited

Given a DOMNode representing an attribute, tries to map the data into +instance members.

Inherited from: + \Zend_Gdata_App_Base::takeAttributeFromDOM()\Zend_Gdata_App_FeedEntryParent::takeAttributeFromDOM()\Zend_Gdata_App_Entry::takeAttributeFromDOM()

If no mapping is defined, the name and value are +stored in an array.

Parameters
NameTypeDescription
$attribute\DOMNode

The DOMNode attribute needed to be handled

methodprotectedtakeChildFromDOM(\DOMNode $child) : void
inherited

Given a child DOMNode, tries to determine how to map the data into +object instance members.

Inherited from: + \Zend_Gdata_App_Entry::takeChildFromDOM()

If no mapping is defined, Extension_Element +objects are created and stored in an array.

Parameters
NameTypeDescription
$child\DOMNode

The DOMNode needed to be handled

methodpublictransferFromDOM(\DOMNode $node) : void

This is called when XML is received over the wire and the data +model needs to be built to represent this XML.

Parameters
NameTypeDescription
$node\DOMNode

The DOMNode that represents this object's data

+
methodpublictransferFromXML(string $xml) : void
inherited

Parses the provided XML text and generates data model classes for +each know element by turning the XML text into a DOM tree and calling +transferFromDOM($element).

Inherited from: + \Zend_Gdata_App_Base::transferFromXML()\Zend_Gdata_App_FeedEntryParent::transferFromXML()\Zend_Gdata_App_Entry::transferFromXML()

The first data model element with the same +name as $this->_rootElement is used and the child elements are +recursively parsed.

Parameters
NameTypeDescription
$xmlstring

The XML text to parse

+ Documentation was generated by + phpDocumentor + 2.0.0a12. + -- cgit v1.2.3