src/aws/ImageSelectCollectionActiveWindow.php
public function callbackLoadAllImages()
    {
        $query = (new Query())
            ->select(['image_id' => $this->imageIdFieldName])
            ->where([$this->refFieldName => $this->getItemId()])
            ->from($this->refTableName);
        
        if ($this->isSortEnabled()) {
            $query->orderBy([$this->sortIndexFieldName => SORT_ASC]);
        }
            
        $data = $query->all();
        $images = [];
        foreach ($data as $image) {
            $images[] = $this->getImageArray($image['image_id']);
        }

        return $images;
    }
public function callbackLoadAllImages()
    {
        $query = (new Query())
            ->select(['image_id' => $this->imageIdFieldName])
            ->where([$this->refFieldName => $this->getItemId()])
            ->from($this->refTableName);
        
        if ($this->isSortEnabled()) {
            $query->orderBy([$this->sortIndexFieldName => SORT_ASC]);
        }
            
        $data = $query->all();
        $images = [];
        foreach ($data as $image) {
            $images[] = $this->getImageArray($image['image_id']);
        }

        return $images;
    }
public function callbackLoadAllImages ( ) { $ query = ( new Query ( ) ) -> select ( [ 'image_id' => $ this -> imageIdFieldName ] ) -> where ( [ $ this -> refFieldName => $ this -> getItemId ( ) ] ) -> from ( $ this -> refTableName ) ; if ( $ this -> isSortEnabled ( ) ) { $ query -> orderBy ( [ $ this -> sortIndexFieldName => SORT_ASC ] ) ; } $ data = $ query -> all ( ) ; $ images = [ ] ; foreach ( $ data as $ image ) { $ images [ ] = $ this -> getImageArray ( $ image [ 'image_id' ] ) ; } return $ images ; }
Load all images.

@return array
Load all images .