Class

eZSiteInstaller

class eZSiteInstaller

Constants

ERR_OK

ERR_ABORT

ERR_CONTINUE

Properties

$Settings
$Steps
$LastErrorCode

Methods

__construct($parameters = false)

eZSiteInstaller(bool $parameters = false)

instance($params)

initSettings($parameters)

initSteps()

addSetting($name, $value)

setting($name)

hasSetting($name)

postInstallSteps()

postInstall()

executeSteps($steps)

execFunction($function)

buildFunctionParams($params)

isFunctionParam($param)

setLastErrorCode($errCode)

lastErrorCode()

reportError($text, $caption, $errCode = eZSiteInstaller::ERR_ABORT)

dbBegin($params)

dbCommit($params)

classIDbyIdentifier($params)

classByIdentifier($params)

removeClassAttribute($params)

addClassAttributes($params)

updateClassAttributes($params)

contentObjectByUrl($params)

createContentObject($params)

renameContentObject($params)

contentObjectByName($params)

removeContentObject($params)

updateObjectAttributeFromString($params)

updateContentObjectAttributes($params)

nodePathStringByURL($params)

nodeByUrl($params)

nodeIdByName($params)

nodeByName($params)

moveTreeNode($params)

swapNodes($params)

assignUserToRole($params)

addPoliciesForRole($params)

removePoliciesForRole($params)

sectionIDbyName($params)

createContentSection($params)

setSection($params)

setRSSExport($params)

packageFileItemPath($params)

languageNameListFromLocaleList($localeList)

languageNameFromLocale($locale)

extractHostname($uri)

createSiteaccessUrls($params)

createSiteAccess($params)

solutionVersion()

solutionName()

setVersion($params = false)

updateINIFiles($params)

updateRoles($params)

updatePreferences($params)

getParam($params, $name, $defaultValue = false)

defaultErrorHandler()

handleError()

Details

at line 28
public __construct($parameters = false)

Parameters

$parameters

at line 40
public eZSiteInstaller(bool $parameters = false)

Parameters

bool $parameters

at line 45
public instance($params)

Parameters

$params

at line 55
public initSettings($parameters)

Parameters

$parameters

at line 94
public initSteps()

at line 102
public addSetting($name, $value)

Parameters

$name
$value

at line 110
public setting($name)

Parameters

$name

at line 128
public hasSetting($name)

Parameters

$name

at line 140
public postInstallSteps()

at line 148
public postInstall()

at line 157
public executeSteps($steps)

Parameters

$steps

at line 184
public execFunction($function)

Parameters

$function

at line 198
public buildFunctionParams($params)

Parameters

$params

at line 216
public isFunctionParam($param)

Parameters

$param

at line 228
public setLastErrorCode($errCode)

Parameters

$errCode

at line 236
public lastErrorCode()

at line 248
public reportError($text, $caption, $errCode = eZSiteInstaller::ERR_ABORT)

Parameters

$text
$caption
$errCode

at line 271
public dbBegin($params)

Parameters

$params

at line 282
public dbCommit($params)

Parameters

$params

at line 300
public classIDbyIdentifier($params)

Parameters

$params

at line 319
public classByIdentifier($params)

Parameters

$params

at line 346
public removeClassAttribute($params)

Parameters

$params

at line 407
public addClassAttributes($params)

Parameters

$params

at line 531
public updateClassAttributes($params)

Parameters

$params

at line 575
public contentObjectByUrl($params)

Parameters

$params

at line 595
public createContentObject($params)

Parameters

$params

at line 626
public renameContentObject($params)

Parameters

$params

at line 642
public contentObjectByName($params)

Parameters

$params

at line 666
public removeContentObject($params)

Parameters

$params

at line 697
public updateObjectAttributeFromString($params)

Parameters

$params

at line 751
public updateContentObjectAttributes($params)

Parameters

$params

at line 908
public nodePathStringByURL($params)

Parameters

$params

at line 927
public nodeByUrl($params)

Parameters

$params

at line 946
public nodeIdByName($params)

Parameters

$params

at line 962
public nodeByName($params)

Parameters

$params

at line 982
public moveTreeNode($params)

Parameters

$params

at line 996
public swapNodes($params)

Parameters

$params

at line 1172
public assignUserToRole($params)

Parameters

$params

at line 1197
public addPoliciesForRole($params)

Parameters

$params

at line 1244
public removePoliciesForRole($params)

Parameters

$params

at line 1282
public sectionIDbyName($params)

Parameters

$params

at line 1307
public createContentSection($params)

Parameters

$params

at line 1328
public setSection($params)

Parameters

$params

at line 1354
public setRSSExport($params)

Parameters

$params

at line 1396
public packageFileItemPath($params)

Parameters

$params

at line 1426
public languageNameListFromLocaleList($localeList)

Parameters

$localeList

at line 1439
public languageNameFromLocale($locale)

Parameters

$locale

at line 1449
public extractHostname($uri)

Parameters

$uri

at line 1471
public createSiteaccessUrls($params)

Parameters

$params

at line 1560
public createSiteAccess($params)

Parameters

$params

at line 1595
public solutionVersion()

at line 1601
public solutionName()

at line 1612
public setVersion($params = false)

Parameters

$params

at line 1624
public updateINIFiles($params)

Parameters

$params

at line 1640
public updateRoles($params)

Parameters

$params

at line 1680
public updatePreferences($params)

Parameters

$params

at line 1703
public getParam($params, $name, $defaultValue = false)

Parameters

$params
$name
$defaultValue

at line 1728
public defaultErrorHandler()

at line 1737
public handleError()