, NUH-Odds GmbH * ***/ class OrientierungProjekt { // active projekte für user public static function select($projekt_id) { $fields = 'a.id,a.pid,a.topNr,a.typ,a.tt_orientierung_id,b.orientierung,a.noDispInOrientierung,a.a,a.b,a.c,a.d,a.e,a.f,a.g,a.h,a.i,a.j,a.k,a.l,a.m,a.n,a.o,a.p,a.q,a.r,a.s,a.t,a.u,a.summe_az,a.bewertung,a.notizen'; $from = 'tx_gutachten_raume_basis a, tx_gutachten_orientierung b'; $where = "a.pid=$projekt_id AND a.tt_orientierung_id=b.id"; // echo $GLOBALS['TYPO3_DB']->SELECTquery($fields, $from, $where);exit; // return $GLOBALS['TYPO3_DB']->exec_SELECTgetRows($fields, $from, $where); return DbFunction::query("SELECT $fields FROM $from WHERE $where"); } }