eZPublish  4.4
ezwebininstall.php File Reference

Variables

if(!$scriptOptions['admin-siteaccess'])
if(!$scriptOptions['user-siteaccess']) 
$adminSiteaccess = $scriptOptions['admin-siteaccess']
 
if(!$packageURL) global $autoMode = $scriptOptions['auto-mode']
 
 $cli = eZCLI::instance()
 
 $packageDir = $scriptOptions['package-dir'] ? $scriptOptions['package-dir'] : "/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']
$autoMode = $scriptOptions['auto-mode']
$cli = eZCLI::instance()

define constans

define global vars

includes

$packageDir = $scriptOptions['package-dir'] ? $scriptOptions['package-dir'] : "/tmp/ezwebin"
if (!$packageRepository) $packageList
Initial value:
= array( 'ezwebin_classes'
, 'ezwebin_extension'
, 'ezwebin_banners'
, 'ezwebin_democontent'
, 'ezwebin_design'
, 'ezwebin_site'
)
$packageRepository = $scriptOptions['repository']
$packageURL = $scriptOptions['url']
$script
Initial value:
= eZScript::instance( array( 'description' => ( "\n" .
"Install eZWebin package\n" ),
'use-session' => false,
'use-modules' => true,
'use-extensions' => false,
'user' => true ) )
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1056
$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 )
)
$script
Definition: adddefaultstates.php:14
$userSiteaccess = $scriptOptions['user-siteaccess']