src/Sulu/Component/Content/SmartContent/QueryBuilder.php
private function buildPropertySelect($alias, $propertyName, $locale, &$additionalFields)
    {
        foreach ($this->structureManager->getStructures(static::$structureType) as $structure) {
            if ($structure->hasProperty($propertyName)) {
                $property = $structure->getProperty($propertyName);
                $additionalFields[$locale][] = [
                    'name' => $alias,
                    'property' => $property,
                    'templateKey' => $structure->getKey(),
                ];
            }
        }
    }
private function buildPropertySelect($alias, $propertyName, $locale, &$additionalFields)
    {
        foreach ($this->structureManager->getStructures(static::$structureType) as $structure) {
            if ($structure->hasProperty($propertyName)) {
                $property = $structure->getProperty($propertyName);
                $additionalFields[$locale][] = [
                    'name' => $alias,
                    'property' => $property,
                    'templateKey' => $structure->getKey(),
                ];
            }
        }
    }
private function buildPropertySelect ( $ alias , $ propertyName , $ locale , & $ additionalFields ) { foreach ( $ this -> structureManager -> getStructures ( static :: $ structureType ) as $ structure ) { if ( $ structure -> hasProperty ( $ propertyName ) ) { $ property = $ structure -> getProperty ( $ propertyName ) ; $ additionalFields [ $ locale ] [ ] = [ 'name' => $ alias , 'property' => $ property , 'templateKey' => $ structure -> getKey ( ) , ] ; } } }
build select for single property.
build select for single property .