Lines Matching defs:QB
118 * @param QueryBuilder $QB
123 public function select(QueryBuilder $QB, $tablealias, $colname, $alias)
126 $rightalias = $QB->generateTableAlias();
127 $QB->addLeftJoin($tablealias, 'titles', $rightalias, "$tablealias.pid = $rightalias.pid");
128 $QB->addSelectStatement("$rightalias.lasteditor", $alias);
132 parent::select($QB, $tablealias, $colname, $alias);
138 * @param QueryBuilder $QB
143 public function sort(QueryBuilder $QB, $tablealias, $colname, $order)
146 $rightalias = $QB->generateTableAlias();
147 $QB->addLeftJoin($tablealias, 'titles', $rightalias, "$tablealias.pid = $rightalias.pid");
148 $QB->addOrderBy("$rightalias.lasteditor $order");
152 $QB->addOrderBy("$tablealias.$colname $order");
168 $QB = $add->getQB();
169 $rightalias = $QB->generateTableAlias();
170 $QB->addLeftJoin($tablealias, 'titles', $rightalias, "$tablealias.pid = $rightalias.pid");
174 $pl = $QB->addValue($value);