API Documentation

Feed/Writer/Extension/RendererAbstract.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 padraic dot brady at yahoo dot 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: RendererAbstract.php 24437 2011-09-03 19:31:11Z ramon $  

\Zend_Feed_Writer_Extension_RendererAbstract

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

Properties

Propertyprotected\DOMElement  $_base= 'null'

Default valuenullDetails
Type
\DOMElement
Propertyprotectedmixed  $_container= 'null'

Default valuenullDetails
Type
mixed
Propertyprotected\DOMDocument  $_dom= 'null'

Default valuenullDetails
Type
\DOMDocument
Propertyprotectedstring  $_encoding= 'UTF-8'

Encoding of all text values

Default valueUTF-8Details
Type
string
Propertyprotectedmixed  $_entry= 'null'

Default valuenullDetails
Type
mixed
Propertyprotected\DOMElement  $_rootElement= 'null'

Default valuenullDetails
Type
\DOMElement
Propertyprotectedstring  $_type= 'null'

Default valuenullDetails
Type
string

Methods

methodpublic__construct( mixed $container ) : void

Constructor

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

Append namespaces to feed

methodpublicgetDataContainer( ) : mixed

Get data container being rendered

Returns
Type Description
mixed
methodpublicgetEncoding( ) : void

Get feed encoding

methodpublicgetRootElement( ) : \DOMElement

Get root element

Returns
Type Description
\DOMElement
methodpublicgetType( ) : string

Get feedtype

Returns
Type Description
string
methodpublicrender( ) : void
methodpublicsetDomDocument( \DOMDocument $dom, \DOMElement $base ) : \Zend_Feed_Writer_Extension_RendererAbstract

Set DOMDocument and DOMElement on which to operate

Parameters
Name Type Description
$dom \DOMDocument
$base \DOMElement
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
methodpublicsetEncoding( string $enc ) : \Zend_Feed_Writer_Extension_RendererAbstract

Set feed encoding

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

Parameters
Name Type Description
$root \DOMElement
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
methodpublicsetType( string $type ) : \Zend_Feed_Writer_Extension_RendererAbstract

Set feed type

Parameters
Name Type Description
$type string
Returns
Type Description
\Zend_Feed_Writer_Extension_RendererAbstract
Documentation was generated by DocBlox 0.13.3.