string process(
array
&$matches)
|
|
Generates a replacement for the matched text. Returned 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) 'caption_start' : the start of associated caption 'caption_end' : the end of associated caption
'level' => the table nesting level (starting zero) ('table_start')
'rows' => the number of rows in the table ('table_start')
'cols' => the number of columns in the table or rows ('table_start' and 'row_start')
'span' => column span ('cell_start')
'row_span' => row span ('cell_start')
'attr' => header optional attribute flag ('row_start' or 'cell_start')
'format' => table, row or cell optional styling ('xxx_start')
Parameters:
string processCells(
array
&$matches)
|
|
Generates a replacement for the matched cells. Token options are:
'type' => 'cell_start' : the start of a row 'cell_end' : the end of a row
'order' => the cell order in the row
'cols' => the count of cells in the row
'span' => column span
'row_span' => row span
'attr' => header optional attribute flag
'format' => cell optional styling
Parameters:
string processRows(
array
&$matches)
|
|
Generates a replacement for the matched rows. Token options are:
'type' => 'row_start' : the start of a row 'row_end' : the end of a row
'order' => the row order in the table
'cols' => the count of cells in the row
'attr' => header optional attribute flag
'format' => row optional styling
Parameters: