Lines Matching refs:key
169 $key = -1;
170 while (++$key < count($this->tableCalls)) {
171 $call = $this->tableCalls[$key];
176 … array_splice($this->tableCalls, $key + 1, 0, [['tablethead_open', [], $call[2]]]);
188 $cellKey[$lastRow][$lastCell] = $key;
192 … $prev = in_array($this->tableCalls[$key - 1][0], ['tablecell_open', 'tableheader_open']);
193 … $next = in_array($this->tableCalls[$key + 1][0], ['tablecell_close', 'tableheader_close']);
196 $this->tableCalls[$key - 1][1][1] = 'left';
200 $this->tableCalls[$key - 1][1][1] = 'right';
212 $this->tableCalls[$key][0] = 'cdata';
216 $this->tableCalls[$key - 1][1][0] = false;
218 for ($i = $key - 2; $i >= $cellKey[$lastRow][1]; $i--) {
230 $toDelete[] = $key - 1;
231 $toDelete[] = $key;
232 $toDelete[] = $key + 1;
236 if ($this->tableCalls[$key - 1][0] == 'cdata') {
239 $this->tableCalls[$key][0] = 'cdata';
260 $this->tableCalls[$key][0] = 'cdata';
261 $this->tableCalls[$key][1][0] = '';
266 $this->tableCalls[$key - 1][1][2] = false;
268 $toDelete[] = $key - 1;
269 $toDelete[] = $key;
270 $toDelete[] = $key + 1;
284 array_splice($this->tableCalls, $key, 0, $moreCalls);
285 $key += $moreCallsLength;
289 … array_splice($this->tableCalls, $key + 1, 0, [['tablethead_close', [], $call[2]]]);
297 for ($key = 0; $key < $cnt; $key++) {
298 if ($this->tableCalls[$key][0] == 'cdata') {
299 $ckey = $key;
300 $key++;
301 while ($this->tableCalls[$key][0] == 'cdata') {
302 $this->tableCalls[$ckey][1][0] .= $this->tableCalls[$key][1][0];
303 $toDelete[] = $key;
304 $key++;