string render ([string output format default 'Xhtml')This method will look at the current values of $source and $tokens, render token elements back into the source in the specified output format, and return the results.

 
// [snip] create a Text_Wiki object called $wiki
// [snip] load source text into $text
 
// parse the source text
$wiki->parse($text);
 
// render the parsed text into XHTML
$output = $wiki->render();
 
// display the rendered output
echo $output;
 
text_wiki/methodrender.txt · Last modified: 2008/09/16 11:49 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki