Lines Matching defs:handler
57 private $handler;
83 * the {@link Doku_Handler::$calls call stack of the handler}
93 public function __construct(&$handler)
95 $this->handler = $handler;
110 if (!method_exists($handler, 'getCallWriter')) {
111 $class = get_class($handler);
112 LogUtility::msg("$headErrorMessage. The handler ($class) provided cannot manipulate the callstack (ie the function getCallWriter does not exist).", LogUtility::LVL_MSG_ERROR);
115 $callWriter = $handler->getCallWriter();
148 * Check the calls property of the handler
150 $handlerClass = get_class($handler);
154 LogUtility::msg("$headErrorMessage. The handler ($handlerClass) provided cannot manipulate the callstack (ie the calls of the handler are private).", LogUtility::LVL_MSG_ERROR);
158 LogUtility::msg("$headErrorMessage. The handler ($handlerClass) provided cannot manipulate the callstack (ie the handler does not have any calls property).", LogUtility::LVL_MSG_ERROR);
165 $this->callStack = &$handler->calls;
179 $handler = \ComboStrap\Parser::parseMarkupToHandler($markup);
180 return self::createFromHandler($handler);
264 * @param mixed|Doku_Handler $handler - mixed because we test if the handler passed is not the good one (It can happen with third plugin)
268 static function createFromHandler(&$handler): CallStack
270 return new CallStack($handler);
726 return $this->handler;