Lines Matching refs:handler
73 public function handle($match, $state, $pos, Doku_Handler $handler) argument
139 … if ($this->getSectionState($handler)) $this->addCall($handler, 'section_close', [], $pos);
142 $handler->addPluginCall(substr(get_class($this), 14), $data, $state, $pos, $match);
143 $this->addCall($handler, 'section_open', [$level], $pos);
144 $this->setSectionState($handler, true);
164 private function addCall(Doku_Handler $handler, $method, $args, $pos) argument
166 if (method_exists($handler, 'addCall')) {
168 $handler->addCall($method, $args, $pos);
171 $handler->_addCall($method, $args, $pos);
176 private function getSectionstate(Doku_Handler $handler) argument
178 if (method_exists($handler, 'getStatus')) {
179 return $handler->getStatus('section');
181 return $handler->status['section'];
186 private function setSectionstate(Doku_Handler $handler, $value) argument
188 if (method_exists($handler, 'setStatus')) {
189 $handler->setStatus('section', $value);
191 $handler->status['section'] = $value;