[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

(pas de description)

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

Définit 1 class

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


Classe: Text_Wiki_Parse_Table  - X-Ref

This class implements a Text_Wiki_Parse to find source text marked as a
set of table rows, where a line start and ends with double-pipes (||)
and uses double-pipes to separate table cells.  The rows must be on
sequential lines (no blank lines between them) -- a blank line
indicates the beginning of a new table.

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

Token options are:

'type' =>
'table_start' : the start of a bullet list
'table_end'   : the end of a bullet list
'row_start' : the start of a number list
'row_end'   : the end of a number list
'cell_start'   : the start of item text (bullet or number)
'cell_end'     : the end of item text (bullet or number)

'cols' => the number of columns in the table (for 'table_start')

'rows' => the number of rows in the table (for 'table_start')

'span' => column span (for 'cell_start')

'attr' => column attribute flag (for 'cell_start')

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