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 containing multi-part data.
Zend_Gdata_App_MediaSource $_mediaSource = 'null'The attached MediaSource/file
Details__construct(
DOMElement $element
=
null, $mediaSource
=
null
)
:
Constructs a new MediaEntry, representing XML data and optional file to upload
Detailsencode(
)
:
string|Zend_Gdata_MediaMimeStreamReturn the MIME multipart representation of this MediaEntry.
DetailsgetMediaSource(
)
:
Zend_Gdata_App_MediaSourceReturn the MediaSource object representing the file attached to this MediaEntry.
DetailssetMediaSource(
Zend_Gdata_App_MediaSource $value
)
:
Zend_Gdata_App_MediaEntrySet the MediaSource object (file) for this MediaEntry
Details