|
@@ 389-393 (lines=5) @@
|
| 386 |
|
static::createCol($array[0]); |
| 387 |
|
$cols = static::cols(true); |
| 388 |
|
} |
| 389 |
|
if (!isset($cols[$array[0]]) && isset($cols[static::colPrefix() . $array[0]])) { |
| 390 |
|
$array[0] = static::colPrefix() . $array[0]; |
| 391 |
|
} else { |
| 392 |
|
static::checkForJoin($array[0], $rootModel); |
| 393 |
|
} |
| 394 |
|
} elseif (isset($array[0]) && is_array($array[0])) { |
| 395 |
|
foreach ($array as &$item) { |
| 396 |
|
static::fixPrefix($item, 'first', $rootModel); |
|
@@ 583-585 (lines=3) @@
|
| 580 |
|
} else { |
| 581 |
|
$info['colParams'] = []; |
| 582 |
|
} |
| 583 |
|
if (!isset($cols[$info['col']]) && isset($cols[static::colPrefix() . $info['col']])) { |
| 584 |
|
$info['col'] = static::colPrefix() . $info['col']; |
| 585 |
|
} |
| 586 |
|
$info['modelName'] = get_called_class(); |
| 587 |
|
} |
| 588 |
|
if (!empty(static::$labels[$info['rawCol']])) { |