src/Queries/ElementQuery.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 280-290 (lines=11) @@ | 
                                                            
                                    | 277 |  |      * | 
                                                            
                                    | 278 |  |      * @return array | 
                                                            
                                    | 279 |  |      */ | 
                                                            
                                    | 280 |  |     protected function normalizeSelect() | 
                                                            
                                    | 281 |  |     { | 
                                                            
                                    | 282 |  |         if ($this->fieldsMustBeSelected()) { | 
                                                            
                                    | 283 |  |             $this->select = array_merge($this->standardFields, $this->select); | 
                                                            
                                    | 284 |  |         } | 
                                                            
                                    | 285 |  |  | 
                                                            
                                    | 286 |  |         $this->select[] = 'ID'; | 
                                                            
                                    | 287 |  |         $this->select[] = 'IBLOCK_ID'; | 
                                                            
                                    | 288 |  |  | 
                                                            
                                    | 289 |  |         return $this->clearSelectArray(); | 
                                                            
                                    | 290 |  |     } | 
                                                            
                                    | 291 |  |  | 
                                                            
                                    | 292 |  |     /** | 
                                                            
                                    | 293 |  |      * Fetch all iblock property codes from database | 
                                                                        
                 
                                                            
                    
src/Queries/UserQuery.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 205-214 (lines=10) @@ | 
                                                            
                                    | 202 |  |      * | 
                                                            
                                    | 203 |  |      * @return array | 
                                                            
                                    | 204 |  |      */ | 
                                                            
                                    | 205 |  |     protected function normalizeSelect() | 
                                                            
                                    | 206 |  |     { | 
                                                            
                                    | 207 |  |         if ($this->fieldsMustBeSelected()) { | 
                                                            
                                    | 208 |  |             $this->select = array_merge($this->standardFields, $this->select); | 
                                                            
                                    | 209 |  |         } | 
                                                            
                                    | 210 |  |  | 
                                                            
                                    | 211 |  |         $this->select[] = 'ID'; | 
                                                            
                                    | 212 |  |  | 
                                                            
                                    | 213 |  |         return $this->clearSelectArray(); | 
                                                            
                                    | 214 |  |     } | 
                                                            
                                    | 215 |  |  | 
                                                            
                                    | 216 |  |     /** | 
                                                            
                                    | 217 |  |      * Normalize select UF before sending it to getList. |