Lines Matching defs:QB
14 * @param QueryBuilder $QB
19 public function select(QueryBuilder $QB, $tablealias, $colname, $alias)
21 $rightalias = $QB->generateTableAlias();
22 $QB->addLeftJoin($tablealias, 'titles', $rightalias, "$tablealias.pid = $rightalias.pid");
23 $QB->addSelectStatement("$rightalias.lastsummary", $alias);
29 * @param QueryBuilder $QB
34 public function sort(QueryBuilder $QB, $tablealias, $colname, $order)
36 $rightalias = $QB->generateTableAlias();
37 $QB->addLeftJoin($tablealias, 'titles', $rightalias, "$tablealias.pid = $rightalias.pid");
38 $QB->addOrderBy("$rightalias.lastsummary $order");
53 $QB = $add->getQB();
54 $rightalias = $QB->generateTableAlias();
55 $QB->addLeftJoin($tablealias, 'titles', $rightalias, "$tablealias.pid = $rightalias.pid");
59 $pl = $QB->addValue($value);