Lines Matching refs:key
174 $key = -1;
175 while (++$key < count($this->tableCalls)) {
176 $call = $this->tableCalls[$key];
181 array_splice($this->tableCalls, $key + 1, 0, [['tablethead_open', [], $call[2]]]);
193 $cellKey[$lastRow][$lastCell] = $key;
197 $prev = in_array($this->tableCalls[$key - 1][0], ['tablecell_open', 'tableheader_open']);
198 $next = in_array($this->tableCalls[$key + 1][0], ['tablecell_close', 'tableheader_close']);
201 $this->tableCalls[$key - 1][1][1] = 'left';
205 $this->tableCalls[$key - 1][1][1] = 'right';
217 $this->tableCalls[$key][0] = 'cdata';
221 $this->tableCalls[$key - 1][1][0] = false;
223 for ($i = $key - 2; $i >= $cellKey[$lastRow][1]; $i--) {
235 $toDelete[] = $key - 1;
236 $toDelete[] = $key;
237 $toDelete[] = $key + 1;
241 if ($this->tableCalls[$key - 1][0] == 'cdata') {
244 $this->tableCalls[$key][0] = 'cdata';
265 $this->tableCalls[$key][0] = 'cdata';
266 $this->tableCalls[$key][1][0] = '';
271 $this->tableCalls[$key - 1][1][2] = false;
273 $toDelete[] = $key - 1;
274 $toDelete[] = $key;
275 $toDelete[] = $key + 1;
289 array_splice($this->tableCalls, $key, 0, $moreCalls);
290 $key += $moreCallsLength;
294 array_splice($this->tableCalls, $key + 1, 0, [['tablethead_close', [], $call[2]]]);
302 for ($key = 0; $key < $cnt; $key++) {
303 if ($this->tableCalls[$key][0] == 'cdata') {
304 $ckey = $key;
305 $key++;
306 while ($this->tableCalls[$key][0] == 'cdata') {
307 $this->tableCalls[$ckey][1][0] .= $this->tableCalls[$key][1][0];
308 $toDelete[] = $key;
309 $key++;