Works for me. I don't need: function hook {} anymore either.
Thanks...martin
I just pushed a patch which changes the search function to accept an array in $func. I haven't tested it my self yet - would be great if you could. The following should work now:
class action_plugin_myindex extends Doku_Action_Plugin {
function getInfo() { ... } function register() { ... }
function mysearch(&$data, $base, $file, $type, $lvl, $opts) { ... }
function hook() {
search(..., array(&$this,'mysearch'), ... ); }
} // end class action plugin myindex
Andi
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist