+ return new PlStdHook(array($this, 'handler_' . $fun),
+ $auth, $perms, $type);
+ }
+
+ /** Register a hook that points to a wiki page.
+ */
+ public function make_wiki_hook($auth = AUTH_PUBLIC, $perms = 'user', $type = DO_AUTH)
+ {
+ return new PlWikiHook($auth, $perms, $type);