Translated using Weblate (Belarusian)
[phpmyadmin.git] / schema_export.php
blob9fe93f68f9a1abdae599c50a57202493294eb7ce
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Schema export handler
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Export;
10 use PhpMyAdmin\Relation;
11 use PhpMyAdmin\Util;
13 /**
14 * Gets some core libraries
16 require_once 'libraries/common.inc.php';
18 /**
19 * get all variables needed for exporting relational schema
20 * in $cfgRelation
22 $relation = new Relation();
23 $cfgRelation = $relation->getRelationsParam();
25 if (! isset($_POST['export_type'])) {
26 Util::checkParameters(array('export_type'));
29 /**
30 * Include the appropriate Schema Class depending on $export_type
31 * default is PDF
33 Export::processExportSchema($_POST['export_type']);