[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

(pas de description)

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

Définit 1 class

Text_Wiki_Parse_Bold:: (1 méthode):
  process()


Classe: Text_Wiki_Parse_Bold  - X-Ref

This class implements a Text_Wiki_Rule to find source text marked for
strong emphasis (bold) as defined by text surrounded by three
single-quotes. On parsing, the text itself is left in place, but the
starting and ending instances of three single-quotes are replaced with
tokens.

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

'type' => ['start'|'end'] The starting or ending point of the
emphasized text.  The text itself is left in the source.

param: array &$matches The array of matches from parse().
return: A pair of delimited tokens 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