First parses for described links, then for standalone links.
Overrides
Text_Wiki_Rule::parse() (Simple parsing method to apply the rule's regular expression to the source text, pass every match to the process() method, and replace the matched text with the results of the processing.)
A process(
array
&$matches)
|
|
Generates a replacement for standalone links. Token options are:
'page' => the wiki page name.
'text' => the displayed link text.
'anchor' => a named anchor on the target wiki page.
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:
A processDescr(
array
&$matches)
|
|
Generates a replacement for described links. Token options are:
'page' => the wiki page name.
'text' => the displayed link text.
'anchor' => a named anchor on the target wiki page.
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: