src/Core/Db/Expression/Builder/JoinBuilder.php
public function build()
	{
		$this->_checkJoinArray();
		$this->way = ($this->joinArray['way']) ?
			strtoupper(str_replace(':', ' ', $this->joinArray['way'])) . ' ' : null;
		$this->_prepareJoinTable($this->joinArray['tables']);
		$this->conditionType = strtoupper($this->joinArray['conditionType']) . ' ';

		if($this->joinArray['conditionType'] !== 'natural')
		{
			$this->_prepareJoinCondition($this->joinArray['condition']);
			$expression = $this->way . 'JOIN' . $this->tables . $this->conditionType . $this->condition;
		}
		else
		{
			$expression = $this->conditionType . $this->way . 'JOIN' . rtrim($this->tables);
		}

		return $expression . ' ';
	}
public function build()
	{
		$this->_checkJoinArray();
		$this->way = ($this->joinArray['way']) ?
			strtoupper(str_replace(':', ' ', $this->joinArray['way'])) . ' ' : null;
		$this->_prepareJoinTable($this->joinArray['tables']);
		$this->conditionType = strtoupper($this->joinArray['conditionType']) . ' ';

		if($this->joinArray['conditionType'] !== 'natural')
		{
			$this->_prepareJoinCondition($this->joinArray['condition']);
			$expression = $this->way . 'JOIN' . $this->tables . $this->conditionType . $this->condition;
		}
		else
		{
			$expression = $this->conditionType . $this->way . 'JOIN' . rtrim($this->tables);
		}

		return $expression . ' ';
	}
public function build ( ) { $ this -> _checkJoinArray ( ) ; $ this -> way = ( $ this -> joinArray [ 'way' ] ) ? strtoupper ( str_replace ( ':' , ' ' , $ this -> joinArray [ 'way' ] ) ) . ' ' : null ; $ this -> _prepareJoinTable ( $ this -> joinArray [ 'tables' ] ) ; $ this -> conditionType = strtoupper ( $ this -> joinArray [ 'conditionType' ] ) . ' ' ; if ( $ this -> joinArray [ 'conditionType' ] !== 'natural' ) { $ this -> _prepareJoinCondition ( $ this -> joinArray [ 'condition' ] ) ; $ expression = $ this -> way . 'JOIN' . $ this -> tables . $ this -> conditionType . $ this -> condition ; } else { $ expression = $ this -> conditionType . $ this -> way . 'JOIN' . rtrim ( $ this -> tables ) ; } return $ expression . ' ' ; }
Build the join expression string.
Processing the passed join expression and return it in form of a string.

@see JoinBuilder::_checkJoinArray
@see JoinBuilder::_prepareJoinTable
@see JoinBuilder::_prepareJoinCondition

@return string The join expression as a string.
@throws \Exception When the join expression has an invalid format.
Build the join expression string . Processing the passed join expression and return it in form of a string .