register_hook('PLUGIN_STRUCT_TYPECLASS_INIT', 'BEFORE', $this, 'handle_init'); } /** * [Custom event handler which performs action] * * @param Doku_Event $event event object by reference * @param mixed $param [the parameters passed as fifth argument to register_hook() when this * handler was registered] * @return void */ public function handle_init(Doku_Event &$event, $param) { $event->data['Bez'] = 'dokuwiki\\plugin\\bez\\struct\\BezType'; } }