aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 19c2aafe8..e5f7c4ed5 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -44,11 +44,17 @@ class Doku_Handler {
* @param mixed $args arguments for this call
* @param int $pos byte position in the original source file
*/
- protected function addCall($handler, $args, $pos) {
+ public function addCall($handler, $args, $pos) {
$call = array($handler,$args, $pos);
$this->callWriter->writeCall($call);
}
+ /** @deprecated 2019-10-31 use addCall() instead */
+ public function _addCall($handler, $args, $pos) {
+ dbg_deprecated('addCall');
+ $this->addCall($handler, $args, $pos);
+ }
+
/**
* Similar to addCall, but adds a plugin call
*
@@ -58,7 +64,7 @@ class Doku_Handler {
* @param int $pos byte position in the original source file
* @param string $match matched syntax
*/
- protected function addPluginCall($plugin, $args, $state, $pos, $match) {
+ public function addPluginCall($plugin, $args, $state, $pos, $match) {
$call = array('plugin',array($plugin, $args, $state, $match), $pos);
$this->callWriter->writeCall($call);
}