src/Sulu/Component/Content/SmartContent/QueryBuilder.php
private function buildPropertiesSelect($locale, &$additionalFields)
    {
        foreach ($this->propertiesConfig as $parameter) {
            $alias = $parameter->getName();
            $propertyName = $parameter->getValue();

            if (false !== strpos($propertyName, '.')) {
                $parts = explode('.', $propertyName);

                $this->buildExtensionSelect($alias, $parts[0], $parts[1], $locale, $additionalFields);
            } else {
                $this->buildPropertySelect($alias, $propertyName, $locale, $additionalFields);
            }
        }
    }
private function buildPropertiesSelect($locale, &$additionalFields)
    {
        foreach ($this->propertiesConfig as $parameter) {
            $alias = $parameter->getName();
            $propertyName = $parameter->getValue();

            if (false !== strpos($propertyName, '.')) {
                $parts = explode('.', $propertyName);

                $this->buildExtensionSelect($alias, $parts[0], $parts[1], $locale, $additionalFields);
            } else {
                $this->buildPropertySelect($alias, $propertyName, $locale, $additionalFields);
            }
        }
    }
private function buildPropertiesSelect ( $ locale , & $ additionalFields ) { foreach ( $ this -> propertiesConfig as $ parameter ) { $ alias = $ parameter -> getName ( ) ; $ propertyName = $ parameter -> getValue ( ) ; if ( false !== strpos ( $ propertyName , '.' ) ) { $ parts = explode ( '.' , $ propertyName ) ; $ this -> buildExtensionSelect ( $ alias , $ parts [ 0 ] , $ parts [ 1 ] , $ locale , $ additionalFields ) ; } else { $ this -> buildPropertySelect ( $ alias , $ propertyName , $ locale , $ additionalFields ) ; } } }
build select for properties.
build select for properties .