Feed/Writer.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-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
Properties
array $_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 value
array('entry' => array(), 'feed' => array(), 'entryRenderer' => array(), 'feedRenderer' => array())
Details- Type
- array
\Zend_Loader_PluginLoader_Interface $_pluginLoader = null
static
PluginLoader instance used by component
Default value
null
DetailsMethods
addPrefixPath(string $prefix, string $path) : void
static
Add prefix path for loading Extensions
Parameters
Name | Type | Description |
---|---|---|
$prefix | string | |
$path | string |
addPrefixPaths(array $spec) : void
static
Add multiple Extension prefix paths at once
Parameters
Name | Type | Description |
---|---|---|
$spec | array |
getPluginLoader() : \Zend_Loader_PluginLoader_Interface
static
Get plugin loader for use with Extensions
Returns
Type | Description |
---|---|
\Zend_Loader_PluginLoader_Interface |
isRegistered(string $extensionName) : boolean
static
Is a given named Extension registered?
Parameters
Returns
Name | Type | Description |
---|---|---|
$extensionName | string |
Type | Description |
---|---|
boolean |
registerExtension(string $name) : void
static
Register an Extension by name
Parameters
Throws
Name | Type | Description |
---|---|---|
$name | string |
Exception | Description |
---|---|
\Zend_Feed_Exception | if unable to resolve Extension class |