request = $request; $this->app = $app; } public function exampleAction() { $post = $this->request->getContent(); $id = (int)$this->app->DB->Select( "SELECT id FROM uebertragungen_account WHERE aktiv = 1 AND xml_pdf = 'TransferGobNav' LIMIT 1" ); if ($id > 0) { /** @var \Uebertragungen $transferObject */ $transferObject = $this->app->loadModule('uebertragungen'); if (!empty($transferObject)) { /** @var \TransferGobNav $transferGobnav */ $transferGobnav = $transferObject->LoadTransferModul('TransferGobNav', $id); $transferGobnav->ParseRequest($post); } } exit; } }