Home
last modified time | relevance | path

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

123456

/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.php281 $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 Daction.php227 $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 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/combo/ComboStrap/
H A DTag.php51 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 DCallStack.php145 $writerCalls = &$callWriter->calls;
169 $this->callStack = &$handler->calls;
213 static function deleteCalls(&$calls, $start, $end) argument
216 unset($calls[$i]);
221 * @param array $calls
226 static function insertCallStackUpWards(&$calls, $position, $callStackToInsert) argument
229 array_splice($calls, $position, 0, $callStackToInsert);
842 * @param Call[] $calls
844 public function appendInstructionsFromCallObjects($calls) argument
846 foreach ($calls as $call) {
/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)) {
/plugin/move/helper/
H A Dhandler.php18 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/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;
/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/ifauthex/_test/
H A Dinstruction.test.php19 $calls = p_get_instructions(file_get_contents(__DIR__.'/testpage.txt'));
21 $calls = array_map([self::class, 'stripByteIndex'], $calls);
23 $this->assertJsonStringEqualsJsonFile(__DIR__.'/testpage.json', json_encode($calls));
/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(); 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/combo/action/
H A Dlinkmove.php220 if (substr($handler->calls, -strlen($suffix)) == $suffix) {
221 … $handler->calls = substr($handler->calls, 0, strlen($handler->calls) - strlen($suffix));
227 $handler->calls .= $match;
233 $handler->calls .= $match;
/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/columns/
H A Daction.php42 $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()];
/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/diagram/syntax/
H A Dmain.php143 $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/
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);
/plugin/preservefilenames/
H A Daction_anteater.php180 $calls =& $event->data->calls;
186 $last = count($calls) - 1;
192 if (!preg_match('/^(?:in|ex)ternalmedia$/', $calls[$i][$handler_name])) {
196 $inst =& $calls[$i][$instructions];
203 if ($calls[$i][$handler_name] === 'internalmedia') {

123456