[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

(pas de description)

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

Définit 1 class

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


Classe: Text_Wiki_Parse_Deflist  - X-Ref

This class implements a Text_Wiki_Parse to find source text marked as a
definition list.  In short, if a line starts with ':' then it is a
definition list item; another ':' on the same lines indicates the end
of the definition term and the beginning of the definition narrative.
The list items must be on sequential lines (no blank lines between
them) -- a blank line indicates the beginning of a new list.

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

'type' =>
'list_start'    : the start of a definition list
'list_end'      : the end of a definition list
'term_start'    : the start of a definition term
'term_end'      : the end of a definition term
'narr_start'    : the start of definition narrative
'narr_end'      : the end of definition narrative
'unknown'       : unknown type of definition portion

param: array &$matches The array of matches from parse().
return: A series of text and delimited tokens marking the different



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