eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZSiteInstaller

class eZSiteInstaller

Constants

ERR_OK

ERR_ABORT

ERR_CONTINUE

Properties

$Settings
$Steps
$LastErrorCode

Methods

eZSiteInstaller($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 eZSiteInstaller($parameters = false)

Parameters

$parameters

at line 36
public instance($params)

Parameters

$params

at line 46
public initSettings($parameters)

Parameters

$parameters

at line 85
public initSteps()

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

Parameters

$name
$value

at line 101
public setting($name)

Parameters

$name

at line 119
public hasSetting($name)

Parameters

$name

at line 131
public postInstallSteps()

at line 139
public postInstall()

at line 148
public executeSteps($steps)

Parameters

$steps

at line 175
public execFunction($function)

Parameters

$function

at line 189
public buildFunctionParams($params)

Parameters

$params

at line 207
public isFunctionParam($param)

Parameters

$param

at line 219
public setLastErrorCode($errCode)

Parameters

$errCode

at line 227
public lastErrorCode()

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

Parameters

$text
$caption
$errCode

at line 262
public dbBegin($params)

Parameters

$params

at line 273
public dbCommit($params)

Parameters

$params

at line 291
public classIDbyIdentifier($params)

Parameters

$params

at line 310
public classByIdentifier($params)

Parameters

$params

at line 337
public removeClassAttribute($params)

Parameters

$params

at line 398
public addClassAttributes($params)

Parameters

$params

at line 522
public updateClassAttributes($params)

Parameters

$params

at line 566
public contentObjectByUrl($params)

Parameters

$params

at line 586
public createContentObject($params)

Parameters

$params

at line 617
public renameContentObject($params)

Parameters

$params

at line 633
public contentObjectByName($params)

Parameters

$params

at line 657
public removeContentObject($params)

Parameters

$params

at line 688
public updateObjectAttributeFromString($params)

Parameters

$params

at line 742
public updateContentObjectAttributes($params)

Parameters

$params

at line 899
public nodePathStringByURL($params)

Parameters

$params

at line 918
public nodeByUrl($params)

Parameters

$params

at line 937
public nodeIdByName($params)

Parameters

$params

at line 953
public nodeByName($params)

Parameters

$params

at line 973
public moveTreeNode($params)

Parameters

$params

at line 987
public swapNodes($params)

Parameters

$params

at line 1149
public assignUserToRole($params)

Parameters

$params

at line 1174
public addPoliciesForRole($params)

Parameters

$params

at line 1221
public removePoliciesForRole($params)

Parameters

$params

at line 1259
public sectionIDbyName($params)

Parameters

$params

at line 1284
public createContentSection($params)

Parameters

$params

at line 1305
public setSection($params)

Parameters

$params

at line 1331
public setRSSExport($params)

Parameters

$params

at line 1373
public packageFileItemPath($params)

Parameters

$params

at line 1403
public languageNameListFromLocaleList($localeList)

Parameters

$localeList

at line 1416
public languageNameFromLocale($locale)

Parameters

$locale

at line 1426
public extractHostname($uri)

Parameters

$uri

at line 1448
public createSiteaccessUrls($params)

Parameters

$params

at line 1537
public createSiteAccess($params)

Parameters

$params

at line 1572
public solutionVersion()

at line 1578
public solutionName()

at line 1589
public setVersion($params = false)

Parameters

$params

at line 1601
public updateINIFiles($params)

Parameters

$params

at line 1617
public updateRoles($params)

Parameters

$params

at line 1657
public updatePreferences($params)

Parameters

$params

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

Parameters

$params
$name
$defaultValue

at line 1705
public defaultErrorHandler()

at line 1714
public handleError()