From 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Jan 2020 10:55:03 +0100 Subject: phpmyadmin working --- srcs/phpmyadmin/schema_export.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 srcs/phpmyadmin/schema_export.php (limited to 'srcs/phpmyadmin/schema_export.php') diff --git a/srcs/phpmyadmin/schema_export.php b/srcs/phpmyadmin/schema_export.php new file mode 100644 index 0000000..ee265b1 --- /dev/null +++ b/srcs/phpmyadmin/schema_export.php @@ -0,0 +1,38 @@ +get('relation'); +$cfgRelation = $relation->getRelationsParam(); + +if (! isset($_POST['export_type'])) { + Util::checkParameters(['export_type']); +} + +/** + * Include the appropriate Schema Class depending on $export_type + * default is PDF + */ +/** @var Export $export */ +$export = $containerBuilder->get('export'); +$export->processExportSchema($_POST['export_type']); -- cgit