TwistPHP Documentation

Package

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

Type: Model

Package — 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
//Call the function getUninstalled with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> getUninstalled();

Method List

Method Access Returns
__constructconstructvoid
getAllpublicvoid
getUninstalledpublicvoid
getInstalledpublicvoid
getRepositorypublicvoid
downloadpublicvoid
anonymousStatspublicvoid
loadprotectedvoid
installerpublicvoid
installpublicvoid
importSQLpublicvoid
importSettingspublicvoid
removeSettingspublicvoid
uninstallerpublicvoid
uninstallpublicvoid
isInstalledpublicvoid
existspublicvoid
getpublicvoid
getByKeypublicvoid
informationpublicvoid
routepublicvoid