Methods Summary | ||
---|---|---|
public
|
||
public
|
||
protected
|
||
protected
|
||
public
|
||
public
|
||
public
|
||
public
|
#
install_plugin( string $hostname , string $path = '', string $plugin , string $version = 'stable' )
Install and activate plugin
|
|
public
|
#
uninstall_plugin( string $hostname , string $path = '', string $plugin , bool $force = false )
Uninstall a plugin
|
|
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 Magento admin credentials
$fields is a hash whose indices match password
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
update_all( string $hostname , string $path = '', string $version = NULL )
Update core, plugins, and themes atomically
|
|
public
|
||
public
|
#
update_plugins( string $hostname , string $path = '', array $plugins = array ( ) )
Update Magento plugins
|
|
public
|
#
update_themes( string $hostname , string $path = '', array $themes = array ( ) )
Update Magento themes
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
install_theme( string $hostname , string $path = '', string $theme , string $version = NULL )
Overrides |
Methods inherited from Module\Support\Webapps\Magento |
---|
disableSecureHttp() ,
useSecureHttp() ,
enableSecureHttp() ,
guessMajor() ,
fixSymlinkTraversal()
|
Methods inherited from Module\Skeleton\Standard |
---|
__construct() ,
setUserParameters() ,
autoloadModule() ,
__wakeup() ,
_invoke() ,
__debugInfo() ,
getExportedFunctions() ,
_reset() ,
_resetModule() ,
cleanUserParameters() ,
query()
|
Constants Summary | ||
---|---|---|
public
string
|
APP_NAME
|
#
'Magento'
|
public
string
|
MAGENTO_CLI
|
#
'/usr/share/pear/n98-magerun.phar'
|
public
string
|
MAGENTO2_CLI
|
#
'/usr/share/pear/n98-magerun2.phar'
|
public
string
|
MAGENTO_CLI_URL
|
#
'https://files.magerun.net/n98-magerun.phar'
|
public
string
|
MAGENTO2_CLI_URL
|
#
'https://files.magerun.net/n98-magerun2.phar'
|
public
string
|
VERSION_CHECK_URL
|
#
'http://mirror.apisnetworks.com/magento'
|
public
string
|
ADMIN_URL
|
#
'/admin'
|
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 (
'min' =>
array (
0 => 'media',
1 => 'var',
2 => 'downloader',
3 => 'generated',
4 => 'pub/static',
),
'max' =>
array (
0 => 'media/downloadable',
1 => 'downloader',
2 => 'var/cache',
3 => 'var/session',
4 => 'var/page_cache',
5 => 'var/log',
6 => 'generated/code',
7 => 'generated/metadata',
8 => 'pub/static',
),
)
|
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
|