public function joins(array $joins, $context) {
		$result = null;

		foreach ($joins as $key => $join) {
			if ($result) {
				$result .= ' ';
			}
			$join = is_array($join) ? $this->_instance('query', $join) : $join;
			$options['keys'] = ['mode', 'source', 'alias', 'constraints'];
			$result .= $this->renderCommand('join', $join->export($this, $options));
		}
		return $result;
	}
public function joins(array $joins, $context) {
		$result = null;

		foreach ($joins as $key => $join) {
			if ($result) {
				$result .= ' ';
			}
			$join = is_array($join) ? $this->_instance('query', $join) : $join;
			$options['keys'] = ['mode', 'source', 'alias', 'constraints'];
			$result .= $this->renderCommand('join', $join->export($this, $options));
		}
		return $result;
	}
public function joins ( array $ joins , $ context ) { $ result = null ; foreach ( $ joins as $ key => $ join ) { if ( $ result ) { $ result .= ' ' ; } $ join = is_array ( $ join ) ? $ this -> _instance ( 'query' , $ join ) : $ join ; $ options [ 'keys' ] = [ 'mode' , 'source' , 'alias' , 'constraints' ] ; $ result .= $ this -> renderCommand ( 'join' , $ join -> export ( $ this , $ options ) ) ; } return $ result ; }
Returns a join statement for given array of query objects

@param object|array $joins A single or array of `lithium\data\model\Query` objects
@param \lithium\data\model\Query $context
@return string
Returns a join statement for given array of query objects