1 | <?php |
||
8 | class action_plugin_styling extends DokuWiki_Action_Plugin |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * Registers a callback functions |
||
13 | * |
||
14 | * @param Doku_Event_Handler $controller DokuWiki's event controller object |
||
15 | * @return void |
||
16 | */ |
||
17 | public function register(Doku_Event_Handler $controller) |
||
21 | |||
22 | /** |
||
23 | * Adds the preview parameter to the stylesheet loading in non-js mode |
||
24 | * |
||
25 | * @param Doku_Event $event event object by reference |
||
26 | * @param mixed $param [the parameters passed as fifth argument to register_hook() when this |
||
27 | * handler was registered] |
||
28 | * @return void |
||
29 | */ |
||
30 | public function handleHeader(Doku_Event &$event, $param) |
||
47 | } |
||
48 | |||
50 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.