|
eZ Publish
[trunk]
|
Go to the source code of this file.
Enumerations | |
| enum | EZ_INSTALL_PACKAGE_EXTRA_ACTION_QUIT |
| enum | EZ_INSTALL_PACKAGE_EXTRA_ACTION_SKIP_PACKAGE |
Functions | |
| checkDir ($dirName) | |
| checkSiteaccess ($siteAccess, $bailOutOnError=false) | |
| createTranslationSiteAccesses ($params) | |
| defaultVendor () | |
| downloadPackages ($packageList, $packageURL, $packageDir, $packageRepository) | |
| getExtraActions ($actionList) | |
| getUserInput ($prompt) | |
| handlePackageError ($error) | |
| installPackages ($packageList, $params=array()) | |
| installScriptDir ($packageRepository, $packageName="") | |
| languageMatrixDefinition () | |
| postInstallAdminSiteaccessINIUpdate ($params) | |
| postInstallUserSiteaccessINIUpdate ($params) | |
| repositoryByVendor ($vendor) | |
| resetINI ($settingsGroups, $iniToReset) | |
| showError ($message, $addEOL=true, $bailOut=true) | |
| showMessage ($message, $addEOL=true) | |
| showMessage2 ($message, $addEOL=true) | |
| showNotice ($message, $addEOL=true) | |
| showPackageActions ($actionList) | |
| showWarning ($message, $addEOL=true) | |
| siteAccessMap ($siteAccessNameArray) | |
| templateLookObjectData ($params) | |
| updateINIAccessType ($accessType, $params) | |
Variables | |
| global | $cli |
| global | $script |
define constans
Definition at line 18 of file ezwebincommon.php.
Definition at line 19 of file ezwebincommon.php.
| checkDir | ( | $ | dirName | ) |
Check if dir $dirName exists. If not, ask user to create it.
Definition at line 136 of file ezwebincommon.php.
Referenced by downloadPackages().
| checkSiteaccess | ( | $ | siteAccess, |
| $ | bailOutOnError = false |
||
| ) |
Definition at line 401 of file ezwebincommon.php.
Referenced by siteAccessMap().
| createTranslationSiteAccesses | ( | $ | params | ) |
Definition at line 456 of file ezwebincommon.php.
| defaultVendor | ( | ) |
Definition at line 166 of file ezwebincommon.php.
| downloadPackages | ( | $ | packageList, |
| $ | packageURL, | ||
| $ | packageDir, | ||
| $ | packageRepository | ||
| ) |
download packages if neede. 1. check if packages specified in $packageList exist in $packageRepository(means already downloaded and imported). if yes - ask user to do download or not. If not - go out 2. check $packgesList exists in $packageDir(means packages downloaded but not imported) if yes - ask user to import or not. If not - go out 3. download and import.
Definition at line 189 of file ezwebincommon.php.
| getExtraActions | ( | $ | actionList | ) |
add extra actions to default package item's actions
Definition at line 87 of file ezwebincommon.php.
Referenced by handlePackageError().
| getUserInput | ( | $ | prompt | ) |
prompt user to choose what to do next
Definition at line 97 of file ezwebincommon.php.
Referenced by checkDir(), checkPaths(), downloadPackages(), handlePackageError(), updateINI_1_1_0(), updateINI_1_2_0(), and updateINI_1_4_0().
| handlePackageError | ( | $ | error | ) |
handle installation error:
Definition at line 116 of file ezwebincommon.php.
Referenced by installPackages().
| installPackages | ( | $ | packageList, |
| $ | params = array() |
||
| ) |
install packages
Definition at line 303 of file ezwebincommon.php.
| installScriptDir | ( | $ | packageRepository, |
| $ | packageName = "" |
||
| ) |
Definition at line 160 of file ezwebincommon.php.
Definition at line 492 of file ezwebincommon.php.
Referenced by templateLookObjectData().
| postInstallAdminSiteaccessINIUpdate | ( | $ | params | ) |
Definition at line 437 of file ezwebincommon.php.
| postInstallUserSiteaccessINIUpdate | ( | $ | params | ) |
Definition at line 447 of file ezwebincommon.php.
| repositoryByVendor | ( | $ | vendor | ) |
Definition at line 173 of file ezwebincommon.php.
| resetINI | ( | $ | settingsGroups, |
| $ | iniToReset | ||
| ) |
Definition at line 479 of file ezwebincommon.php.
includes
Definition at line 36 of file ezwebincommon.php.
| showMessage | ( | $ | message, |
| $ | addEOL = true |
||
| ) |
Definition at line 61 of file ezwebincommon.php.
| showMessage2 | ( | $ | message, |
| $ | addEOL = true |
||
| ) |
Definition at line 67 of file ezwebincommon.php.
| showNotice | ( | $ | message, |
| $ | addEOL = true |
||
| ) |
Definition at line 55 of file ezwebincommon.php.
| showPackageActions | ( | $ | actionList | ) |
Show available actions to user
Definition at line 76 of file ezwebincommon.php.
Referenced by handlePackageError().
| showWarning | ( | $ | message, |
| $ | addEOL = true |
||
| ) |
Definition at line 49 of file ezwebincommon.php.
| siteAccessMap | ( | $ | siteAccessNameArray | ) |
Definition at line 381 of file ezwebincommon.php.
Referenced by updateINI_1_2_0().
| templateLookObjectData | ( | $ | params | ) |
Definition at line 503 of file ezwebincommon.php.
| updateINIAccessType | ( | $ | accessType, |
| $ | params | ||
| ) |
Definition at line 540 of file ezwebincommon.php.
| global $cli |
define global vars
Definition at line 24 of file ezwebincommon.php.
| global $script |
Definition at line 25 of file ezwebincommon.php.