A process(
array
&$matches)
|
|
Generates a replacement for the matched text. Returned token options are:
'type' => 'bullet_list_start' : the start of a bullet list 'bullet_list_end' : the end of a bullet list 'number_list_start' : the start of a number list 'number_list_end' : the end of a number list 'item_start' : the start of item text (bullet or number) 'item_end' : the end of item text (bullet or number) 'unknown' : unknown type of list or item
'level' => the indent level (0 for the first level, 1 for the second, etc)
'count' => the list item number at this level. not needed for xhtml, but very useful for PDF and RTF.
'format' => the optional enumerating type : A, a, I, i, or 1 (default) as HTML
Parameters:
A processElement(
array
&$matches)
|
|
Generates a replacement for the matched list elements. Token options are:
'type' => '[listType]_item_start' : the start of item text (bullet or number) '[listType]_item_end' : the end of item text (bullet or number) where [listType] is bullet or number
'level' => the indent level (0 for the first level, 1 for the second, etc)
'count' => the item ordeer at this level.
Parameters: