, NUH-Odds GmbH * ***/ class ObjekteExcel { public static function select($projektid) { return DbFunction::selectJoin( 'tx_gutachten_raume_basis', ['[>]tx_gutachten_orientierung' => ['tx_gutachten_raume_basis.tt_orientierung_id' => 'id']], [ 'tx_gutachten_raume_basis.id', 'tx_gutachten_raume_basis.topNr', 'tx_gutachten_raume_basis.GNO', 'tx_gutachten_raume_basis.qmM1', 'tx_gutachten_raume_basis.factor', 'tx_gutachten_raume_basis.noDispInOrientierung (nodspl)', 'tx_gutachten_orientierung.orientierung', ], [ 'tx_gutachten_raume_basis.pid' => $projektid, 'ORDER' => 'tx_gutachten_raume_basis.topNr', ] ); // $fields = 'a.id, a.topNr, a.GNO, a.qmM1, a.factor, a.noDispInOrientierung nodspl, b.orientierung'; // $from = 'tx_gutachten_raume_basis a,tx_gutachten_orientierung b'; // $where = 'a.tt_orientierung_id=b.id and a.pid = '.$projektid; // $order = 'topNr'; // // echo $GLOBALS['TYPO3_DB']->SELECTquery($fields, $from, $where); exit; // return $GLOBALS['TYPO3_DB']->exec_SELECTgetRows($fields, $from, $where, '', $order); } }