dokuwiki-source-plugin – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 76... | Line 76... | |||
76 | } |
76 | } |
|
Line 77... | Line 77... | |||
77 | |
77 | |
|
78 | /** |
78 | /** |
|
79 | * Handle the match |
79 | * Handle the match |
|
80 | */ |
80 | */ |
|
81 | function handle($match, $state, $pos, &$handler){ |
81 | function handle($match, $state, $pos, Doku_Handler $handler){ |
|
Line 82... | Line 82... | |||
82 | $match = trim(substr($match,7,-1)); //strip <source from start and > from end |
82 | $match = trim(substr($match,7,-1)); //strip <source from start and > from end |
|
83 | |
83 | |
|
Line 102... | Line 102... | |||
102 | } |
102 | } |
|
Line 103... | Line 103... | |||
103 | |
103 | |
|
104 | /** |
104 | /** |
|
105 | * Create output |
105 | * Create output |
|
106 | */ |
106 | */ |
|
Line 107... | Line 107... | |||
107 | function render($format, &$renderer, $data) { |
107 | function render($format, Doku_Renderer $renderer, $data) { |
|
Line 108... | Line 108... | |||
108 | |
108 | |
|
109 | $this->_loadSettings(); |
109 | $this->_loadSettings(); |