Property | Type | Description | |
---|---|---|---|
$_archiver | Mage_Archive | ||
$_http |
Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
getArchiver ( ) : Mage_Archive | ||
getDependenciesList ( string $chanName, string $package, Mage_Connect_Singleconfig $cache, Mage_Connect_Config $config, mixed $versionMax = false, mixed $versionMin = false, $withDepsRecursive = true, $forceRemote = false ) : mixed | PHP 7 compatibility rewrite | |
getDownloader ( ) | ||
getLocalModifiedFiles ( $chanName, $package, $cacheObj, $configObj ) : array | Get local modified files | |
getRemoteCache ( $ftpString ) | ||
getRemoteConf ( $ftpString ) | ||
getRemoteConfig ( $ftpString ) | ||
getRemoteModifiedFiles ( $chanName, $package, $cacheObj, Mage_Connect_Ftp $ftp ) : array | Get remote modified files | |
getUninstallList ( string $chanName, string $package, Mage_Connect_Singleconfig $cache, Mage_Connect_Config $config, boolean $withDepsRecursive = true ) : array | PHP 7 compatibility rewrite | |
getUpgradesList ( $channels, Mage_Connect_Singleconfig $cacheObject, $configObj, Mage_Connect_Rest $restObj = null, boolean $checkConflicts = false ) : array | Get upgrades list | |
processInstallPackage ( Mage_Connect_Package $package, string $file, $configObj ) : void | Package installation to FS | |
processInstallPackageFtp ( $package, $file, $configObj, $ftp ) | ||
processUninstallPackage ( $chanName, $package, Mage_Connect_Singleconfig $cacheObj, $configObj ) : unknown_type | ||
processUninstallPackageFtp ( $chanName, $package, Mage_Connect_Singleconfig $cacheObj, Mage_Connect_Ftp $ftp ) : unknown_type | ||
writeToRemoteCache ( $cache, $ftpObj ) | ||
writeToRemoteConfig ( $cache, $ftpObj ) |
Method | Description | |
---|---|---|
convertFtpPath ( $str ) | ||
processDepsHash ( array &$depsHash, boolean $sortReverse = true ) : array | Process dependencies hash Makes topological sorting and gives operation order list |
public getDependenciesList ( string $chanName, string $package, Mage_Connect_Singleconfig $cache, Mage_Connect_Config $config, mixed $versionMax = false, mixed $versionMin = false, $withDepsRecursive = true, $forceRemote = false ) : mixed | ||
$chanName | string | |
$package | string | |
$cache | Mage_Connect_Singleconfig | |
$config | Mage_Connect_Config | |
$versionMax | mixed | |
$versionMin | mixed | |
return | mixed |
public getLocalModifiedFiles ( $chanName, $package, $cacheObj, $configObj ) : array | ||
$chanName | ||
$package | ||
$cacheObj | ||
$configObj | ||
return | array |
public getRemoteModifiedFiles ( $chanName, $package, $cacheObj, Mage_Connect_Ftp $ftp ) : array | ||
$chanName | ||
$package | ||
$cacheObj | ||
$ftp | Mage_Connect_Ftp | |
return | array |
public getUninstallList ( string $chanName, string $package, Mage_Connect_Singleconfig $cache, Mage_Connect_Config $config, boolean $withDepsRecursive = true ) : array | ||
$chanName | string | |
$package | string | |
$cache | Mage_Connect_Singleconfig | |
$config | Mage_Connect_Config | |
$withDepsRecursive | boolean | |
return | array |
public getUpgradesList ( $channels, Mage_Connect_Singleconfig $cacheObject, $configObj, Mage_Connect_Rest $restObj = null, boolean $checkConflicts = false ) : array | ||
$cacheObject | Mage_Connect_Singleconfig | |
$restObj | Mage_Connect_Rest | optional |
$checkConflicts | boolean | |
return | array |
public processInstallPackage ( Mage_Connect_Package $package, string $file, $configObj ) : void | ||
$package | Mage_Connect_Package | |
$file | string | |
return | void |
public processInstallPackageFtp ( $package, $file, $configObj, $ftp ) |
public processUninstallPackage ( $chanName, $package, Mage_Connect_Singleconfig $cacheObj, $configObj ) : unknown_type | ||
$chanName | ||
$package | ||
$cacheObj | Mage_Connect_Singleconfig | |
return | unknown_type |
public processUninstallPackageFtp ( $chanName, $package, Mage_Connect_Singleconfig $cacheObj, Mage_Connect_Ftp $ftp ) : unknown_type | ||
$chanName | ||
$package | ||
$cacheObj | Mage_Connect_Singleconfig | |
$ftp | Mage_Connect_Ftp | |
return | unknown_type |