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.
Defines the basic rendering functionality

__construct(
array|\Zend_Config $options
=
array()
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$options | array|\Zend_Config |

_executeReplace(
\Zend_Markup_Token $token, array $tag
)
:
string
Execute a replace token
Name | Type | Description |
---|---|---|
$token | \Zend_Markup_Token | |
$tag | array |
Type | Description |
---|---|
string |

_executeSingleReplace(
\Zend_Markup_Token $token, array $tag
)
:
string
Execute a single replace token
Name | Type | Description |
---|---|---|
$token | \Zend_Markup_Token | |
$tag | array |
Type | Description |
---|---|
string |

_filter(
string $value
)
:
string
Filter method
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
string |

_getMarkupName(
$token
)
:
string
Get the markup name
Name | Type | Description |
---|---|---|
$token | Zend_Markup_Token |
Type | Description |
---|---|
string |

_getMarkupType(
string $name
)
:
false|int
Retrieve markup type
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
false|int |

_resolveMarkupName(
string $name
)
:
string
Resolve aliases for a markup name
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
string |

addDefaultFilter(
string $filter, $placement
=
Zend_Filter::CHAIN_APPEND
)
:
void
Add a default filter
Name | Type | Description |
---|---|---|
$filter | string | |
$placement |

addFilter(
\Zend_Filter_Interface $filter, string $markup, string $placement
=
Zend_Filter::CHAIN_APPEND
)
:
\Zend_Markup_Renderer_RendererAbstract
Add a filter for an existing markup
Name | Type | Description |
---|---|---|
$filter | \Zend_Filter_Interface | |
$markup | string | |
$placement | string |
Type | Description |
---|---|
\Zend_Markup_Renderer_RendererAbstract |

addGroup(
string $name, array $allowedInside
=
array(), array $allowsInside
=
array()
)
:
void
Add a render group
Name | Type | Description |
---|---|---|
$name | string | |
$allowedInside | array | |
$allowsInside | array |

addMarkup(
string $name, string $type, array $options
)
:
\Zend_Markup_Renderer_RendererAbstract
Add a new markup
Name | Type | Description |
---|---|---|
$name | string | |
$type | string | |
$options | array |
Type | Description |
---|---|
\Zend_Markup_Renderer_RendererAbstract |

getParser(
)
:
\Zend_Markup_Parser_ParserInterface
Get the parser
Type | Description |
---|---|
\Zend_Markup_Parser_ParserInterface |

getPluginLoader(
)
:
\Zend_Loader_PluginLoader
Get the plugin loader
Type | Description |
---|---|
\Zend_Loader_PluginLoader |

render(
$value
)
:
string
Render function
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
string |

setDefaultFilter(
\Zend_Filter_Interface $filter
)
:
void
Set the default filter
Name | Type | Description |
---|---|---|
$filter | \Zend_Filter_Interface |

setEncoding(
string $encoding
)
:
void
Set the renderer's encoding
Name | Type | Description |
---|---|---|
$encoding | string |

setFilter(
\Zend_Filter_Interface $filter, string $markup
)
:
\Zend_Markup_Renderer_RendererAbstract
Set the filter for an existing
Name | Type | Description |
---|---|---|
$filter | \Zend_Filter_Interface | |
$markup | string |
Type | Description |
---|---|
\Zend_Markup_Renderer_RendererAbstract |

setParser(
\Zend_Markup_Parser_ParserInterface $parser
)
:
\Zend_Markup_Renderer_RendererAbstract
Set the parser
Name | Type | Description |
---|---|---|
$parser | \Zend_Markup_Parser_ParserInterface |
Type | Description |
---|---|
\Zend_Markup_Renderer_RendererAbstract |