<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-__autoload('xdb');
-
// {{{ class PlSqlJoin
class PlSqlJoin
{
private function __construct($mode, $params)
{
$table = array_shift($params);
- $condition = call_user_func_array(array('XDB', 'format'), $params);
+ $condition = XDB::prepare($params);
if ($mode != self::MODE_LEFT && $mode != self::MODE_RIGHT && $mode != self::MODE_INNER) {
Platal::page()->kill("Join mode error: unknown mode $mode");
return;
}
// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>