TwistPHP Documentation

importSQL

File path: dist/twist/Core/Models/Install.model.php
Namespace: Twist\Core\Models
Extends:

importSQLInstall any DB and tables required by the framework

Parameters

Name Type Description
$dirInstallSQLstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$dirInstallSQL '/home/user/public_html/twist';

//Call the function importSQL with the example vars
\Twist\Core\Models\Install::importSQL($dirInstallSQL);