\Hubleto\Framework\Interfaces\AppManagerInterface
Methods
init
public init(): void
sanitizeAppNamespace
public sanitizeAppNamespace(string $appNamespace): string
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
validateAppNamespace
public validateAppNamespace(string $appNamespace): void
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
onBeforeRender
public onBeforeRender(): void
getAppNamespaceForConfig
public getAppNamespaceForConfig(string $appNamespace): string
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
getAvailableApps
public getAvailableApps(): array
getInstalledAppNamespaces
public getInstalledAppNamespaces(): array
createAppInstance
public createAppInstance(string $appNamespace): \Hubleto\Framework\Interfaces\AppInterface
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
getEnabledApps
public getEnabledApps(): array
getDisabledApps
public getDisabledApps(): array
getInstalledApps
public getInstalledApps(): array
getActivatedApp
public getActivatedApp(): null|\Hubleto\Framework\Interfaces\AppInterface
getApp
public getApp(string $appNamespace): null|\Hubleto\Framework\Interfaces\AppInterface
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
isAppInstalled
public isAppInstalled(string $appNamespace): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
isAppEnabled
public isAppEnabled(string $appNamespace): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
installApp
public installApp(int $round, string $appNamespace, array $appConfig = [], bool $forceInstall = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$round |
int | |
$appNamespace |
string | |
$appConfig |
array | |
$forceInstall |
bool |
disableApp
public disableApp(string $appNamespace): void
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
enableApp
public enableApp(string $appNamespace): void
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |
createApp
public createApp(string $appNamespace, string $appSrcFolder): void
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string | |
$appSrcFolder |
string |
canAppDangerouslyInjectDesktopHtmlContent
public canAppDangerouslyInjectDesktopHtmlContent(string $appNamespace): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$appNamespace |
string |