Class Text_Wiki_Parse_Wickedblock

Description

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

This parser parses Wicked blocks, which add Horde_Blocks to the page. Basic syntax is [[block block-app/block-name block-args]].

Located in /lib/Text_Wiki/Parse/Default/Wickedblock.php (line 10)

Text_Wiki_Parse
   |
   --Text_Wiki_Parse_Wickedblock
Variable Summary
 string $regex
Method Summary
 A process (array &$matches)
Variables
string $regex = "/\[\[block (.*)?\]\]/sU" (line 19)

The regular expression used to find blocks.

  • access: public
Methods
process (line 34)

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

'src' => The image source, typically a relative path name. 'opts' => Any macro options following the source.

  • 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:58 +0000 by phpDocumentor 1.4.3