dokuwiki-source-plugin

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 2  →  ?path2? @ 3
/action.php
@@ -36,7 +36,7 @@
/**
* plugin should use this method to register its handlers with the dokuwiki's event controller
*/
function register(&$controller) {
function register(Doku_Event_Handler $controller) {
$controller->register_hook('PARSER_CACHE_USE','BEFORE', $this, '_cache_prepare');
}
 
/syntax.php
@@ -78,7 +78,7 @@
/**
* Handle the match
*/
function handle($match, $state, $pos, &$handler){
function handle($match, $state, $pos, Doku_Handler $handler){
$match = trim(substr($match,7,-1)); //strip <source from start and > from end
 
// ['|"]?<filename>[\1] [#<line#>-<line#>] <lang> | <title>
@@ -104,7 +104,7 @@
/**
* Create output
*/
function render($format, &$renderer, $data) {
function render($format, Doku_Renderer $renderer, $data) {
 
$this->_loadSettings();