PHP Класс Text_Wiki_Parse_Table2, horde

Keeps track of columns width, necessary for reST rendering.
Автор: Paul M. Jones ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Text_Wiki_Parse_Table
Показать файл Открыть проект

Открытые методы

Метод Описание
process ( array $matches ) : string Generates a replacement for the matched text.

Описание методов

process() публичный Метод

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().
Результат string A series of text and delimited tokens marking the different table elements and cell text.