Gdata/App/Entry.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
App  
Version
$Id$  

\Zend_Gdata_App_Entry

Package: Zend_Gdata\App
Concrete class for working with Atom entries.
Parent(s)
\Zend_Gdata_App_FeedEntryParent < \Zend_Gdata_App_Base
Children
\Zend_Gdata_App_MediaEntry
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Gdata_App_Extension_Content $_content = null
atom:content element
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Content
>VPropertyprotected\Zend_Gdata_App_Extension_Control $_control = null
app:control element
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Control
>VPropertyprotected\Zend_Gdata_App_Extension_Edited $_edited = null
app:edited element
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Edited
>VPropertyprotectedstring $_entryClassName = 'Zend_Gdata_App_Entry'
Class name for each entry in this feed*
Default value'Zend_Gdata_App_Entry'Details
Type
string
>VPropertyprotected\Zend_Gdata_App_Extension_Published $_published = null
atom:published element
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Published
>VPropertyprotectedstring $_rootElement = 'entry'
Root XML element for Atom entries.
Default value'entry'Details
Type
string
>VPropertyprotected\Zend_Gdata_App_Extension_Source $_source = null
atom:source element
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Source
>VPropertyprotected\Zend_Gdata_App_Extension_Summary $_summary = null
atom:summary element
Default valuenullDetails
Type
\Zend_Gdata_App_Extension_Summary

Methods

methodpublicdelete() : void

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.

Throws
ExceptionDescription
\Zend_Gdata_App_Exception
methodpublicgetContent() : \Zend_Gdata_App_Extension_Content

Gets the value of the atom:content element

Returns
TypeDescription
\Zend_Gdata_App_Extension_Content
methodpublicgetControl() : \Zend_Gdata_App_Extension_Control

Gets the value of the app:control element

Returns
TypeDescription
\Zend_Gdata_App_Extension_Control
methodpublicgetDOM( $doc = null,  $majorVersion = 1,  $minorVersion = null) : void

Parameters
NameTypeDescription
$doc
$majorVersion
$minorVersion
methodpublicgetPublished() : \Zend_Gdata_App_Extension_Published

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

methodpublicgetSource() : \Zend_Gdata_App_Extension_Source

Gets the value of the atom:source element

Returns
TypeDescription
\Zend_Gdata_App_Extension_Source
methodpublicgetSummary() : \Zend_Gdata_App_Extension_Summary

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

Returns
TypeDescription
\Zend_Gdata_App_Extension_Summary
methodpublicreload( $uri = null,  $className = null, array $extraHeaders = array()) : mixed

Reload the current entry. 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
$uri
$className
$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

Uploads changes in this entry to the server using Zend_Gdata_App

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
methodpublicsetContent(\Zend_Gdata_App_Extension_Content $value) : \Zend_Gdata_App_Entry

Sets the value of the atom:content element

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Content
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetControl(\Zend_Gdata_App_Extension_Control $value) : \Zend_Gdata_App_Entry

Sets the value of the app:control element

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Control
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetPublished(\Zend_Gdata_App_Extension_Published $value) : \Zend_Gdata_App_Entry

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

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Published
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodpublicsetSource(\Zend_Gdata_App_Extension_Source $value) : \Zend_Gdata_App_Entry

Sets the value of the atom:source element

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

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

Parameters
NameTypeDescription
$value\Zend_Gdata_App_Extension_Summary
Returns
TypeDescription
\Zend_Gdata_App_EntryProvides a fluent interface
methodprotectedtakeChildFromDOM( $child) : void

Parameters
NameTypeDescription
$child
Documentation was generated by phpDocumentor 2.2.0 .