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
Application display name
|
#
|
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
Get handler name
|
#
|
public
|
getApplicationInfo($docroot = null): mixed
Get webapp meta
|
#
|
public
|
getDocumentMetaPath(): string
Get document path for meta
Get document path for meta
|
#
|
public
|
refresh(): void
|
#
|
public
|
getDocumentRoot(): string
Get document root
|
#
|
public
|
getHostname(): string
Get hostname
|
#
|
public
|
setHostname(string $hostname): self
Set app hostname
|
#
|
public
|
getPath(): string
Get URI path
|
#
|
public
|
setPath(string $path = ''): self
Set URI path
|
#
|
public
|
git(): Git
Load git instance
|
#
|
public
|
getAppRoot(): string
Get application root
|
#
|
public
|
getAppMeta(): Meta
Get application meta
|
#
|
public
|
getInstallableVersions(): array
Versions that may be installed from frontend
Versions that may be installed from frontend
|
#
|
public
|
getVersions(): array
Application versions
|
#
|
public
|
getClassMapping(): string
\PHP class, <NAME>_Module
\PHP class, <NAME>_Module
|
#
|
public
|
display(): bool
Display application?
|
#
|
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
Get Manifest handler
|
#
|
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
Get administrative path
|
#
|
public
|
hasRecovery(): bool
App has recovery feature
|
#
|
public
|
recover(): bool
Attempt recovery
|
#
|
public
|
hasChangePassword(): bool
App can change password
|
#
|
public
|
reconfigure(array $params): bool
Handle generic + module reconfigurables
Handle generic + module reconfigurables
|
#
|
public
|
hasReconfiguration(): bool
Has reconfiguration
|
#
|
public
|
getReconfigurables(): array
Settings that may be reconfigured
Settings that may be reconfigured
|
#
|
public
|
allowSsl(): bool
Allow SSL
|
#
|
public
|
allowGit(): bool
Allow git backing
|
#
|
public
|
hasGit(): bool
App has git setup
|
#
|
public
|
getAdminUser(): string
Get administrative user
|
#
|
public
|
hasAdmin(): bool
App has administrative user feature
App has administrative user feature
|
#
|
public
|
detect(string $mixed, string $path = ''): bool
Detect web app type
Parameters
$mixed |
hostname or docroot
|
|
#
|
public
|
hasDetection(): bool
App can be detected
|
#
|
public
|
install(): bool|mixed
Install specified app
|
#
|
public
|
hasInstall(): bool
App has install feature
|
#
|
public
|
getOptions(): mixed
Get configured options for application
Get configured options for application
|
#
|
public
|
setOptions(array|null $options): $this
Set options
|
#
|
public
|
uninstall(): bool
Uninstall app
|
#
|
public
|
hasUninstall(): bool
Has uninstall feature
|
#
|
public
|
update(string|null $version = null): bool
Update application
|
#
|
public
|
hasUpdate(): bool
Has update feature
|
#
|
public
|
getVersion(bool $force = false): ?string
Get app version
|
#
|
public
|
hasVersion(): bool
App has versioning
|
#
|
public
|
fortify(bool|string $mode = null, array $args = []): bool
Fortify webapp
|
#
|
public
|
releaseFortify(): mixed
Release fortification
|
#
|
public
|
hasFortification(): bool
Has Fortification feature
Has Fortification feature
|
#
|
public
|
reload(): $this
Reload Web App instance
|
#
|
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
Check version status
Will return false if version locked if a newer version is available
|
#
|
public
|
isInstalling(): bool
App is installing
|
#
|
public
|
installFailed(): bool
Application failed to install properly
Application failed to install properly
|
#
|
public
|
getVersionLock(): array|ArrayAccess|mixed
Get version lock value
|
#
|
public
|
applicationPresent(): bool
Application installed
|
#
|
public
|
clearFailed(): self
Clear update failure
|
#
|
public
|
affixed(): bool
Web App affixed in UI view
Web App affixed in UI view
|
#
|
public
|
getOption(string $name, null $default = null): mixed
Get option
|
#
|
public
|
setAffixed(bool $val): self
Set affix property
|
#
|
public
|
setOption(string|array $opt, mixed $val = null): bool
Set app option
|
#
|
public
|
failed(): bool
Web App has failed last update
Web App has failed last update
|
#
|
public
|
changePassword(string $password): bool
Change admin password
|
#
|
public
|
getAppFamily(): string
Get webapp family
|
#
|
public
|
getWebUser(): string
Get web user for given docroot
Get web user for given docroot
|
#
|
public
|
getPane(): Element
Get panel UI instance
|
#
|
public
|
sslPresent(): bool
Certificate contains hostname
Certificate contains hostname
|
#
|