Translated using Weblate (Portuguese)
[phpmyadmin.git] / schema_export.php
blobd25657e8c2a488272d62d64ce4f045f2d9dc4b3e
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($_REQUEST['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($_REQUEST['export_type']);