english/libraries/joomla/database/databasequery.php
/**
	 * Add a JOIN clause to the query.
	 *
	 * @param   string  $type        The type of join. This string is prepended to the JOIN keyword.
	 * @param   string  $conditions  A string or array of conditions.
	 *
	 * @return  JDatabaseQuery  Returns this object to allow chaining.
	 *
	 * @since   11.1
	 */
Add a JOIN clause to the query.
@param   string  $type        The type of join. This string is prepended to the JOIN keyword.
@param   string  $conditions  A string or array of conditions.

@return  JDatabaseQuery  Returns this object to allow chaining.


Add a JOIN clause to the query . @param string $type The type of join . This string is prepended to the JOIN keyword . @param string $conditions A string or array of conditions . @return JDatabaseQuery Returns this object to allow chaining .
public function join($type, $conditions)
	{
		if (is_null($this->join)) {
			$this->join = array();
		}
		$this->join[] = new JDatabaseQueryElement(strtoupper($type) . ' JOIN', $conditions);
		return $this;
	}
public function join ( $ type , $ conditions ) { if ( is_null ( $ this -> join ) ) { $ this -> join = array ( ) ; } $ this -> join [ ] = new JDatabaseQueryElement ( strtoupper ( $ type ) . ' JOIN' , $ conditions ) ; return $ this ; }
Add a JOIN clause to the query.
Add a JOIN clause to the query .