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
TYPE_CALLBACK = '4'
TYPE_REPLACE = '8'
TYPE_ALIAS = '16'
Zend_Filter $_defaultFilter = ''
Filter chain
string $_encoding = 'UTF-8'
Encoding
bool $_filter = ''
What filter to use
string $_group = ''
The current group
array $_groups = 'array'
Groups definition
array $_markups = 'array'
Tag info
Zend_Markup_Parser_ParserInterface $_parser = ''
Parser
Zend_Loader_PluginLoader $_pluginLoader = ''
Plugin loader for tags
Zend_Markup_Token $_token = ''
The current token
__construct(
array|Zend_Config $options
=
array
)
:
void
Constructor
_execute(
Zend_Markup_Token $token
)
:
string
Execute the token
_executeReplace(
Zend_Markup_Token $token, array $tag
)
:
string
Execute a replace token
_executeSingleReplace(
Zend_Markup_Token $token, array $tag
)
:
string
Execute a single replace token
_filter(
string $value
)
:
string
Filter method
_getGroup(
Zend_Markup_Token $token
)
:
string|bool
Get the group of a token
_getMarkupName(
$token
)
:
string
Get the markup name
_getMarkupType(
string $name
)
:
false|int
Retrieve markup type
_render(
Zend_Markup_Token $token
)
:
string
Render a single token
_resolveMarkupName(
string $name
)
:
string
Resolve aliases for a markup name
addDefaultFilter(
string $filter, $placement
=
Zend_Filter
)
:
void
Add a default filter
addDefaultFilters(
)
:
void
Set the default filters
addFilter(
Zend_Filter_Interface $filter, string $markup, string $placement
=
Zend_Filter
)
:
Zend_Markup_Renderer_RendererAbstract
Add a filter for an existing markup
addGroup(
string $name, array $allowedInside
=
array, array $allowsInside
=
array
)
:
void
Add a render group
addMarkup(
string $name, string $type, array $options
)
:
Zend_Markup_Renderer_RendererAbstract
Add a new markup
clearMarkups(
)
:
void
Remove the default tags
getDefaultFilter(
)
:
void
Get the default filter
getEncoding(
)
:
string
Get the renderer's encoding
getFilter(
string $markup
)
:
Zend_Filter_Interface
Get the filter for an existing markup
getGroups(
)
:
array
Get group definitions
getParser(
)
:
Zend_Markup_Parser_ParserInterface
Get the parser
getPluginLoader(
)
:
Zend_Loader_PluginLoader
Get the plugin loader
removeMarkup(
string $name
)
:
void
Remove a markup
render(
$value
)
:
string
Render function
setDefaultFilter(
Zend_Filter_Interface $filter
)
:
void
Set the default filter
setEncoding(
string $encoding
)
:
void
Set the renderer's encoding
setFilter(
Zend_Filter_Interface $filter, string $markup
)
:
Zend_Markup_Renderer_RendererAbstract
Set the filter for an existing
setParser(
Zend_Markup_Parser_ParserInterface $parser
)
:
Zend_Markup_Renderer_RendererAbstract
Set the parser