Text_Wiki : getSource()

PHP Programming


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 parse() has been called.

// [snip] create a Text_Wiki object called $wiki
// [snip] load some source text into $text
$source_with_delimited_tokens = $wiki->getSource();

Leave a Comment

Your email address will not be published.