/plugin/ifauthex/_test/ |
H A 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/ |
H A 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/refnotes/ |
H A D | instructions.php | 244 return new refnotes_instruction_reference($this, $this->event->data->calls[$this->index], $this->index); 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); [all...] |
/plugin/editsections/action/ |
H A D | es.php | 102 $calls =& $event->data->calls; 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']; 177 $calls[$h_ind][2] = $this->sections[$last_ind][end]; 181 $calls[$o_ind][2] = $this->sections[$last_ind][end]; 191 $calls =& $event->data->calls; [all …]
|
/plugin/dtable/ |
H A D | helper.php | 145 public $calls = NULL; 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[ 149 public $calls = NULL; global() variable in helper_plugin_dtable_handler [all...] |
/plugin/editsections2/ |
H A D | action.php | 79 $calls =& $event->data->calls; 84 $calls, 90 $this->setSectionLevels($calls); 156 function setSectionLevels($calls = null) argument 161 if ($calls === null) { 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; 217 if ($calls[$i][$handler_name] === 'section_edit') { [all …]
|
/plugin/const/ |
H A 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/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Prediction/ |
H A 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);
|
H A 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);
|
H A 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);
|
H A D | CallPrediction.php | 44 * @param Call[] $calls 50 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument 52 if (count($calls)) {
|
H A D | PredictionInterface.php | 29 * @param Call[] $calls 36 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method); argument
|
/plugin/move/helper/ |
H A D | handler.php | 18 public $calls = ''; variable in helper_plugin_move_handler 211 $this->calls .= $match; 215 $this->calls .= "[[$newNS:$match]]"; 218 $this->calls .= "[[$newID|$match]]"; 255 $this->calls .= $match; 258 $this->calls .= $match; 261 $this->calls .= $match; 264 $this->calls .= $match; 267 $this->calls .= $match; 289 $this->calls [all...] |
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/ |
H A 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;
|
H A D | UnexpectedCallsCountException.php | 20 public function __construct($message, MethodProphecy $methodProphecy, $count, array $calls) argument 22 parent::__construct($message, $methodProphecy, $calls);
|
/plugin/tabtables/ |
H A 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/ |
H A 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)) { 302 for ($n=0;$n<count($this->calls);$n++) { 303 $data =& $this->calls[$n][1]; [all …]
|
/plugin/imagemapping/ |
H A D | syntax.php | 262 private $calls = array(); global() variable in ImageMap_Handler 275 writeCalls($calls) global() argument
|
/plugin/codeprettify/syntax/ |
H A 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 | 270 * in the {@link helper_plugin_move_handler::$calls} 271 * variable (this is a string, not an array of calls) 278 * The code below calls then the rewrite function {@link helper_plugin_move_handler::internallink()} 279 * and change the content modified in the {@link helper_plugin_move_handler::$calls} variable 284 $handler->calls .= $match; 299 $handler->calls .= $match; 305 $handler->calls .= $match; 310 * This function will modify and add the link to the new output (ie calls) 311 * {@link helper_plugin_move_handler::$calls} 320 if (substr($handler->calls, [all...] |
/plugin/combo/ComboStrap/ |
H A D | CallStack.php | 83 * the {@link Doku_Handler::$calls call stack of the handler} 118 * Check the calls property 123 $rp = new \ReflectionProperty($callWriterClass, "calls"); 125 LogUtility::msg("$headErrorMessage. The call writer ($callWriterClass) provided cannot manipulate the callstack (ie the calls of the call writer are private).", LogUtility::LVL_MSG_ERROR); 133 * The calls 139 $writerCalls = &$callWriter->calls; 148 * Check the calls property of the handler 152 $rp = new \ReflectionProperty($handlerClass, "calls"); 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 propert 187 public $calls = []; global() variable in ComboStrap\\CallStack::createEmpty::AnonymousClassf00c83cd0100 192 public $calls = array(); global() variable in ComboStrap\\CallStack::createEmpty::AnonymousClassf00c83cd0100::getCallWriter::AnonymousClassf00c83cd0200 241 deleteCalls(& $calls, $start, $end) global() argument 254 insertCallStackUpWards(& $calls, $position, $callStackToInsert) global() argument 950 appendInstructionsFromCallObjects($calls) global() argument 1135 appendCallsAtTheEnd(array $calls) global() argument [all...] |
/plugin/siteexport/syntax/ |
H A D | toctools.php | 44 foreach( array_reverse( $handler->calls ) as $calls ) { 45 if ( $calls[0] == 'section_open' ) { 46 return $calls[1][0];
|
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Util/ |
H A D | StringUtil.php | 83 * @param Call[] $calls Array of Call instances 87 public function stringifyCalls(array $calls) argument 97 }, $calls));
|
/plugin/columns/ |
H A 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/variants/ |
H A 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);
|