Home
last modified time | relevance | path

Searched refs:calls (Results 1 – 25 of 153) sorted by relevance

1234567

/plugin/ifauthex/_test/
H A Dinstruction.test.php18 $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 Daction.php80 $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 Dinstructions.php244 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 Des.php102 $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 Dhelper.php149 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/editsections2/
H A Daction.php79 $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 Daction.php230 $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 DNoCallsPrediction.php42 * @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 DCallTimesPrediction.php48 * @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 DCallbackPrediction.php51 * @param Call[] $calls
55 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument
63 call_user_func($callback, $calls, $object, $method);
H A DCallPrediction.php44 * @param Call[] $calls
50 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method) argument
52 if (count($calls)) {
H A DPredictionInterface.php29 * @param Call[] $calls
36 public function check(array $calls, ObjectProphecy $object, MethodProphecy $method); argument
/plugin/move/helper/
H A Dhandler.php18 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 DUnexpectedCallsException.php19 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 DUnexpectedCallsCountException.php20 public function __construct($message, MethodProphecy $methodProphecy, $count, array $calls) argument
22 parent::__construct($message, $methodProphecy, $calls);
/plugin/tabtables/
H A Daction.php210 $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 Dsyntax.php235 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 Dsyntax.php262 private $calls = array(); global() variable in ImageMap_Handler
275 writeCalls($calls) global() argument
/plugin/codeprettify/syntax/
H A Dcode.php177 $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 Dlinkmove.php270 * 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 DCallStack.php83 * 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 Dtoctools.php44 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 DStringUtil.php83 * @param Call[] $calls Array of Call instances
87 public function stringifyCalls(array $calls) argument
97 }, $calls));
/plugin/columns/
H A Daction.php37 $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 Dvariants.php187 * @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);

1234567