PHP Class Text_Wiki_Parse_Table2, horde

Keeps track of columns width, necessary for reST rendering.
Author: Paul M. Jones ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Text_Wiki_Parse_Table
Exibir arquivo Open project: horde/horde

Public Methods

Method Description
process ( array $matches ) : string Generates a replacement for the matched text.

Method Details

process() public method

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')
public process ( array $matches ) : string
$matches array The array of matches from parse().
return string A series of text and delimited tokens marking the different table elements and cell text.