[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/bundled-libs/Text/Wiki/Parse/Default/ -> Delimiter.php (sommaire)

(pas de description)

Poids: 62 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Text_Wiki_Parse_Delimiter:: (2 méthodes):
  Text_Wiki_Parse_delimiter()
  process()


Classe: Text_Wiki_Parse_Delimiter  - X-Ref

This class implements a Text_Wiki_Parse to find instances of the delimiter
character already embedded in the source text; it extracts them and replaces
them with a delimited token, then renders them as the delimiter itself
when the target format is XHTML.

Text_Wiki_Parse_delimiter(&$obj)   X-Ref
Constructor.  Overrides the Text_Wiki_Parse constructor so that we
can set the $regex property dynamically (we need to include the
Text_Wiki $delim character.

param: object &$obj The calling "parent" Text_Wiki object.
param: string $name The token name to use for this rule.

process(&$matches)   X-Ref
Generates a token entry for the matched text.  Token options are:

'text' => The full matched text.

param: array &$matches The array of matches from parse().
return: A delimited token number to be used as a placeholder in



Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics