|
@@ 424-428 (lines=5) @@
|
| 421 |
|
static::createCol($array[0]); |
| 422 |
|
$cols = static::cols(); |
| 423 |
|
} |
| 424 |
|
if (!isset($cols[$array[0]]) && isset($cols[static::colPrefix() . $array[0]])) { |
| 425 |
|
$array[0] = static::colPrefix() . $array[0]; |
| 426 |
|
} else { |
| 427 |
|
static::checkForJoin($array[0], $rootModel); |
| 428 |
|
} |
| 429 |
|
} elseif (isset($array[0]) && is_array($array[0])) { |
| 430 |
|
foreach ($array as &$item) { |
| 431 |
|
static::fixPrefix($item, 'first', $rootModel); |
|
@@ 638-640 (lines=3) @@
|
| 635 |
|
} else { |
| 636 |
|
$info['colParams'] = []; |
| 637 |
|
} |
| 638 |
|
if (!isset($cols[$info['col']]) && isset($cols[static::colPrefix() . $info['col']])) { |
| 639 |
|
$info['col'] = static::colPrefix() . $info['col']; |
| 640 |
|
} |
| 641 |
|
} |
| 642 |
|
if (!empty(static::$labels[$info['rawCol']])) { |
| 643 |
|
$info['label'] = static::$labels[$info['rawCol']]; |