Gdata/App/Entry.php
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$
Package: Zend_Gdata\AppConcrete 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
string $_entryClassName = 'Zend_Gdata_App_Entry'
Class name for each entry in this feed*
Default value'Zend_Gdata_App_Entry'
Details- Type
- string
string $_rootElement = 'entry'
Root XML element for Atom entries.
Default value'entry'
Details- Type
- string
Methods
reload( $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.
ParametersName | Type | Description |
---|
$uri | | |
---|
$className | | |
---|
$extraHeaders | array | Extra headers to add to the request, as an
array of string-based key/value pairs.
|
---|
ReturnsType | Description |
---|
mixed | A new instance of the current entry with updated data, or
null if the server reports that no changes have been made. |
Throws save(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
ParametersName | 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.
|
---|
ReturnsThrows