Webapp

Interface Webapp

Known implementers

Drupal_Module , Ghost_Module , Joomla_Module , Laravel_Module , Magento_Module , Module\Support\Webapps , Module\Support\Webapps\Magento , Wordpress_Module

Methods Summary
public
# install( string $hostname , string $path = '', array $opts = array ( ) )
Install application
public
# plugin_status( string $hostname , string $path = '', string $plugin = NULL )
Get plugin status
public
# install_plugin( string $hostname , string $path = '', string $plugin , string $version = '' )
Install and activate plugin
public
# uninstall_plugin( string $hostname , string $path = '', string $plugin , bool $force = false )
Uninstall a plugin
public
# disable_all_plugins( string $hostname , string $path = '' )
Recovery mode to disable all plugins
public
# install_theme( string $hostname , string $path = '', string $theme , string $version = NULL )
Install a theme
public
# theme_status( string $hostname , string $path = '', string $theme = NULL )
Get plugin status
public
# uninstall( string $hostname , string $path = '', string $delete = 'all' )
Uninstall WP from a location
public
# db_config( string $hostname , string $path = '' )
Get database configuration for application
public
# is_current( string $version = NULL, string $branchcomp = NULL )
Check if version is latest or get latest version
public
# get_versions( )
Get all available versions sorted in ascending semantic version
public
# change_admin( string $hostname , string $path = '', array $fields )
Change admin credentials
public
# get_admin( string $hostname , string $path = '' )
Get the primary admin for a WP instance
public
# get_version( string $hostname , string $path = '' )
Get installed version
public
# next_version( string $version , string $maximalbranch = '99999999.99999999.99999999' )
Calculate next version in hierarchy
public
# valid( string $hostname , string $path = '' )
Location is a valid webapp install
public
# update_all( string $hostname , string $path = '', string $version = NULL )
Update core, plugins, and themes atomically
public
# update( string $hostname , string $path = '', string $version = NULL )
Update WordPress to latest version
public
# update_plugins( string $hostname , string $path = '', array $plugins = array ( ) )
Update WordPress plugins
public
# update_themes( string $hostname , string $path = '', array $themes = array ( ) )
Update themes
public
# uninstall_theme( string $hostname , string $path = '', string $theme , bool $force = false )
Remove a theme
public
# has_fortification( string $mode = NULL )
Web application supports fortification
public
# fortify( string $hostname , string $path = '', string $mode = 'max' )
Restrict write-access by the app