Webapp_Module

Copyright (C) Apis Networks, Inc - All Rights Reserved. Unauthorized copying of this file, via any medium, is strictly prohibited without consent. Any dissemination of material herein is prohibited. For licensing inquiries email <licensing@apisnetworks.com> Written by Matt Saladna <matt@apisnetworks.com>, June 2020
extends Module\Support\Webapps
Methods Summary
public
public
# install( string $hostname , string $path = '', array $opts = array ( ) )
public
# uninstall( string $hostname , string $path = '', $delete = 'all' )
public
# plugin_status( string $hostname , string $path = '', string $plugin = NULL )
public
# install_plugin( string $hostname , string $path , string $plugin , string $version = '' )
public
# uninstall_plugin( string $hostname , string $path , string $plugin , bool $force = false )
public
# disable_all_plugins( string $hostname , string $path = '' )
public
# db_config( string $hostname , string $path = '' )
public
public
# change_admin( string $hostname , string $path , array $fields )
public
# get_admin( string $hostname , string $path = '' )
public
# get_version( string $hostname , string $path = '' )
public
# update_all( string $hostname , string $path = '', string $version = NULL )
public
# update( string $hostname , string $path = '', string $version = NULL )
public
# update_plugins( string $hostname , string $path = '', array $plugins = array ( ) )
public
# update_themes( string $hostname , string $path = '', array $themes = array ( ) )
public
# fortify( string $hostname , string $path = '', string $mode = 'max', $args = array ( ) )
public
# unfortify( string $hostname , string $path = '' )
public
# has_fortification( string $hostname , string $path = '', string $mode = NULL )
public
# fortification_modes( string $hostname , string $path = '' )
public
# valid( string $hostname , string $path = '' )
{@inheritDoc}
protected
# redirect( string $method , string $hostname , string $path , mixed $args ,… )
Redirect call to corresponding API
protected
# autoloadDriver( string $hostname , string $path = '', bool $force = false )
Autoload API driver
protected
# autoloadType( string $hostname , string $path = '', bool $force = false )
Autoload Web App type
public
# discover( string $hostname , string $path = '' )
Discover available app
public
# manifest_sign( string $hostname , string $path = '' )
Sign ad hoc manifest
public
# manifest_signed( string $hostname , string $path = '' )
Ad hoc manifest signed
public
# manifest_create( string $hostname , string $path = '' )
Create new manifest
protected
# loadManifest( string $hostname , string $path )
public static
# blacklisted( string $app )
App is blacklisted

Overrides

public
# reconfigure( string $hostname , string $path , $param , $value = NULL )
public
# reconfigurables( string $hostname , string $path = '' )
public
# prune( )
Remove orphaned webapp metadata
public
# get_reconfigurable( string $hostname , string $path , $setting )
public
# snapshot( string $hostname , string $path = '', string $comment = 'snapshot' )
{@inheritDoc}

Overrides

public
# rollback( string $hostname , string $path = '', string $commit = NULL )
{@inheritDoc}

Overrides

public
Methods inherited from Module\Support\Webapps
__construct(), getExportedFunctions(), getAppName(), blacklisted(), allApps(), knownApps(), fortify(), getAppRoot(), getInternalName(), getDocrootUser(), mapFilesFromList(), buildFileMapList(), getACLFiles(), setOptions(), initializeMeta(), getOptions(), parseInstallOptions(), notifyInstalled(), failed(), getVersionLock(), has_fortification(), fortification_modes(), unfortify(), uninstall(), getDocumentRoot(), normalizeDocumentRoot(), map(), getModule(), remapPublic(), movePrimaryDocumentRoot(), unsquash(), next_version(), is_current(), getApnscpFunctionInterceptorFromDocroot(), hasMemoryAllowance(), getMaximalMemory(), hasStorageAllowance(), checkEmail(), prepareSquash(), checkVersion(), checkDocroot(), kill(), getLatestVersion(), fixRewriteBase(), removeInvalidDirectives(), download(), setInfo(), getAllHostnames(), getAllPartitionedHostnames(), valid(), theme_status(), install_theme(), uninstall_theme(), plugin_status(), install_plugin(), uninstall_plugin(), disable_all_plugins(), db_config(), change_admin(), get_admin(), update_all(), update(), update_plugins(), update_themes(), asset_skipped(), reconfigure(), reconfigurables(), get_reconfigurable(), registerApplication(), snapshot(), rollback(), handlerFromApplication()
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants inherited from Module\Support\Webapps
APPLICATION_PREF_KEY , APP_NAME , DEFAULT_VERSION_LOCK , BANNED_DIRECTIVES , LEARNING_DURATION
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties inherited from Module\Support\Webapps
$aclList, $registeredProviders, $exportedFunctions
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id