TwistPHP Documentation

Install

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

Type: Model

Install — Handle all package/package related enquiries, for instance if you want to know if a package is installed or what version it is.

Example Usage

<?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);

Method List

Method Access Returns
packagestaticvoid
removePackagestaticvoid
importSQLstaticvoid
importSettingsstaticvoid
removeSettingsstaticvoid