| Methods Summary | ||
|---|---|---|
public
|
||
public
|
||
public
|
||
public
|
||
protected
|
||
public
|
#
install_plugin( string $hostname , string $path = '', string $plugin , string $version = '' )
Install and activate plugin
|
|
public
|
||
public
|
#
uninstall_plugin( string $hostname , string $path = '', string $plugin , bool $force = false )
Uninstall a plugin
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
is_current( string $version = NULL, string $branchcomp = NULL )
Check if version is latest or get latest version
Overrides |
|
public
|
#
change_admin( string $hostname , string $path = '', array $fields )
Change WP admin credentials
$fields is a hash whose indices match password
|
|
public
|
||
public
|
#
update_all( string $hostname , string $path = '', string $version = NULL )
Update core, plugins, and themes atomically
|
|
public
|
||
public
|
||
public
|
||
public
|
#
update_plugins( string $hostname , string $path = '', array $plugins = array ( ) )
Update Drupal plugins and themes
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
update_themes( string $hostname , string $path = '', array $themes = array ( ) )
Update WordPress themes
|
|
public
|
||
public
|
||
public
|
#
install_theme( string $hostname , string $path = '', string $theme , string $version = NULL )
Overrides |
|
| Methods inherited from Module\Skeleton\Standard |
|---|
__construct(),
setUserParameters(),
autoloadModule(),
__wakeup(),
_invoke(),
__debugInfo(),
getExportedFunctions(),
_reset(),
_resetModule(),
cleanUserParameters(),
query()
|
| Constants Summary | ||
|---|---|---|
public
string
|
APP_NAME
|
#
'Drupal'
|
public
string
|
DRUPAL_CLI
|
#
'/usr/share/pear/drupal.phar'
|
public
string
|
DEFAULT_BRANCH
|
#
'8.x'
|
public
array
|
DRUPAL_MAJORS
|
#
array (
0 => '6.x',
1 => '7.x',
2 => '8.x',
)
|
public
string
|
DRUPAL_CLI_URL
|
#
'https://github.com/drush-ops/drush/releases/download/8.3.5/drush.phar'
|
public
string
|
VERSION_CHECK_URL
|
#
'https://updates.drupal.org/release-history'
|
public
string
|
DEFAULT_VERSION_LOCK
|
#
'major'
|
| Constants inherited from Module\Support\Webapps |
|---|
APPLICATION_PREF_KEY
,
APP_NAME
,
DEFAULT_VERSION_LOCK
,
BANNED_DIRECTIVES
|
| Constants inherited from Module\Skeleton\Standard |
|---|
DEPENDENCY_MAP
|
| Properties Summary | ||
|---|---|---|
protected
|
$_aclList
|
#
array (
'max' =>
array (
0 => 'sites/*/files',
),
)
|
| Properties inherited from Module\Support\Webapps |
|---|
$exportedFunctions
|
| Properties inherited from Module\Skeleton\Standard |
|---|
$exportedFunctions,
$username,
$password,
$domain,
$user_id,
$group_id,
$permission_level,
$session_id,
$site,
$site_id
|