get(DatabaseInterface::class); /** * get all variables needed for exporting relational schema * in $cfgRelation */ $relation = new Relation($dbi); $cfgRelation = $relation->getRelationsParam(); if (! isset($_REQUEST['export_type'])) { Util::checkParameters(['export_type']); } /** * Include the appropriate Schema Class depending on $export_type * default is PDF */ $export = new Export($dbi); $export->processExportSchema($_REQUEST['export_type']);