Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=array()) | |
Constructor. | |
setParser (Zend_Markup_Parser_ParserInterface $parser) | |
Set the parser. | |
getParser () | |
Get the parser. | |
getPluginLoader () | |
Get the plugin loader. | |
addMarkup ($name, $type, array $options) | |
Add a new markup. | |
removeMarkup ($name) | |
Remove a markup. | |
clearMarkups () | |
Remove the default tags. | |
render ($value) | |
Render function. | |
getDefaultFilter () | |
Get the default filter. | |
addDefaultFilter (Zend_Filter_Interface $filter, $placement=Zend_Filter::CHAIN_APPEND) | |
Add a default filter. | |
setDefaultFilter (Zend_Filter_Interface $filter) | |
Set the default filter. | |
getFilter ($markup) | |
Get the filter for an existing markup. | |
addFilter (Zend_Filter_Interface $filter, $markup, $placement=Zend_Filter::CHAIN_APPEND) | |
Add a filter for an existing markup. | |
setFilter (Zend_Filter_Interface $filter, $markup) | |
Set the filter for an existing. | |
addGroup ($name, array $allowedInside=array(), array $allowsInside=array()) | |
Add a render group. | |
getGroups () | |
Get group definitions. | |
addDefaultFilters () | |
Set the default filters. | |
Static Public Member Functions | |
static | setEncoding ($encoding) |
Set the renderer's encoding. | |
static | getEncoding () |
Get the renderer's encoding. | |
Public Attributes | |
const | TYPE_CALLBACK = 4 |
const | TYPE_REPLACE = 8 |
const | TYPE_ALIAS = 16 |
Protected Member Functions | |
_render (Zend_Markup_Token $token) | |
Render a single token. | |
_getGroup (Zend_Markup_Token $token) | |
Get the group of a token. | |
_execute (Zend_Markup_Token $token) | |
Execute the token. | |
_filter ($value) | |
Filter method. | |
_getMarkupName (Zend_Markup_Token $token) | |
Get the markup name. | |
_resolveMarkupName ($name) | |
Resolve aliases for a markup name. | |
_getMarkupType ($name) | |
Retrieve markup type. | |
_executeReplace (Zend_Markup_Token $token, $tag) | |
Execute a replace token. | |
_executeSingleReplace (Zend_Markup_Token $token, $tag) | |
Execute a single replace token. | |
Protected Attributes | |
$_markups = array() | |
$_parser | |
$_filter | |
$_defaultFilter | |
$_group | |
$_groups = array() | |
$_pluginLoader | |
$_token | |
Static Protected Attributes | |
static | $_encoding = 'UTF-8' |
__construct | ( | $options = array() | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Filter method.
string | $value |
|
protected |
|
protected |
|
protected |
Retrieve markup type.
string | $name |
|
protected |
|
protected |
Resolve aliases for a markup name.
string | $name |
addDefaultFilter | ( | Zend_Filter_Interface | $filter, |
$placement = Zend_Filter::CHAIN_APPEND |
|||
) |
Add a default filter.
string | $filter |
|
abstract |
Set the default filters.
addFilter | ( | Zend_Filter_Interface | $filter, |
$markup, | |||
$placement = Zend_Filter::CHAIN_APPEND |
|||
) |
Add a filter for an existing markup.
Zend_Filter_Interface | $filter | |
string | $markup | |
string | $placement |
addGroup | ( | $name, | |
array | $allowedInside = array() , |
||
array | $allowsInside = array() |
||
) |
Add a render group.
string | $name | |
array | $allowedInside | |
array | $allowsInside |
addMarkup | ( | $name, | |
$type, | |||
array | $options | ||
) |
Add a new markup.
string | $name | |
string | $type | |
array | $options |
clearMarkups | ( | ) |
Remove the default tags.
getDefaultFilter | ( | ) |
Get the default filter.
|
static |
Get the renderer's encoding.
getFilter | ( | $markup | ) |
getGroups | ( | ) |
Get group definitions.
getParser | ( | ) |
Get the parser.
getPluginLoader | ( | ) |
Get the plugin loader.
removeMarkup | ( | $name | ) |
Remove a markup.
string | $name |
render | ( | $value | ) |
setDefaultFilter | ( | Zend_Filter_Interface | $filter | ) |
|
static |
Set the renderer's encoding.
string | $encoding |
setFilter | ( | Zend_Filter_Interface | $filter, |
$markup | |||
) |
Set the filter for an existing.
Zend_Filter_Interface | $filter | |
string | $markup |
setParser | ( | Zend_Markup_Parser_ParserInterface | $parser | ) |
Set the parser.
Zend_Markup_Parser_ParserInterface | $parser |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const TYPE_ALIAS = 16 |
const TYPE_CALLBACK = 4 |
const TYPE_REPLACE = 8 |