Set one key at a timevoid setParseConf (string rule name, string conf key, mixed conf value)Set all keys at oncevoid setParseConf (string rule name, array conf key-value pairs)Set the configuration for a rule parser. For example, to tell the "include" rule what base path to use for scripts:

 
$wiki =& new Text_Wiki();
$wiki->setParseConf('include', 'base', '/path/to/scripts');

> Note: Most rules use "render" configurations, not parse configurations.

 
text_wiki/methodsetparseconf.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