|
eZ Publish
[4.2]
|
Go to the source code of this file.
Functions | |
| execUpdateFunction ($funcName, $toVersion) | |
| isValidFlowUpgradeVersion ($version) | |
| updateINI_1_1_0 () | |
| upgradePackageListByFlowVersion ($version) | |
Variables | |
| if(!$packageURL) global | $autoMode = $scriptOptions['auto-mode'] |
| $cli = eZCLI::instance() | |
| if(!$packageRepository) | $packageList = $scriptOptions['package'] |
| if($scriptOptions['to-version']) | $packageRepository = $scriptOptions['repository'] |
| $packageURL = $scriptOptions['url'] | |
| $script | |
| $scriptOptions | |
| $toVersion = '1.1-0' | |
| execUpdateFunction | ( | $ | funcName, |
| $ | toVersion | ||
| ) |
| isValidFlowUpgradeVersion | ( | $ | version | ) |
Definition at line 81 of file ezflowupgrade.php.
| updateINI_1_1_0 | ( | ) |
Definition at line 98 of file ezflowupgrade.php.
| upgradePackageListByFlowVersion | ( | $ | version | ) |
Definition at line 59 of file ezflowupgrade.php.
| $autoMode = $scriptOptions['auto-mode'] |
Definition at line 317 of file ezflowupgrade.php.
Referenced by checkDir(), downloadPackages(), and installPackages().
| $cli = eZCLI::instance() |
Definition at line 218 of file ezflowupgrade.php.
| if (!$packageRepository) $packageList = $scriptOptions['package'] |
Definition at line 298 of file ezflowupgrade.php.
Referenced by downloadPackages(), installPackages(), upgradePackageListByFlowVersion(), and upgradePackageListByWebinVersion().
| if ($scriptOptions['to-version']) $packageRepository = $scriptOptions['repository'] |
Definition at line 288 of file ezflowupgrade.php.
Referenced by downloadPackages(), eZPackage\fetch(), eZPackage\fetchPackages(), and eZPackage\repositoryInformation().
| $packageURL = $scriptOptions['url'] |
Definition at line 316 of file ezflowupgrade.php.
eZScript::instance( array( 'description' => ( "\n" . "This script will upgrade eZ Flow." ), 'use-session' => false, 'use-modules' => true, 'use-extensions' => true, 'user' => true ) )
Definition at line 219 of file ezflowupgrade.php.
| $scriptOptions |
$script->getOptions( "[to-version:][repository:][package:][package-dir:][url:][auto-mode:]", "", array( 'to-version' => "Specify what upgrade path to use. \n" . " available options: '1.1-0' - upgrade 1.0-0 to 1.1-0", 'repository' => "Path to repository where unpacked(unarchived) packages are \n" . "placed. it's relative to 'var/[site.ini].[FileSettings].[StorageDir]/[package.ini].[RepositorySettings].[RepositoryDirectory]' \n". "(default is 'var/storage/packages/eZ-systems')", 'package' => "Package(s) to install, f.e. 'ezflow_classes'", 'package-dir' => "Path to directory with packed(ezpkg) packages(default is '/tmp/ezflow') ", 'url' => "URL to download packages, f.e. 'http://packages.ez.no/ezpublish/3.9'.\n" . "'package-dir' can be specified to store uploaded packages on local computer.\n" . "if 'package-dir' is not specified then default dir('/tmp/ezflow') will be used.", 'auto-mode' => "[on/off]. Do not ask what to do in case of confilicts. By default is 'on'" ), false, array( 'user' => true ) )
Definition at line 227 of file ezflowupgrade.php.
| $toVersion = '1.1-0' |
Definition at line 271 of file ezflowupgrade.php.
Referenced by execUpdateFunction().