Свойство | Тип | Описание | |
---|---|---|---|
$installHash | string | ||
$prefix | string |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Результат | integer |
public countInstalled ( ) : integer | ||
Результат | integer |
protected deleteMotifFromCabin ( string $cabin, string $key ) | ||
$cabin | string | |
$key | string |
protected getAvailableUpgrades ( array $ext = [] ) : array | ||
$ext | array | |
Результат | array |
public getLeftMenu ( ) : array | ||
Результат | array |
public getLogMessages ( DateTime $cutoffDate = null ) : array | ||
$cutoffDate | DateTime | |
Результат | array |
protected getNewVersions ( array $package ) : array | ||
$package | array | |
Результат | array |
public getOutdatedPackages ( ) : array | ||
Результат | array |
public isPasswordLocked ( ) : boolean | ||
Результат | boolean |
protected removeCabin ( array $info ) : string | ||
$info | array | |
Результат | string |
protected removeGadget ( array $info ) : string | ||
$info | array | |
Результат | string |
protected removeMotif ( array $info ) : string | ||
$info | array | |
Результат | string |
public tryUnlockPassword ( HiddenString $password ) : boolean | ||
$password | HiddenString | |
Результат | boolean |