Source for file List.php
Documentation is available at List.php
class Text_Wiki_Render_Plain_List extends Text_Wiki_Render {
* Renders a token into text matching the requested format.
* This rendering method is syntactically and semantically compliant
* with XHTML 1.1 in that sub-lists are part of the previous list item.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
// make nice variables (type, level, count)
// set up indenting so that the results look nice; we do this
// in two steps to avoid str_pad mathematics. ;-)
case 'bullet_list_start':
case 'number_list_start':
case 'bullet_item_start':
case 'number_item_start':
// ignore item endings and all other types.
// item endings are taken care of by the other types
// depending on their place in the list.
Documentation generated on Mon, 11 Mar 2019 14:22:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|