| /plugin/ifauthex/_test/ |
| D | instruction.test.php | 18 $calls = p_get_instructions(file_get_contents(__DIR__.'/test_page.txt')); 20 $calls = array_map([self::class, 'stripByteIndex'], $calls); 22 $this->assertJsonStringEqualsJsonFile(__DIR__.'/test_page.json', json_encode($calls)); 30 $calls = p_get_instructions(file_get_contents(__DIR__.'/test_nested.txt')); 32 $calls = array_map([self::class, 'stripByteIndex'], $calls); 34 $this->assertJsonStringEqualsJsonFile(__DIR__.'/test_nested.json', json_encode($calls)); 43 $calls = p_get_instructions(file_get_contents(__DIR__.'/test_hidden_first_header.txt')); 44 $xhtml = p_render('xhtml', $calls, $info); 49 $calls = p_get_instructions(file_get_contents(__DIR__.'/test_visible_first_header.txt')); 50 $xhtml = p_render('xhtml', $calls, $info);
|
| /plugin/linebreak/ |
| D | action.php | 80 $calls =& $event->data->calls; 83 for ($i=0; $i < count($calls); $i++) { 84 …if ($calls[$i][0] == 'plugin' && $calls[$i][1][0] == 'linebreak' && isset($calls[$i][1][1]['marker… 85 $marker = $calls[$i][1][1]['marker']; 98 for ($i=0; $i < count($calls); $i++) { 99 if ($calls[$i][0] == 'section_edit') { 100 $calls[$i][1][0] = $this->_convert($calls[$i][1][0]); 101 $calls[$i][1][1] = $this->_convert($calls[$i][1][1]); 102 $calls[$i][2] = $this->_convert($calls[$i][2]);
|
| /plugin/dtable/ |
| D | helper.php | 145 public $calls = NULL; variable in helper_plugin_dtable_handler 164 $this->calls = array(); 168 $this->calls[$this->row][0][$this->cell] = array(1, 1, $type, ''); 169 $this->calls[$this->row][1][0] = $line; 175 $this->calls[$this->row][1][1] = $line - 1; 181 if (is_array($this->calls)) { 182 $this->calls[$this->row][0][$this->cell][3] .= $match; 188 $this->calls[$this->row][0][$this->cell][3] .= $match; 190 $this->calls[$this->row][0][$this->cell][3] .= $match; 193 while (preg_match('/^\s*:::\s*$/', $this->calls[$row][0][$this->cell][3]) && $row > 0) { [all …]
|
| /plugin/refnotes/ |
| D | instructions.php | 244 …return new refnotes_instruction_reference($this, $this->event->data->calls[$this->index], $this->i… 265 return array_key_exists($this->index, $this->event->data->calls); 272 return new refnotes_instruction_reference($this, $this->event->data->calls[$index], $index); 286 $this->extraCalls[count($this->event->data->calls)][] = $call; 299 $calls = array(); 304 $slice = array_slice($this->event->data->calls, $prevIndex, $index - $prevIndex); 305 $calls = array_merge($calls, $slice); 309 $calls[] = $call->getData(); 315 $callCount = count($this->event->data->calls); 318 $slice = array_slice($this->event->data->calls, $prevIndex, $callCount - $prevIndex); [all …]
|
| D | action.php | 77 private $calls; variable in refnotes_instruction_mangler 89 $this->calls = new refnotes_instruction_list($event); 112 $this->calls->applyChanges(); 119 $this->calls->applyChanges(); 123 $this->calls->applyChanges(); 131 foreach ($this->calls as $call) { 294 … $this->calls->insert($index, new $instruction($data->getNamespace(), $data->getData())); 309 $this->calls->append(new refnotes_notes_render_instruction('*')); 318 foreach ($this->calls as $call) {
|
| /plugin/editsections/action/ |
| D | es.php | 102 $calls =& $event->data->calls; 108 … array ( $calls[0][1][0], // Reuse original header name because Dokuwiki 120 $calls = array_merge($fakesection, $calls); 124 foreach( $calls as $index => $value ) { 153 $calls[$h_ind][1][2] = $value['start']; 154 $calls[$h_ind][2] = $value['start']; 159 $calls[$o_ind][2] = $value['start']; 164 $calls[$c_ind][2] = $value['end']; 176 $calls[$h_ind][1][2] = $this->sections[$last_ind][end]; 177 $calls[$h_ind][2] = $this->sections[$last_ind][end]; [all …]
|
| /plugin/imagemapping/ |
| D | ImageMapHandler.php | 16 protected $calls = []; variable in dokuwiki\\plugin\\imagemapping\\ImageMapHandler 35 $this->calls[] = $call; 39 public function writeCalls($calls) argument 41 $this->calls = array_merge($this->calls, $calls); 47 $last_call = end($this->calls); 70 $last_call = end($this->calls); 71 $first_call = array_shift($this->calls); 76 if (!empty($this->calls)) { 79 $this->CallWriter->writeCall(['eol', [], $this->calls[0][2]]); 80 $this->CallWriter->writeCalls($this->calls); [all …]
|
| /plugin/const/ |
| D | action.php | 230 $calls =& $event->data->calls; 231 $count = count($calls); 236 if (in_array($calls[$i][0],array( 244 $calls[$i][2] = $this->_convert($calls[$i][2]); 246 if (in_array($calls[$i][0],array('header','table_open'))) { 247 $calls[$i][1][2] = $this->_convert($calls[$i][1][2]); 249 if(in_array($calls[$i][0],array('table_close'))) { 250 $calls[$i][1][0] = $this->_convert($calls[$i][1][0]); 253 if ($calls[$i][0] === 'plugin' && $calls[$i][1][0] === 'headernofloat') { 254 $calls[$i][1][1]['pos'] = $this->_convert($calls[$i][1][1]['pos']); [all …]
|
| /plugin/editsections2/ |
| D | action.php | 79 $calls =& $event->data->calls; 84 $calls, 90 $this->setSectionLevels($calls); 156 function setSectionLevels($calls = null) argument 161 if ($calls === null) { 162 $calls = p_cached_instructions(wikiFN($ID), 'cacheonly'); 168 for ($i = 0, $i_max = count($calls); $i < $i_max; $i++) { 169 if ($calls[$i][$handler_name] === 'section_open') { 170 $section_level = $calls[$i][$instructions][0]; 207 $calls =& $event->data->calls; [all …]
|
| /plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Prediction/ |
| D | NoCallsPrediction.php | 42 * @param Call[] $calls 48 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument 50 if (!count($calls)) { 54 $verb = count($calls) === 1 ? 'was' : 'were'; 63 count($calls), 65 $this->util->stringifyCalls($calls) 66 ), $method, $calls);
|
| D | CallTimesPrediction.php | 48 * @param Call[] $calls 54 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument 56 if ($this->times == count($calls)) { 65 if (count($calls)) { 75 count($calls), 76 $this->util->stringifyCalls($calls) 105 throw new UnexpectedCallsCountException($message, $method, $this->times, $calls);
|
| D | CallbackPrediction.php | 51 * @param Call[] $calls 55 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument 63 call_user_func($callback, $calls, $object, $method);
|
| D | CallPrediction.php | 44 * @param Call[] $calls 50 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument 52 if (count($calls)) {
|
| D | PredictionInterface.php | 29 * @param Call[] $calls 36 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method); argument
|
| /plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/ |
| D | UnexpectedCallsException.php | 19 private $calls = array(); variable in Prophecy\\Exception\\Prediction\\UnexpectedCallsException 21 public function __construct($message, MethodProphecy $methodProphecy, array $calls) argument 25 $this->calls = $calls; 30 return $this->calls;
|
| /plugin/tabtables/ |
| D | action.php | 210 $calls = &$event->data->calls; 211 $count = count($calls); 219 if ($calls[$i][0] == 'section_edit') { 220 $calls[$i][1][0] = $this->_convert($calls[$i][1][0]); 221 $calls[$i][1][1] = $this->_convert($calls[$i][1][1]); 222 $calls[$i][2] = $this->_convert($calls[$i][2]); }}
|
| /plugin/imagemap/ |
| D | syntax.php | 235 var $calls = array(); variable in ImageMap_Handler 245 $this->calls[] = $call; 248 function writeCalls($calls) { argument 249 $this->calls = array_merge($this->calls, $calls); 253 $last_call = end($this->calls); 260 $last_call = end($this->calls); 261 $first_call = array_shift($this->calls); 266 if (!empty($this->calls)) { 269 $this->CallWriter->writeCall(array('eol',array(),$this->calls[0][2])); 270 $this->CallWriter->writeCalls($this->calls); [all …]
|
| /plugin/codeprettify/syntax/ |
| D | code.php | 173 $calls = array_slice(p_get_instructions($title), 1, -1); 175 $calls = null; 194 return $data = [$state, $params, $calls]; 214 list($args, $calls) = array($data[1], $data[2]); 215 if (isset($calls)) { 218 $renderer->nest($calls);
|
| /plugin/combo/action/ |
| H A D | linkmove.php | 294 $handler->calls .= $match; 310 $handler->calls .= $match; 319 $handler->calls .= $match; 340 if (substr($handler->calls, -strlen($suffix)) === $suffix) { 341 … $handler->calls = substr($handler->calls, 0, strlen($handler->calls) - strlen($suffix));
|
| /plugin/combo/ComboStrap/ |
| H A D | CallStack.php | 139 $writerCalls = &$callWriter->calls; 165 $this->callStack = &$handler->calls; 187 public $calls = []; variable in ComboStrap\\CallStack::createEmpty::AnonymousClassf00c83cd0100 192 public $calls = array(); variable in ComboStrap\\CallStack::createEmpty::AnonymousClassf00c83cd0100::getCallWriter::AnonymousClassf00c83cd0200 241 static function deleteCalls(&$calls, $start, $end) argument 244 unset($calls[$i]); 249 * @param array $calls 254 static function insertCallStackUpWards(&$calls, $position, $callStackToInsert) argument 257 array_splice($calls, $position, 0, $callStackToInsert); 948 * @param Call[] $calls [all …]
|
| /plugin/siteexport/syntax/ |
| D | toctools.php | 44 foreach( array_reverse( $handler->calls ) as $calls ) { 45 if ( $calls[0] == 'section_open' ) { 46 return $calls[1][0];
|
| /plugin/columns/ |
| D | action.php | 37 $rewriter->process($event->data->calls); 44 $calls = count($event->data->calls); 45 for ($c = 0; $c < $calls; $c++) { 46 $call =& $event->data->calls[$c]; 59 … $this->handleColumns($c, $call[1][1][0], $this->detectSectionEdit($event->data->calls, $c)); 82 $calls = count($call); 83 for ($c = $start + 1; $c < $calls; $c++) { 300 $call =& $event->data->calls[$this->column[$c]->getOpenCall()];
|
| /plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Util/ |
| D | StringUtil.php | 83 * @param Call[] $calls Array of Call instances 87 public function stringifyCalls(array $calls) argument 97 }, $calls));
|
| /plugin/diagram/syntax/ |
| D | main.php | 143 $calls = p_get_instructions('<'.$this->tag_name_splitter.'>' 146 list($commands, $abbrs) = $this->_genCommandsAndAbbrs($calls); 185 * @param array $calls DokuWiki calls 188 function _genCommandsAndAbbrs ($calls) argument 196 foreach ($calls as $call) 1031 * @param array $calls DokuWiki calls 1034 function _renderWikiCalls ($calls) argument 1036 return p_render('xhtml', $calls, $info);
|
| /plugin/variants/ |
| D | variants.php | 187 * @param array $calls The calls that shall be written 189 function writeCalls($calls) { argument 191 $this->elsecalls = array_merge($this->elsecalls, $calls); 193 $this->ifcalls = array_merge($this->ifcalls, $calls);
|