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 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_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) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $container | \Zend_Feed_Writer_Entry |

_loadXhtml( $content) : voidLoad a HTML string and attempt to normalise to XML
Parameters
| Name | Type | Description |
|---|---|---|
| $content |

_setAuthors(\DOMDocument $dom, \DOMElement $root) : voidSet entry authors
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setCategories(\DOMDocument $dom, \DOMElement $root) : voidSet entry cateories
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setContent(\DOMDocument $dom, \DOMElement $root) : voidSet entry content
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setDateCreated(\DOMDocument $dom, \DOMElement $root) : voidSet date entry was created
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setDateModified(\DOMDocument $dom, \DOMElement $root) : voidSet date entry was modified
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setDescription(\DOMDocument $dom, \DOMElement $root) : voidSet entry description
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setEnclosure(\DOMDocument $dom, \DOMElement $root) : voidSet entry enclosure
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setId(\DOMDocument $dom, \DOMElement $root) : voidSet entry identifier
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setSource(\DOMDocument $dom, \DOMElement $root) : voidAppend Source element (Atom 1.0 Feed Metadata)
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_setTitle(\DOMDocument $dom, \DOMElement $root) : voidSet entry title
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $root | \DOMElement |

_validateTagUri(string $id) : boolValidate a URI using the tag scheme (RFC 4151)
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $id | string |
| Type | Description |
|---|---|
| bool |

render() : \Zend_Feed_Writer_Renderer_Entry_AtomRender atom entry
Returns
| Type | Description |
|---|---|
| \Zend_Feed_Writer_Renderer_Entry_Atom |