|
@@ 731-737 (lines=7) @@
|
| 728 |
|
* @param array $parameters Any additional parameters if the join is a parameterised subquery |
| 729 |
|
* @return $this |
| 730 |
|
*/ |
| 731 |
|
public function innerJoin($table, $onClause, $alias = null, $order = 20, $parameters = array()) |
| 732 |
|
{ |
| 733 |
|
if ($table) { |
| 734 |
|
$this->query->addInnerJoin($table, $onClause, $alias, $order, $parameters); |
| 735 |
|
} |
| 736 |
|
return $this; |
| 737 |
|
} |
| 738 |
|
|
| 739 |
|
/** |
| 740 |
|
* Add a LEFT JOIN clause to this query. |
|
@@ 751-757 (lines=7) @@
|
| 748 |
|
* @param array $parameters Any additional parameters if the join is a parameterised subquery |
| 749 |
|
* @return $this |
| 750 |
|
*/ |
| 751 |
|
public function leftJoin($table, $onClause, $alias = null, $order = 20, $parameters = array()) |
| 752 |
|
{ |
| 753 |
|
if ($table) { |
| 754 |
|
$this->query->addLeftJoin($table, $onClause, $alias, $order, $parameters); |
| 755 |
|
} |
| 756 |
|
return $this; |
| 757 |
|
} |
| 758 |
|
|
| 759 |
|
/** |
| 760 |
|
* Prefix of all joined table aliases. E.g. ->filter('Banner.Image.Title)' |