string getSource ()Gets the value of the $source property; i.e., the source text after all rules have been applied and matching rules have replaced source text with delimited tokens. This is generally useful only after ]] has been called.

 
// [snip] create a Text_Wiki object called $wiki
// [snip] load some source text into $text
$wiki->parse($text);
$source_with_delimited_tokens = $wiki->getSource();
 
text_wiki/methodgetsource.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