Feed/Writer/Renderer/Entry/Atom.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 [email protected] 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_Feed_Writer
- Version
- $Id$
\Zend_Feed_Writer_Renderer_Entry_Atom
Package: Zend_Feed_Writer
- Implements
- Parent(s)
- \Zend_Feed_Writer_Renderer_RendererAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
__construct(\Zend_Feed_Writer_Entry $container) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$container | \Zend_Feed_Writer_Entry |
_loadXhtml( $content) : void
Load a HTML string and attempt to normalise to XML
Parameters
Name | Type | Description |
---|---|---|
$content |
_setAuthors(\DOMDocument $dom, \DOMElement $root) : void
Set entry authors
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setCategories(\DOMDocument $dom, \DOMElement $root) : void
Set entry cateories
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setContent(\DOMDocument $dom, \DOMElement $root) : void
Set entry content
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setDateCreated(\DOMDocument $dom, \DOMElement $root) : void
Set date entry was created
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setDateModified(\DOMDocument $dom, \DOMElement $root) : void
Set date entry was modified
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setDescription(\DOMDocument $dom, \DOMElement $root) : void
Set entry description
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setEnclosure(\DOMDocument $dom, \DOMElement $root) : void
Set entry enclosure
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setId(\DOMDocument $dom, \DOMElement $root) : void
Set entry identifier
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setSource(\DOMDocument $dom, \DOMElement $root) : void
Append Source element (Atom 1.0 Feed Metadata)
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_setTitle(\DOMDocument $dom, \DOMElement $root) : void
Set entry title
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$root | \DOMElement |
_validateTagUri(string $id) : bool
Validate a URI using the tag scheme (RFC 4151)
Parameters
Returns
Name | Type | Description |
---|---|---|
$id | string |
Type | Description |
---|---|
bool |
render() : \Zend_Feed_Writer_Renderer_Entry_Atom
Render atom entry
Returns
Type | Description |
---|---|
\Zend_Feed_Writer_Renderer_Entry_Atom |