Methods |
public
static
|
factory(string|null $docroot, Auth_Info_User $ctx): static
Create new app type for docroot
Create new app type for docroot
|
#
|
public
|
__construct(?string $docroot)
|
#
|
public
|
__toString(): string
Text representation of app
Text representation of app
|
#
|
public
|
initializeMeta(string|array $name, mixed|null $value = null): self
Set app internal configuration
Set app internal configuration
|
#
|
public
|
getName(): string
|
#
|
public
|
handle(array $params): bool
Handle discretionary options
Handle discretionary options
|
#
|
public
|
getModuleName(): string
Get application type (css)
Get application type (css)
|
#
|
public
|
getHandlerName(): string
|
#
|
public
|
getApplicationInfo($docroot = null): mixed
|
#
|
public
|
getDocumentMetaPath(): string
Get document path for meta
Get document path for meta
|
#
|
public
|
refresh(): void
|
#
|
public
|
getDocumentRoot(): string
|
#
|
public
|
getHostname(): string
|
#
|
public
|
setHostname(string $hostname): self
|
#
|
public
|
getPath(): string
|
#
|
public
|
setPath(string $path = ''): self
|
#
|
public
|
git(): Git
|
#
|
public
|
getAppRoot(): string
|
#
|
public
|
getAppMeta(): Meta
|
#
|
public
|
getInstallableVersions(): array
Versions that may be installed from frontend
Versions that may be installed from frontend
|
#
|
public
|
getVersions(): array
|
#
|
public
|
getClassMapping(): string
\PHP class, <NAME>_Module
\PHP class, <NAME>_Module
|
#
|
public
|
display(): bool
|
#
|
public
|
hasFortificationMode(string $mode): bool
Fortification mode exists
Fortification mode exists
|
#
|
public
|
fortificationModes(): array
Get available Fortification modes
Get available Fortification modes
|
#
|
public
|
hasManifest(): bool
Application has manifest support
Application has manifest support
|
#
|
public
|
getManifest(): Manifest
|
#
|
public
|
hasReconfigurable(string $property): bool
Web App has reconfigurable property
Web App has reconfigurable property
|
#
|
public
|
getReconfigurable(string $property): mixed
Get webapp reconfigurable
Get webapp reconfigurable
|
#
|
public
|
getAdminPath(): string
|
#
|
public
|
hasRecovery(): bool
|
#
|
public
|
recover(): bool
|
#
|
public
|
hasChangePassword(): bool
|
#
|
public
|
reconfigure(array $params): bool
Handle generic + module reconfigurables
Handle generic + module reconfigurables
|
#
|
public
|
hasReconfiguration(): bool
|
#
|
public
|
getReconfigurables(): array
Settings that may be reconfigured
Settings that may be reconfigured
|
#
|
public
|
allowSsl(): bool
|
#
|
public
|
allowGit(): bool
|
#
|
public
|
hasGit(): bool
|
#
|
public
|
getAdminUser(): string
|
#
|
public
|
hasAdmin(): bool
App has administrative user feature
App has administrative user feature
|
#
|
public
|
detect(string $mixed, string $path = ''): bool
Parameters
$mixed |
hostname or docroot
|
|
#
|
public
|
hasDetection(): bool
|
#
|
public
|
install(): bool|mixed
|
#
|
public
|
hasInstall(): bool
|
#
|
public
|
getOptions(): mixed
Get configured options for application
Get configured options for application
|
#
|
public
|
setOptions(array|null $options): $this
|
#
|
public
|
uninstall(): bool
|
#
|
public
|
hasUninstall(): bool
|
#
|
public
|
update(string|null $version = null): bool
|
#
|
public
|
hasUpdate(): bool
|
#
|
public
|
getVersion(bool $force = false): ?string
|
#
|
public
|
hasVersion(): bool
|
#
|
public
|
fortify(bool|string $mode = null, array $args = []): bool
|
#
|
public
|
releaseFortify(): mixed
|
#
|
public
|
hasFortification(): bool
Has Fortification feature
Has Fortification feature
|
#
|
public
|
reload(): $this
|
#
|
public
|
needsUpdate(string $version): bool
Verify is app needs update
Verify is app needs update
|
#
|
public
|
versionStatus(string $version): null|string|bool
Check version status Will return false if version locked if a newer version is available
Check version status Will return false if version locked if a newer version is available
|
#
|
public
|
isInstalling(): bool
|
#
|
public
|
installFailed(): bool
Application failed to install properly
Application failed to install properly
|
#
|
public
|
getVersionLock(): array|ArrayAccess|mixed
|
#
|
public
|
applicationPresent(): bool
|
#
|
public
|
clearFailed(): self
|
#
|
public
|
affixed(): bool
Web App affixed in UI view
Web App affixed in UI view
|
#
|
public
|
getOption(string $name, null $default = null): mixed
|
#
|
public
|
setAffixed(bool $val): self
|
#
|
public
|
setOption(string|array $opt, mixed $val = null): bool
|
#
|
public
|
failed(): bool
Web App has failed last update
Web App has failed last update
|
#
|
public
|
changePassword(string $password): bool
|
#
|
public
|
getAppFamily(): string
|
#
|
public
|
getWebUser(): string
Get web user for given docroot
Get web user for given docroot
|
#
|
public
|
getPane(): Element
|
#
|
public
|
sslPresent(): bool
Certificate contains hostname
Certificate contains hostname
|
#
|