summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/parser/handler.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 01abf5876..d8e6c79ea 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -27,6 +27,11 @@ class Doku_Handler {
$this->CallWriter->writeCall($call);
}
+ function addPluginCall($plugin, $args, $state, $pos) {
+ $call = array('plugin',array($plugin, $args, $state), $pos);
+ $this->CallWriter->writeCall($call);
+ }
+
function _finalize(){
$this->CallWriter->finalise();
@@ -75,7 +80,7 @@ class Doku_Handler {
if($plugin != null){
$data = $plugin->handle($match, $state, $pos, $this);
}
- $this->_addCall('plugin',array($pluginname,$data,$state),$pos);
+ $this->addPluginCall($pluginname,$data,$state,$pos);
return true;
}