Source for file List.php
Documentation is available at List.php
class Text_Wiki_Render_Tiki_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)
switch ($options['type']) {
case 'bullet_list_start':
case 'number_list_start':
if ($options['level'] == 0 ) {
case 'bullet_item_start':
return str_pad('', $options['level'], '*');
case 'number_item_start':
return str_pad('', $options['level'], '#');
Documentation generated on Mon, 11 Mar 2019 15:32:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|