package Default

 Methods

Get plugin manager for use with Extensions

getExtensionManager() : \Zend\Feed\Writer\ExtensionManagerInterface
Static

Returns

\Zend\Feed\Writer\ExtensionManagerInterface

Get a list of extensions

getExtensions() : array
Static

Returns

array

Is a given named Extension registered?

isRegistered(string $extensionName) : boolean
Static

Parameters

$extensionName

string

Returns

boolean

lcfirst()

lcfirst($str) 
Static

Parameters

$str

Register core (default) extensions

registerCoreExtensions() : void
Static

Register an Extension by name

registerExtension(string $name) : void
Static

Parameters

$name

string

Exceptions

\Zend\Feed\Writer\Exception\RuntimeException if unable to resolve Extension class

Reset class state to defaults

reset() : void
Static

Set plugin loader for use with Extensions

setExtensionManager(\Zend\Feed\Writer\ExtensionManagerInterface $extensionManager) 
Static

Parameters

$extensionManager

 Properties

 

$extensionManager

$extensionManager : \Zend\Feed\Writer\ExtensionManagerInterface

Default

null
Static
 

Array of registered extensions by class postfix (after the base class name) across four categories - data containers and renderers for entry and feed levels.

$extensions : array

Default

array('entry' => array(), 'feed' => array(), 'entryRenderer' => array(), 'feedRenderer' => array())
Static

 Constants

 

Namespace constants

NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#' 
 

NAMESPACE_ATOM_10

NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom' 
 

NAMESPACE_RDF

NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' 
 

NAMESPACE_RSS_090

NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/' 
 

NAMESPACE_RSS_10

NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/' 
 

Feed type constants

TYPE_ANY = 'any' 
 

TYPE_ATOM_03

TYPE_ATOM_03 = 'atom-03' 
 

TYPE_ATOM_10

TYPE_ATOM_10 = 'atom-10' 
 

TYPE_ATOM_ANY

TYPE_ATOM_ANY = 'atom' 
 

TYPE_RSS_090

TYPE_RSS_090 = 'rss-090' 
 

TYPE_RSS_091

TYPE_RSS_091 = 'rss-091' 
 

TYPE_RSS_091_NETSCAPE

TYPE_RSS_091_NETSCAPE = 'rss-091n' 
 

TYPE_RSS_091_USERLAND

TYPE_RSS_091_USERLAND = 'rss-091u' 
 

TYPE_RSS_092

TYPE_RSS_092 = 'rss-092' 
 

TYPE_RSS_093

TYPE_RSS_093 = 'rss-093' 
 

TYPE_RSS_094

TYPE_RSS_094 = 'rss-094' 
 

TYPE_RSS_10

TYPE_RSS_10 = 'rss-10' 
 

TYPE_RSS_20

TYPE_RSS_20 = 'rss-20' 
 

TYPE_RSS_ANY

TYPE_RSS_ANY = 'rss'