File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
isInstalled
— Check to see if a package is installed on the framework by its package slug (lowercase package folder name)
Name | Description |
---|---|
$strPackageSlug | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strPackageSlug = 'foo';
//Call the function isInstalled with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> isInstalled($strPackageSlug);