API Documentation

Feed/Writer/Extension/ITunes/Renderer/Feed.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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Writer  
version
$Id: Feed.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Feed_Writer_Extension_ITunes_Renderer_Feed

Extends from
\Zend_Feed_Writer_Extension_RendererAbstract
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Writer  

Properties

Propertyprotectedbool  $_called= 'false'

Set to TRUE if a rendering method actually renders something. This is used to prevent premature appending of a XML namespace declaration until an element which requires it is actually appended.

Default valuefalseDetails
Type
bool

Methods

methodpublic__construct( mixed $container ) : void
Parameters
Name Type Description
$container mixed
methodprotected_appendNamespaces( ) : void

Append feed namespaces

methodprotected_setAuthors( \DOMDocument $dom, \DOMElement $root ) : void

Set feed authors

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

Set feed itunes block

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

Set feed categories

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

Set feed cumulative duration

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

Set explicit flag

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

Set feed image (icon)

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

Set feed keywords

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

Set feed's new URL

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

Set feed owners

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

Set feed subtitle

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

Set feed summary

Parameters
Name Type Description
$dom \DOMDocument
$root \DOMElement
methodpublicgetDataContainer( ) : mixed

Get data container being rendered

Inherited from: \Zend_Feed_Writer_Extension_RendererAbstract::getDataContainer()
Returns
Type Description
mixed
methodpublicgetEncoding( ) : void
methodpublicgetRootElement( ) : \DOMElement
Returns
Type Description
\DOMElement
methodpublicgetType( ) : string
Returns
Type Description
string
methodpublicrender( ) : void

Render feed

methodpublicsetDomDocument( \DOMDocument $dom, \DOMElement $base ) : \Zend_Feed_Writer_Extension_RendererAbstract

Set DOMDocument and DOMElement on which to operate

Inherited from: \Zend_Feed_Writer_Extension_RendererAbstract::setDomDocument()
Parameters
Name Type Description
$dom \DOMDocument
$base \DOMElement
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
methodpublicsetEncoding( string $enc ) : \Zend_Feed_Writer_Extension_RendererAbstract
Parameters
Name Type Description
$enc string
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
methodpublicsetRootElement( \DOMElement $root ) : \Zend_Feed_Writer_Extension_RendererAbstract

Set root element of document

Inherited from: \Zend_Feed_Writer_Extension_RendererAbstract::setRootElement()
Parameters
Name Type Description
$root \DOMElement
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
methodpublicsetType( string $type ) : \Zend_Feed_Writer_Extension_RendererAbstract
Parameters
Name Type Description
$type string
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
Documentation was generated by DocBlox 0.13.3.