A process(
array
&$matches)
|
|
Generates a replacement for the matched text. Token options are:
'type' => 'bullet_start' : the start of a bullet list 'bullet_end' : the end of a bullet list 'number_start' : the start of a number list 'number_end' : the end of a number list 'item_start' : the start of item text (bullet or number) 'item_end' : the end of item text (bullet or number) 'unknown' : unknown type of list or item
'level' => the indent level (0 for the first level, 1 for the second, etc)
'count' => the list item number at this level. not needed for xhtml, but very useful for PDF and RTF.
Overrides
Text_Wiki_Rule::process() (Simple processing mathod to take matched text and generate replacement text. This is one of the methods you will definitely want to override in your rule class extensions.)
Parameters:
string renderXhtml(
array
$options)
|
|
Renders a token into text matching the requested format.
Overrides
Text_Wiki_Rule::renderXhtml() (Simple rendering method to take a set of token options and generate replacement text for it. This is another method you will definitely want to override in your rule subclass extensions.)
Parameters: