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.
Concrete class for working with Atom entries.

string
$_entryClassName= ''Zend_Gdata_App_Entry''
Class name for each entry in this feed*
'Zend_Gdata_App_Entry'Details
string
$_rootElement= ''entry''
Root XML element for Atom entries.
'entry'Details
delete(
)
:
voidDeletes 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.
| Exception | Description |
|---|---|
| \Zend_Gdata_App_Exception |

getContent(
)
:
\Zend_Gdata_App_Extension_ContentGets the value of the atom:content element
| Type | Description |
|---|---|
| \Zend_Gdata_App_Extension_Content |

getControl(
)
:
\Zend_Gdata_App_Extension_ControlGets the value of the app:control element
| Type | Description |
|---|---|
| \Zend_Gdata_App_Extension_Control |

getDOM(
$doc
=
null, $majorVersion
=
1, $minorVersion
=
null
)
:
void| Name | Type | Description |
|---|---|---|
| $doc | ||
| $majorVersion | ||
| $minorVersion |

getPublished(
)
:
\Zend_Gdata_App_Extension_PublishedSets the value of the atom:published element This represents the publishing date for an entry
| Type | Description |
|---|---|
| \Zend_Gdata_App_Extension_Published |

getSource(
)
:
\Zend_Gdata_App_Extension_SourceGets the value of the atom:source element
| Type | Description |
|---|---|
| \Zend_Gdata_App_Extension_Source |

getSummary(
)
:
\Zend_Gdata_App_Extension_SummaryGets the value of the atom:summary element This represents a textual summary of this entry's content
| Type | Description |
|---|---|
| \Zend_Gdata_App_Extension_Summary |

reload(
string|null $uri
=
null, string|null $className
=
null, array $extraHeaders
=
array()
)
:
mixedReload 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.
| Name | Type | Description |
|---|---|---|
| $uri | string|null | The URI to send requests to, or null if $data contains the URI. |
| $className | string|null | The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used. |
| $extraHeaders | array | Extra headers to add to the request, as an array of string-based key/value pairs. |
| Type | Description |
|---|---|
| mixed | A new instance of the current entry with updated data, or null if the server reports that no changes have been made. |
| Exception | Description |
|---|---|
| \Zend_Gdata_App_Exception |

save(
string|null $uri
=
null, string|null $className
=
null, array $extraHeaders
=
array()
)
:
\Zend_Gdata_App_EntryUploads changes in this entry to the server using Zend_Gdata_App
| Name | Type | Description |
|---|---|---|
| $uri | string|null | The URI to send requests to, or null if $data contains the URI. |
| $className | string|null | The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used. |
| $extraHeaders | array | Extra headers to add to the request, as an array of string-based key/value pairs. |
| Type | Description |
|---|---|
| \Zend_Gdata_App_Entry | The updated entry. |
| Exception | Description |
|---|---|
| \Zend_Gdata_App_Exception |

setContent(
\Zend_Gdata_App_Extension_Content $value
)
:
\Zend_Gdata_App_EntrySets the value of the atom:content element
| Name | Type | Description |
|---|---|---|
| $value | \Zend_Gdata_App_Extension_Content |
| Type | Description |
|---|---|
| \Zend_Gdata_App_Entry | Provides a fluent interface |

setControl(
\Zend_Gdata_App_Extension_Control $value
)
:
\Zend_Gdata_App_EntrySets the value of the app:control element
| Name | Type | Description |
|---|---|---|
| $value | \Zend_Gdata_App_Extension_Control |
| Type | Description |
|---|---|
| \Zend_Gdata_App_Entry | Provides a fluent interface |

setPublished(
\Zend_Gdata_App_Extension_Published $value
)
:
\Zend_Gdata_App_EntrySets the value of the atom:published element This represents the publishing date for an entry
| Name | Type | Description |
|---|---|---|
| $value | \Zend_Gdata_App_Extension_Published |
| Type | Description |
|---|---|
| \Zend_Gdata_App_Entry | Provides a fluent interface |

setSource(
\Zend_Gdata_App_Extension_Source $value
)
:
\Zend_Gdata_App_EntrySets the value of the atom:source element
| Name | Type | Description |
|---|---|---|
| $value | \Zend_Gdata_App_Extension_Source |
| Type | Description |
|---|---|
| \Zend_Gdata_App_Entry | Provides a fluent interface |

setSummary(
\Zend_Gdata_App_Extension_Summary $value
)
:
\Zend_Gdata_App_EntrySets the value of the atom:summary element This represents a textual summary of this entry's content
| Name | Type | Description |
|---|---|---|
| $value | \Zend_Gdata_App_Extension_Summary |
| Type | Description |
|---|---|
| \Zend_Gdata_App_Entry | Provides a fluent interface |