PMA\libraries\plugins\export\ExportSql::exportDBFooter PHP Метод

exportDBFooter() публичный Метод

Outputs database footer
public exportDBFooter ( string $db ) : boolean
$db string Database name
Результат boolean Whether it succeeded
    public function exportDBFooter($db)
    {
        global $crlf;
        $result = true;
        //add indexes to the sql dump file
        if (isset($GLOBALS['sql_indexes'])) {
            $result = PMA_exportOutputHandler($GLOBALS['sql_indexes']);
            unset($GLOBALS['sql_indexes']);
        }
        //add auto increments to the sql dump file
        if (isset($GLOBALS['sql_auto_increments'])) {
            $result = PMA_exportOutputHandler($GLOBALS['sql_auto_increments']);
            unset($GLOBALS['sql_auto_increments']);
        }
        //add constraints to the sql dump file
        if (isset($GLOBALS['sql_constraints'])) {
            $result = PMA_exportOutputHandler($GLOBALS['sql_constraints']);
            unset($GLOBALS['sql_constraints']);
        }
        return $result;
    }