src/Sulu/Component/Rest/Listing/ListQueryBuilder.php
private function generateJoinCondition($field)
    {
        if (!array_key_exists($field, $this->joinConditions)) {
            return '';
        }

        // ON {joinConditino}
        $format = ' WITH %s';

        return sprintf($format, $this->joinConditions[$field]);
    }
private function generateJoinCondition($field)
    {
        if (!array_key_exists($field, $this->joinConditions)) {
            return '';
        }

        // ON {joinConditino}
        $format = ' WITH %s';

        return sprintf($format, $this->joinConditions[$field]);
    }
private function generateJoinCondition ( $ field ) { if ( ! array_key_exists ( $ field , $ this -> joinConditions ) ) { return '' ; } // ON {joinConditino} $ format = ' WITH %s' ; return sprintf ( $ format , $ this -> joinConditions [ $ field ] ) ; }
generates the join condition.

@param $field

@return string
generates the join condition .