Lines Matching defs:call
110 protected function addCall($call)
113 if ($key && $call[0] == 'cdata' && $this->calls[$key - 1][0] == 'cdata') {
114 $this->calls[$key - 1][1][0] .= $call[1][0];
116 $this->calls[] = $call;
121 protected function storeCall($call)
123 $this->calls[] = $call;
140 foreach ($calls as $key => $call) {
141 $cname = $call[0];
143 $cname = 'plugin_' . $call[1][0];
145 $plugin_open = (($call[1][2] == DOKU_LEXER_ENTER) || ($call[1][2] == DOKU_LEXER_SPECIAL));
146 $plugin_close = (($call[1][2] == DOKU_LEXER_EXIT) || ($call[1][2] == DOKU_LEXER_SPECIAL));
152 $this->closeParagraph($call[2]);
153 $this->storeCall($call);
154 $this->openParagraph($call[2]);
158 $this->closeParagraph($call[2]);
159 $this->storeCall($call);
160 $this->openParagraph($call[2]);
164 // If it's a substition it opens and closes at the same call.
167 $this->closeParagraph($call[2]);
168 $this->storeCall($call);
169 $this->openParagraph($call[2]);
173 $this->closeParagraph($call[2]);
174 $this->storeCall($call);
183 $this->closeParagraph($call[2]);
184 $this->openParagraph($call[2]);
187 $this->addCall(['cdata', ["\n"], $call[2]]);
193 $this->addCall($call);
197 $call = end($this->calls);
198 $this->closeParagraph($call[2]);