API changes on PlSqlJoin in order to simplify its usage.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 5 Mar 2010 22:02:16 +0000 (23:02 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 5 Mar 2010 22:05:46 +0000 (23:05 +0100)
commitae3effcca10c409aef7a111cc778b9dca10561b9
treeafb7aafc787124c9aa9932d37dfbb04ceaa4eb3f
parent43343e2a0a239089f1a77059513e12c9336006a1
API changes on PlSqlJoin in order to simplify its usage.

New PlSqlJoin are built using factory functions (PlSqlJoin::left,
PlSqlJoin::right, PlSqlJoin::inner). The factories takes 2 arguments:
 * a table name
 * a XDB query format and its parameters

Example:
$join = PlSqlJoin::left('table', 'blah = {?} AND truc = {?}',
                        $param1, $param2);

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/plfilter.php