Lines Matching refs:tableCalls

7     protected $tableCalls = [];
53 $this->callWriter->writeCalls($this->tableCalls);
60 $this->tableCalls[] = ['table_open', $call[1], $call[2]];
61 $this->tableCalls[] = ['tablerow_open', [], $call[2]];
67 $this->tableCalls[] = ['table_close', $call[1], $call[2]];
73 $this->tableCalls[] = $call;
89 while ($discard = array_pop($this->tableCalls)) {
97 $this->tableCalls[] = ['tablerow_close', [], $call[2]];
122 $lastCall = end($this->tableCalls);
126 $this->tableCalls[] = ['colspan', [], $call[2]];
129 $this->tableCalls[] = [$this->lastCellType . '_close', [], $call[2]];
130 $this->tableCalls[] = [$call[0] . '_open', [1, null, 1], $call[2]];
133 $this->tableCalls[] = [$call[0] . '_open', [1, null, 1], $call[2]];
143 $this->tableCalls[] = $call;
150 if ($this->tableCalls[0][0] == 'table_open') {
152 $this->tableCalls[0][1][] = $this->maxCols - 1;
153 $this->tableCalls[0][1][] = $this->maxRows;
154 $this->tableCalls[0][1][] = array_shift($this->tableCalls[0][1]);
175 while (++$key < count($this->tableCalls)) {
176 $call = $this->tableCalls[$key];
181 array_splice($this->tableCalls, $key + 1, 0, [['tablethead_open', [], $call[2]]]);
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';
209 if ($this->tableCalls[$cellKey[$lastRow][$lastCell]][1][1] == 'right') {
210 $this->tableCalls[$cellKey[$lastRow][$lastCell]][1][1] = 'center';
212 $this->tableCalls[$cellKey[$lastRow][$lastCell]][1][1] = 'left';
217 $this->tableCalls[$key][0] = 'cdata';
221 $this->tableCalls[$key - 1][1][0] = false;
225 $this->tableCalls[$i][0] == 'tablecell_open' ||
226 $this->tableCalls[$i][0] == 'tableheader_open'
228 if (false !== $this->tableCalls[$i][1][0]) {
229 $this->tableCalls[$i][1][0]++;
241 if ($this->tableCalls[$key - 1][0] == 'cdata') {
244 $this->tableCalls[$key][0] = 'cdata';
252 $this->tableCalls[$cellKey[$i][$lastCell]][0] == 'tablecell_open' ||
253 $this->tableCalls[$cellKey[$i][$lastCell]][0] == 'tableheader_open'
255 if ($this->tableCalls[$cellKey[$i][$lastCell]][1][2] >= $lastRow - $i) {
265 $this->tableCalls[$key][0] = 'cdata';
266 $this->tableCalls[$key][1][0] = '';
269 $this->tableCalls[$cellKey[$spanning_cell][$lastCell]][1][2]++;
271 $this->tableCalls[$key - 1][1][2] = false;
289 array_splice($this->tableCalls, $key, 0, $moreCalls);
294 array_splice($this->tableCalls, $key + 1, 0, [['tablethead_close', [], $call[2]]]);
301 $cnt = count($this->tableCalls);
303 if ($this->tableCalls[$key][0] == 'cdata') {
306 while ($this->tableCalls[$key][0] == 'cdata') {
307 $this->tableCalls[$ckey][1][0] .= $this->tableCalls[$key][1][0];
316 unset($this->tableCalls[$delete]);
318 $this->tableCalls = array_values($this->tableCalls);