API16:JDatabaseQuery/join
From Joomla! Documentation
<! removed transcluded page call, red link never existed >
Syntax
join($type, $conditions)
| Parameter Name | Default Value | Description |
|---|---|---|
| $type | ||
| $conditions |
Defined in
libraries/joomla/database/databasequery.php
Importing
jimport( 'joomla.database.databasequery' );
Source Body
public function join($type, $conditions)
{
if (is_null($this->_join)) {
$this->_join = array();
}
$this->_join[] = new JDatabaseQueryElement(strtoupper($type) . ' JOIN', $conditions);
return $this;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples