eZ Publish  [4.0]
ezwebininstall.php File Reference

Go to the source code of this file.

Variables

if(!$scriptOptions['admin-siteaccess'])
if(!$scriptOptions['user-siteaccess']) 
$adminSiteaccess = $scriptOptions['admin-siteaccess']
if(!$packageURL) global $autoMode = $scriptOptions['auto-mode']
 $cli = eZCLI::instance()
 $packageDir = "/tmp/ezwebin"
if(!$packageRepository) $packageList
 $packageRepository = $scriptOptions['repository']
 $packageURL = $scriptOptions['url']
 $script
 $scriptOptions
 $userSiteaccess = $scriptOptions['user-siteaccess']

Variable Documentation

if (!$scriptOptions['admin-siteaccess']) if (!$scriptOptions['user-siteaccess']) $adminSiteaccess = $scriptOptions['admin-siteaccess']

Definition at line 89 of file ezwebininstall.php.

$autoMode = $scriptOptions['auto-mode']

Definition at line 134 of file ezwebininstall.php.

Referenced by checkDir(), downloadPackages(), and installPackages().

$cli = eZCLI::instance()

define constans

define global vars

includes

Definition at line 52 of file ezwebininstall.php.

$packageDir = "/tmp/ezwebin"

Definition at line 128 of file ezwebininstall.php.

Referenced by downloadPackages().

if (!$packageRepository) $packageList
Initial value:
 array(   'ezwebin_classes'
                      , 'ezwebin_extension'
                      , 'ezwebin_banners'
                      , 'ezwebin_democontent'
                      , 'ezwebin_design'
                      , 'ezwebin_site'
                    )

Definition at line 117 of file ezwebininstall.php.

Referenced by downloadPackages(), installPackages(), and upgradePackageListByWebinVersion().

$packageRepository = $scriptOptions['repository']
$packageURL = $scriptOptions['url']

Definition at line 133 of file ezwebininstall.php.

Initial value:
 eZScript::instance( array( 'description' => ( "\n" .
                                                        "Install eZWebin package\n" ),
                                     'use-session' => false,
                                     'use-modules' => true,
                                     'use-extensions' => false,
                                     'user' => true ) )

Definition at line 53 of file ezwebininstall.php.

$scriptOptions
Initial value:
 $script->getOptions( "[repository:][package:][package-dir:][url:][admin-siteaccess:][user-siteaccess:][auto-mode:]",
                                      "",
                                      array( '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-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.",
                                             'admin-siteaccess' => 'Will be used as base for eZWebin admin siteaccess',
                                             'user-siteaccess' => 'Will be used as base for eZWebin user siteaccesses',
                                             '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 61 of file ezwebininstall.php.

$userSiteaccess = $scriptOptions['user-siteaccess']

Definition at line 90 of file ezwebininstall.php.