Source for file Toc.php
Documentation is available at Toc.php
class Text_Wiki_Render_Plain_Toc extends Text_Wiki_Render {
* Renders a token into text matching the requested format.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
if ($type == 'item_start') {
// build some indenting spaces for the text
$indent = ($level - 2 ) * 4;
if ($type == 'item_end') {
Documentation generated on Mon, 11 Mar 2019 14:22:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|