Property | Type | Description | |
---|---|---|---|
$installHash | string | ||
$prefix | string |
Method | Description | |
---|---|---|
countAvailable ( string $type = '' ) : integer | Get the number of packages available | |
countInstalled ( ) : integer | Get the number of packages installed | |
countOutdated ( ) : integer | ||
forceRemoval ( string $type, string $supplier, string $package ) : string | Force a package to be removed. | |
getAvailable ( string $type = '', string $query = '', integer $offset, integer $limit ) : array | Get the available packages (based on data provided by Keyggdrasil) | |
getDetails ( string $type, string $supplier, string $name ) : array | Get the relevant details for a particular package | |
getInstalled ( boolean $grouped = false, integer $offset, integer $limit = 20 ) : array | Get a list of all installed packages | |
getLeftMenu ( ) : array | Dynamic content for the left menu of the Skyport. | |
getLogMessages ( DateTime $cutoffDate = null ) : array | Get the recent messages in the update log | |
getOutdatedPackages ( ) : array | Gets all packages for which a new version is available. | |
getURL ( string $type, string $supplier, string $name ) : string | ||
isLocked ( ) : boolean | Is the skyport locked? This prevents packages from being installed or removed. | |
isPasswordLocked ( ) : boolean | Is the skyport password-protected? This prevents packages from being installed or removed without a separate password? | |
manualRefresh ( string $type, string $supplier, string $pkg ) : boolean | Manually refresh a package's metadata. | |
tryUnlockPassword ( HiddenString $password ) : boolean |
Method | Description | |
---|---|---|
deleteMotifFromCabin ( string $cabin, string $key ) | Deletes a motif from a cabin's configuration | |
getAvailableUpgrades ( array $ext = [] ) : array | Get a list of all the available upgrade version identifiers | |
getMotifPath ( string $cabin, array $info ) : array | Locate the path that hosts the motif | |
getNewVersions ( array $package ) : array | Get all of the new versions available for a given package | |
getPackageMetadata ( string $type, string $supplier, string $pkg ) : array | Get the updated metadata for a particular package. | |
removeCabin ( array $info ) : string | Remove a cabin | |
removeGadget ( array $info ) : string | Remove a gadget | |
removeMotif ( array $info ) : string | Remove a motif |
public countAvailable ( string $type = '' ) : integer | ||
$type | string | The package type |
return | integer |
public countInstalled ( ) : integer | ||
return | integer |
protected deleteMotifFromCabin ( string $cabin, string $key ) | ||
$cabin | string | |
$key | string |
protected getAvailableUpgrades ( array $ext = [] ) : array | ||
$ext | array | |
return | array |
public getLeftMenu ( ) : array | ||
return | array |
public getLogMessages ( DateTime $cutoffDate = null ) : array | ||
$cutoffDate | DateTime | |
return | array |
protected getNewVersions ( array $package ) : array | ||
$package | array | |
return | array |
public getOutdatedPackages ( ) : array | ||
return | array |
public isPasswordLocked ( ) : boolean | ||
return | boolean |
protected removeCabin ( array $info ) : string | ||
$info | array | |
return | string |
protected removeGadget ( array $info ) : string | ||
$info | array | |
return | string |
protected removeMotif ( array $info ) : string | ||
$info | array | |
return | string |
public tryUnlockPassword ( HiddenString $password ) : boolean | ||
$password | HiddenString | |
return | boolean |