|
eZ Publish
[4.0]
|
Go to the source code of this file.
Functions | |
| execUpdateFunction ($funcName, $toVersion) | |
| isValidWebinUpgradeVersion ($version) | |
| updateClasses_1_2_0 () | |
| updateINI_1_2_0 () | |
| updateObjects_1_2_0 () | |
| upgradePackageListByWebinVersion ($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.2-0' | |
| execUpdateFunction | ( | $ | funcName, |
| $ | toVersion | ||
| ) |
| isValidWebinUpgradeVersion | ( | $ | version | ) |
Definition at line 249 of file ezwebinupgrade.php.
| updateClasses_1_2_0 | ( | ) |
update content classes
Definition at line 97 of file ezwebinupgrade.php.
| updateINI_1_2_0 | ( | ) |
Definition at line 151 of file ezwebinupgrade.php.
| updateObjects_1_2_0 | ( | ) |
update content objects
Definition at line 136 of file ezwebinupgrade.php.
| upgradePackageListByWebinVersion | ( | $ | version | ) |
Definition at line 59 of file ezwebinupgrade.php.
| $autoMode = $scriptOptions['auto-mode'] |
Definition at line 368 of file ezwebinupgrade.php.
| $cli = eZCLI::instance() |
Definition at line 268 of file ezwebinupgrade.php.
| if (!$packageRepository) $packageList = $scriptOptions['package'] |
Definition at line 349 of file ezwebinupgrade.php.
| if ($scriptOptions['to-version']) $packageRepository = $scriptOptions['repository'] |
Definition at line 339 of file ezwebinupgrade.php.
| $packageURL = $scriptOptions['url'] |
Definition at line 367 of file ezwebinupgrade.php.
eZScript::instance( array( 'description' => ( "\n" . "This script will upgrade ezwebin." ), 'use-session' => false, 'use-modules' => true, 'use-extensions' => false, 'user' => true ) )
Definition at line 269 of file ezwebinupgrade.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.2-0' - upgrade 1.1-1 to 1.2-0\n" . " '1.3-0' - upgrade 1.2-0 to 1.3-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. 'ezwebin_classes'", 'package-dir' => "Path to directory with packed(ezpkg) packages(default is '/tmp/ezwebin') ", '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/ezwebin') 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 277 of file ezwebinupgrade.php.
| $toVersion = '1.2-0' |
Definition at line 322 of file ezwebinupgrade.php.
Referenced by execUpdateFunction().