Lines Matching refs:index

114     private function handlePluginQnaBlock($index, $data) {  argument
118 $this->rewriter->insertBlockCall($index, 'close_block', 2);
121 $this->rewriter->insertBlockCall($index, 'open_block');
122 $this->rewriter->setQuestionLevel($index, $this->headerLevel + 1);
129 $this->rewriter->delete($index);
134 $this->rewriter->insertBlockCall($index, 'close_block');
143 $this->rewriter->delete($index);
148 $this->rewriter->insertBlockCall($index, 'close_block');
159 private function handlePluginQnaHeader($index) { argument
164 if (($index - $this->headerIndex) < 4) {
174 $this->rewriter->delete($index);
226 public function delete($index) { argument
227 $this->correction[$index][] = array(self::DELETE);
233 public function insertPluginCall($index, $name, $data, $state, $text = '') { argument
234 …$this->correction[$index][] = array(self::INSERT, array('plugin', array($name, $data, $state, $tex…
240 public function insertBlockCall($index, $data, $repeat = 1) { argument
242 $this->insertPluginCall($index, 'qna_block', array($data), DOKU_LEXER_SPECIAL);
249 public function insertHeaderCall($index, $data) { argument
254 $this->insertPluginCall($index, 'qna_header', $data, DOKU_LEXER_SPECIAL);
276 public function setQuestionLevel($index, $level) { argument
277 $this->correction[$index][] = array(self::SET_LEVEL, $level);
285 $index = $this->getCorrectionIndex();
286 $corrections = count($index);
292 for ( ; $i < $index[$c]; $i++) {
332 private function applyCorrections($index, $input, &$output) { argument
334 $position = $input[$index][2];
336 foreach ($this->correction[$index] as $correction) {
347 …if (($input[$index][0] == 'plugin') && ($input[$index][1][0] == 'qna_block') && ($input[$index][1]…
348 $input[$index][1][1][3] = $correction[1];
355 $output[] = $input[$index];