\Hubleto\Framework\Interfaces\AppInterface
Methods
ƒ validateManifest
public validateManifest(): mixed
ƒ init
public init(): void
ƒ onBeforeRender
public onBeforeRender(): void
ƒ hook
public hook(string $hook): void
Parameters
| Parameter |
Type |
Description |
$hook |
string |
|
ƒ getRootUrlSlug
public getRootUrlSlug(): string
ƒ getNotificationsCount
public getNotificationsCount(): int
ƒ installTables
public installTables(int $round): void
Parameters
| Parameter |
Type |
Description |
$round |
int |
|
ƒ getAvailableControllerClasses
public getAvailableControllerClasses(): array
ƒ getAvailableModelClasses
public getAvailableModelClasses(): array
ƒ installDefaultPermissions
public installDefaultPermissions(): void
ƒ assignPermissionsToRoles
public assignPermissionsToRoles(): void
ƒ generateDemoData
public generateDemoData(): void
ƒ renderSecondSidebar
public renderSecondSidebar(): string
ƒ search
public search(array $expressions): array
Parameters
| Parameter |
Type |
Description |
$expressions |
array |
|
ƒ addSetting
public addSetting(\Hubleto\Framework\Interfaces\AppInterface $app, array $setting): void
Parameters
| Parameter |
Type |
Description |
$app |
\Hubleto\Framework\Interfaces\AppInterface |
|
$setting |
array |
|
ƒ getSettings
public getSettings(): array
ƒ getFullConfigPath
public getFullConfigPath(string $path): string
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
ƒ saveConfig
public saveConfig(string $path, string $value = ''): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
string |
|
ƒ saveConfigForUser
public saveConfigForUser(string $path, string $value = ''): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
string |
|
ƒ configAsString
public configAsString(string $path, string $defaultValue = ''): string
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
string |
|
ƒ configAsInteger
public configAsInteger(string $path, int $defaultValue): int
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
int |
|
ƒ configAsFloat
public configAsFloat(string $path, float $defaultValue): float
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
float |
|
ƒ configAsBool
public configAsBool(string $path, bool $defaultValue = false): bool
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
bool |
|
ƒ configAsArray
public configAsArray(string $path, array $defaultValue = []): array
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$defaultValue |
array |
|
ƒ setConfigAsString
public setConfigAsString(string $path, string $value = ''): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
string |
|
ƒ setConfigAsInteger
public setConfigAsInteger(string $path, int $value): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
int |
|
ƒ setConfigAsFloat
public setConfigAsFloat(string $path, float $value): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
float |
|
ƒ setConfigAsBool
public setConfigAsBool(string $path, bool $value = false): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
bool |
|
ƒ setConfigAsArray
public setConfigAsArray(string $path, array $value = []): void
Parameters
| Parameter |
Type |
Description |
$path |
string |
|
$value |
array |
|
ƒ dangerouslyInjectDesktopHtmlContent
public dangerouslyInjectDesktopHtmlContent(string $where): string
Parameters
| Parameter |
Type |
Description |
$where |
string |
|
ƒ collectExtendibles
public collectExtendibles(string $extendibleName): array
Parameters
| Parameter |
Type |
Description |
$extendibleName |
string |
|
ƒ addSearchSwitch
public addSearchSwitch(string $switch, string $name): void
Parameters
| Parameter |
Type |
Description |
$switch |
string |
|
$name |
string |
|
ƒ canHandleSearchSwith
public canHandleSearchSwith(string $switch): bool
Parameters
| Parameter |
Type |
Description |
$switch |
string |
|