Class Text_Wiki_Parse_Registrylink

Description

$Horde: wicked/lib/Text_Wiki/Parse/Default/Registrylink.php,v 1.1 2007/05/23 21:43:30 ben Exp $

This parser parses Horde Registry links, which allow calling Horde API "*"/show methods from within the page. Basic syntax is [[link link title | link-app/link-method argname1=value1 argname2=value2 ...]].

Located in /lib/Text_Wiki/Parse/Default/Registrylink.php (line 11)

Text_Wiki_Parse
   |
   --Text_Wiki_Parse_Registrylink
Variable Summary
 string $regex
Method Summary
 A process (array &$matches)
Variables
string $regex = "/\[\[link (.*)\]\]/sU" (line 20)

The regular expression used to find registry links.

  • access: public
Methods
process (line 35)

Generates a token entry for the matched text. Token options are:

'app' => The application to link to. 'args' => The parameters passed to the app/show method.

  • return: delimited token number to be used as a placeholder in the source text.
  • access: public
A process (array &$matches)
  • array &$matches: The array of matches from parse().

Documentation generated on Sun, 30 Jan 2011 05:42:57 +0000 by phpDocumentor 1.4.3