| @@ 179-193 (lines=15) @@ | ||
| 176 | * |
|
| 177 | * @return array |
|
| 178 | */ |
|
| 179 | protected function normalizeSelect() |
|
| 180 | { |
|
| 181 | if ($this->fieldsMustBeSelected()) { |
|
| 182 | $this->select = array_merge($this->standardFields, $this->select); |
|
| 183 | } |
|
| 184 | ||
| 185 | if ($this->propsMustBeSelected()) { |
|
| 186 | $this->select[] = 'IBLOCK_ID'; |
|
| 187 | $this->select[] = 'UF_*'; |
|
| 188 | } |
|
| 189 | ||
| 190 | $this->select[] = 'ID'; |
|
| 191 | ||
| 192 | return $this->clearSelectArray(); |
|
| 193 | } |
|
| 194 | } |
|
| 195 | ||
| @@ 285-299 (lines=15) @@ | ||
| 282 | * |
|
| 283 | * @return array |
|
| 284 | */ |
|
| 285 | protected function normalizeSelect() |
|
| 286 | { |
|
| 287 | if ($this->fieldsMustBeSelected()) { |
|
| 288 | $this->select = array_merge($this->standardFields, $this->select); |
|
| 289 | } |
|
| 290 | ||
| 291 | if ($this->propsMustBeSelected()) { |
|
| 292 | $this->addAllPropsToSelect(); |
|
| 293 | } |
|
| 294 | ||
| 295 | $this->select[] = 'ID'; |
|
| 296 | $this->select[] = 'IBLOCK_ID'; |
|
| 297 | ||
| 298 | return $this->clearSelectArray(); |
|
| 299 | } |
|
| 300 | ||
| 301 | /** |
|
| 302 | * Add all iblock property codes to select. |
|