API Documentation

Zend/Feed/Writer/Renderer/Entry/Atom.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Feed_Writer  
Version
$Id: Atom.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Feed_Writer_Renderer_Entry_Atom

Package: Zend\Feed\Writer

Implements
\Zend_Feed_Writer_Renderer_RendererInterface
Parent(s)
\Zend_Feed_Writer_Renderer_RendererAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublic__construct( \Zend_Feed_Writer_Entry $container ) : void

Constructor

Parameters
Name Type Description
$container \Zend_Feed_Writer_Entry
methodprotected_loadXhtml(  $content ) : void

Load a HTML string and attempt to normalise to XML

Parameters
Name Type Description
$content
methodprotected_setAuthors( \DOMDocument $dom, \DOMElement $root ) : void

Set entry authors

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setCategories( \DOMDocument $dom, \DOMElement $root ) : void

Set entry cateories

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setContent( \DOMDocument $dom, \DOMElement $root ) : void

Set entry content

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setDateCreated( \DOMDocument $dom, \DOMElement $root ) : void

Set date entry was created

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setDateModified( \DOMDocument $dom, \DOMElement $root ) : void

Set date entry was modified

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setDescription( \DOMDocument $dom, \DOMElement $root ) : void

Set entry description

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setEnclosure( \DOMDocument $dom, \DOMElement $root ) : void

Set entry enclosure

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setId( \DOMDocument $dom, \DOMElement $root ) : void

Set entry identifier

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setLink(  $dom,  $root ) : void

Parameters
Name Type Description
$dom
$root
methodprotected_setSource( \DOMDocument $dom, \DOMElement $root ) : void

Append Source element (Atom 1.0 Feed Metadata)

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_setTitle( \DOMDocument $dom, \DOMElement $root ) : void

Set entry title

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodprotected_validateTagUri( string $id ) : bool

Validate a URI using the tag scheme (RFC 4151)

Parameters
Name Type Description
$id string
Returns
Type Description
bool
methodpublicrender( ) : \Zend_Feed_Writer_Renderer_Entry_Atom

Render atom entry

Returns
Type Description
\Zend_Feed_Writer_Renderer_Entry_Atom
Documentation was generated by DocBlox 0.15.1.