Feed/Writer.php

Show: PublicProtectedPrivateinherited
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 [email protected] 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

Package: Zend_Feed_Writer
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#'
Namespace constants
>VConstant  NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom'
>VConstant  NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
>VConstant  NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/'
>VConstant  NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/'
>VConstant  TYPE_ANY = 'any'
Feed type constants
>VConstant  TYPE_ATOM_03 = 'atom-03'
>VConstant  TYPE_ATOM_10 = 'atom-10'
>VConstant  TYPE_ATOM_ANY = 'atom'
>VConstant  TYPE_RSS_090 = 'rss-090'
>VConstant  TYPE_RSS_091 = 'rss-091'
>VConstant  TYPE_RSS_091_NETSCAPE = 'rss-091n'
>VConstant  TYPE_RSS_091_USERLAND = 'rss-091u'
>VConstant  TYPE_RSS_092 = 'rss-092'
>VConstant  TYPE_RSS_093 = 'rss-093'
>VConstant  TYPE_RSS_094 = 'rss-094'
>VConstant  TYPE_RSS_10 = 'rss-10'
>VConstant  TYPE_RSS_20 = 'rss-20'
>VConstant  TYPE_RSS_ANY = 'rss'

Properties

>VPropertyprotectedarray $_extensions = array('entry' => array(), 'feed' => array(), 'entryRenderer' => array(), 'feedRenderer' => array())
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.
Default valuearray('entry' => array(), 'feed' => array(), 'entryRenderer' => array(), 'feedRenderer' => array())Details
Type
array
>VPropertyprotected\Zend_Loader_PluginLoader_Interface $_pluginLoader = null
static
PluginLoader instance used by component
Default valuenullDetails
Type
\Zend_Loader_PluginLoader_Interface
>VPropertyprotectedarray $_prefixPaths = array()
static
Path on which to search for Extension classes
Default valuearray()Details
Type
array

Methods

methodpublicaddPrefixPath(string $prefix, string $path) : void
static

Add prefix path for loading Extensions

Parameters
NameTypeDescription
$prefixstring
$pathstring
methodpublicaddPrefixPaths(array $spec) : void
static

Add multiple Extension prefix paths at once

Parameters
NameTypeDescription
$specarray
methodpublicgetExtensions() : array
static

Get a list of extensions

Returns
TypeDescription
array
methodpublicgetPluginLoader() : \Zend_Loader_PluginLoader_Interface
static

Get plugin loader for use with Extensions

methodpublicisRegistered(string $extensionName) : boolean
static

Is a given named Extension registered?

Parameters
NameTypeDescription
$extensionNamestring
Returns
TypeDescription
boolean
methodpubliclcfirst( $str) : void
static

Parameters
NameTypeDescription
$str
methodpublicregisterCoreExtensions() : void
static

Register core (default) extensions

methodpublicregisterExtension(string $name) : void
static

Register an Extension by name

Parameters
NameTypeDescription
$namestring
Throws
ExceptionDescription
\Zend_Feed_Exceptionif unable to resolve Extension class
methodpublicreset() : void
static

Reset class state to defaults

methodpublicsetPluginLoader( $loader) : void
static

Set plugin loader for use with Extensions

Parameters
NameTypeDescription
$loader
Documentation was generated by phpDocumentor 2.2.0 .