|
@@ 426-430 (lines=5) @@
|
| 423 |
|
static::createCol($array[0]); |
| 424 |
|
$cols = static::cols(true); |
| 425 |
|
} |
| 426 |
|
if (!isset($cols[$array[0]]) && isset($cols[static::colPrefix() . $array[0]])) { |
| 427 |
|
$array[0] = static::colPrefix() . $array[0]; |
| 428 |
|
} else { |
| 429 |
|
static::checkForJoin($array[0], $rootModel); |
| 430 |
|
} |
| 431 |
|
} elseif (isset($array[0]) && is_array($array[0])) { |
| 432 |
|
foreach ($array as &$item) { |
| 433 |
|
static::fixPrefix($item, 'first', $rootModel); |
|
@@ 588-590 (lines=3) @@
|
| 585 |
|
} else { |
| 586 |
|
$info['colParams'] = []; |
| 587 |
|
} |
| 588 |
|
if (!isset($cols[$info['col']]) && isset($cols[static::colPrefix() . $info['col']])) { |
| 589 |
|
$info['col'] = static::colPrefix() . $info['col']; |
| 590 |
|
} |
| 591 |
|
$info['modelName'] = get_called_class(); |
| 592 |
|
} |
| 593 |
|
if (!empty(static::$labels[$info['rawCol']])) { |