/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 | 281 $calls = array(); 287 $calls = array_merge($calls, $slice); 291 $calls[] = $call->getData(); 297 $callCount = count($this->event->data->calls); 301 $calls = array_merge($calls, $slice); 304 $offset = $this->event->data->calls[$callCount - 1][2]; 306 for ($i = count($calls) - 1; $i >= 0; --$i) { 307 if ($calls[$i][2] == -1) { 308 $calls[$i][2] = $offset; 311 $offset = $calls[$i][2]; [all …]
|
/plugin/const/ |
H A D | action.php | 227 $calls =& $event->data->calls; 228 $count = count($calls); 233 if (in_array($calls[$i][0],array( 241 $calls[$i][2] = $this->_convert($calls[$i][2]); 243 if (in_array($calls[$i][0],array('header','table_open'))) { 244 $calls[$i][1][2] = $this->_convert($calls[$i][1][2]); 246 if(in_array($calls[$i][0],array('table_close'))) { 247 $calls[$i][1][0] = $this->_convert($calls[$i][1][0]); 250 if ($calls[$i][0] === 'plugin' && $calls[$i][1][0] === 'headernofloat') { 251 $calls[$i][1][1]['pos'] = $this->_convert($calls[$i][1][1]['pos']); [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/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/dtable/ |
H A D | helper.php | 149 public $calls = NULL; variable in helper_plugin_dtable_handler 168 $this->calls = array(); 173 $this->calls[$this->row][1][0] = $line; 179 $this->calls[$this->row][1][1] = $line - 1; 185 if (is_array($this->calls)) { 201 $this->calls[$row][0][$this->cell][1]++; 205 $this->calls[$this->row][1][1] = $line - 1; 208 array_pop($this->calls[$this->row][0]); 216 $this->calls[$this->row][1][0] = $line; 222 array_pop($this->calls[$this->row][0]); [all …]
|
/plugin/combo/ComboStrap/ |
H A D | Tag.php | 51 private $calls; variable in ComboStrap\\Tag 126 $this->calls = &$writerCalls; 129 $this->calls = &$handler->calls; 138 $this->calls = &$handler->calls; 140 $this->calls = &$writerCalls; 180 if (isset($this->calls[$i])) { 181 return new Call($this->calls[$i]); 212 if (!isset($this->calls[$position])) { 217 $callArray = &$this->calls[$position]; 409 if (isset($this->calls[$i])) { [all …]
|
H A D | CallStack.php | 145 $writerCalls = &$callWriter->calls; 169 $this->callStack = &$handler->calls; 200 public $calls = []; variable in ComboStrap\\CallStack::createEmpty::AnonymousClassf00c83cd0100 205 public $calls = array(); variable in ComboStrap\\CallStack::createEmpty::AnonymousClassf00c83cd0100::getCallWriter::AnonymousClassf00c83cd0200 236 static function deleteCalls(&$calls, $start, $end) argument 239 unset($calls[$i]); 244 * @param array $calls 252 array_splice($calls, $position, 0, $callStackToInsert); 881 * @param Call[] $calls 883 public function appendInstructionsFromCallObjects($calls) argument [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/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/move/helper/ |
H A D | handler.php | 18 public $calls = ''; variable in helper_plugin_move_handler 206 $this->calls .= $match; 250 $this->calls .= $match; 253 $this->calls .= $match; 256 $this->calls .= $match; 259 $this->calls .= $match; 262 $this->calls .= $match; 284 $this->calls .= $match; 355 $this->calls .= $match; 369 $this->calls .= $params[0]; [all …]
|
/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(); variable in ImageMap_Handler 272 $this->calls[] = $call; 275 function writeCalls($calls) { argument 276 $this->calls = array_merge($this->calls, $calls); 280 $last_call = end($this->calls); 287 $last_call = end($this->calls); 288 $first_call = array_shift($this->calls); 293 if (!empty($this->calls)) { 333 for ($n=0;$n<count($this->calls);$n++) { 334 $data =& $this->calls[$n][1]; [all …]
|
/plugin/codeprettify/syntax/ |
H A D | code.php | 177 $calls = array_slice(p_get_instructions($title), 1, -1); 179 $calls = null; 198 return $data = [$state, $params, $calls]; 214 list($state, $args, $calls) = $data; 218 if (isset($calls)) { 221 $renderer->nest($calls);
|
/plugin/combo/action/ |
H A D | linkmove.php | 221 if (substr($handler->calls, -strlen($suffix)) == $suffix) { 222 … $handler->calls = substr($handler->calls, 0, strlen($handler->calls) - strlen($suffix)); 228 $handler->calls .= $match; 234 $handler->calls .= $match;
|
/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 | 42 $rewriter->process($event->data->calls); 49 $calls = count($event->data->calls); 50 for ($c = 0; $c < $calls; $c++) { 51 $call =& $event->data->calls[$c]; 64 … $this->handleColumns($c, $call[1][1][0], $this->detectSectionEdit($event->data->calls, $c)); 87 $calls = count($call); 88 for ($c = $start + 1; $c < $calls; $c++) { 305 $call =& $event->data->calls[$this->column[$c]->getOpenCall()];
|