File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base
exportSQL
— Export/dump the contents of a database to an SQL file
Name | Description |
---|---|
$dirSQLFile | n/a |
[$strDatabaseName = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirSQLFile = '/home/user/public_html/twist';
$strDatabaseName = null;
//Call the function exportSQL with the example vars
Twist::Database() -> exportSQL($dirSQLFile, $strDatabaseName);