src/Sulu/Component/Rest/ListBuilder/Doctrine/FieldDescriptor/DoctrineConcatenationFieldDescriptor.php
public function getSelect()
    {
        $concat = null;

        foreach ($this->fieldDescriptors as $fieldDescriptor) {
            if (null == $concat) {
                $concat = $fieldDescriptor->getSelect();
            } else {
                $concat = 'CONCAT(' . $concat . ', CONCAT(\'' . $this->glue . '\', ' . $fieldDescriptor->getSelect() . '))';
            }
        }

        return $concat;
    }
public function getSelect()
    {
        $concat = null;

        foreach ($this->fieldDescriptors as $fieldDescriptor) {
            if (null == $concat) {
                $concat = $fieldDescriptor->getSelect();
            } else {
                $concat = 'CONCAT(' . $concat . ', CONCAT(\'' . $this->glue . '\', ' . $fieldDescriptor->getSelect() . '))';
            }
        }

        return $concat;
    }
public function getSelect ( ) { $ concat = null ; foreach ( $ this -> fieldDescriptors as $ fieldDescriptor ) { if ( null == $ concat ) { $ concat = $ fieldDescriptor -> getSelect ( ) ; } else { $ concat = 'CONCAT(' . $ concat . ', CONCAT(\'' . $ this -> glue . '\', ' . $ fieldDescriptor -> getSelect ( ) . '))' ; } } return $ concat ; }
Returns the select statement for this field without the alias.

@return string
Returns the select statement for this field without the alias .