Class

eZContentObjectPackageHandler

class eZContentObjectPackageHandler extends eZPackageHandler

Constants

MAX_LISTED_OBJECTS

STORE_OBJECTS_TO_SEPARATE_FILES_THRESHOLD

INSTALL_OBJECTS_ERROR_RANGE_FROM

INSTALL_OBJECTS_ERROR_RANGE_TO

UNINSTALL_OBJECTS_ERROR_RANGE_FROM

UNINSTALL_OBJECTS_ERROR_RANGE_TO

Properties

$NodeIDArray
$RootNodeIDArray
$NodeObjectArray
$ObjectArray
$RootNodeObjectArray
$OverrideSettingsArray
$TemplateFileArray
$Package
$OverrideObjectRemoteID
$OverrideNodeRemoteID
$OverrideParentNodeRemoteID
$OverrideClassRemoteID

Methods

__construct()

Constructor

extractInstallContent()

from eZPackageHandler
install($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

uninstall($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

handlerType()

from eZPackageHandler
reset()

from eZPackageHandler
explainInstallItem($package, $installItem, $requestedInfo = array())

add($packageType, $package, $cli, $parameters)

handleAddParameters($packageType, $package, $cli, $arguments)

createDependencyNode($package, $dependencyNode, $dependencyItem, $dependencySection)

from eZPackageHandler
parseDependencyNode($package, $dependencyNode, $dependencyParameters, $dependencySection)

from eZPackageHandler
createDependencyText($package, $dependencyItem, $dependencySection)

from eZPackageHandler
createInstallNode($package, $installNode, $installItem, $installType)

from eZPackageHandler
parseInstallNode($package, $installNode, $installParameters, $isInstall)

from eZPackageHandler
isErrorElement($elementID, $installParameters)

from eZPackageHandler
fetchObjectFromFile($objectFileNode)

getRealObjectNode($objectNode)

addNode($nodeID, $isSubtree = true)

generatePackage($package, $options)

createTopNodeListDOMNode($options)

createSiteAccessListNode($options)

createObjectListNode($options)

generateObjectArray($nodeAssignment)

generateFetchAliasArray()

generateTemplateFilenameArray()

createDOMNodeFromFile($filename, $siteAccess, $filetype = false)

generateOverrideSettingsArray($siteAccessArray, $minimalTemplateSet)

generateClassIDArray()

installContentObjects($objectNodes, $topNodeListNode, $installParameters)

installSuspendedNodeAssignment($installParameters)

installSuspendedObjectRelations($installParameters)

installTemplates($templateList, $package, $subdirectory, $installParameters)

installOverrides($overrideListNode, $parameters)

installFetchAliases($fetchAliasListNode, $parameters)

handleParameters($packageType, $package, $cli, $type, $arguments)

contentObjectDirectory()

Details

at line 31
public __construct()

Constructor

in eZPackageHandler at line 37
public extractInstallContent()

at line 938
public install($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

Parameters

$package
$installType
$parameters
$name
$os
$filename
$subdirectory
$content
$installParameters
$installData

at line 812
public uninstall($package, $installType, $parameters, $name, $os, $filename, $subdirectory, $content, $installParameters, $installData)

Parameters

$package
$installType
$parameters
$name
$os
$filename
$subdirectory
$content
$installParameters
$installData

in eZPackageHandler at line 67
public handlerType()

in eZPackageHandler at line 75
public reset()

at line 85
public explainInstallItem($package, $installItem, $requestedInfo = array())

Parameters

$package
$installItem
$requestedInfo

at line 1420
public add($packageType, $package, $cli, $parameters)

Parameters

$packageType
$package
$cli
$parameters

at line 1454
public handleAddParameters($packageType, $package, $cli, $arguments)

Parameters

$packageType
$package
$cli
$arguments

in eZPackageHandler at line 131
public createDependencyNode($package, $dependencyNode, $dependencyItem, $dependencySection)

Parameters

$package
$dependencyNode
$dependencyItem
$dependencySection

in eZPackageHandler at line 143
public parseDependencyNode($package, $dependencyNode, $dependencyParameters, $dependencySection)

Parameters

$package
$dependencyNode
$dependencyParameters
$dependencySection

in eZPackageHandler at line 154
public createDependencyText($package, $dependencyItem, $dependencySection)

Parameters

$package
$dependencyItem
$dependencySection

in eZPackageHandler at line 166
public createInstallNode($package, $installNode, $installItem, $installType)

Parameters

$package
$installNode
$installItem
$installType

in eZPackageHandler at line 178
public parseInstallNode($package, $installNode, $installParameters, $isInstall)

Parameters

$package
$installNode
$installParameters
$isInstall

in eZPackageHandler at line 188
public isErrorElement($elementID, $installParameters)

Parameters

$elementID
$installParameters

at line 39
public fetchObjectFromFile($objectFileNode)

Parameters

$objectFileNode

at line 58
public getRealObjectNode($objectNode)

Parameters

$objectNode

at line 170
public addNode($nodeID, $isSubtree = true)

Parameters

$nodeID
$isSubtree

at line 191
public generatePackage($package, $options)

Parameters

$package
$options

at line 269
public createTopNodeListDOMNode($options)

Parameters

$options

at line 294
public createSiteAccessListNode($options)

Parameters

$options

at line 317
public createObjectListNode($options)

Parameters

$options

at line 381
public generateObjectArray($nodeAssignment)

Parameters

$nodeAssignment

at line 402
public generateFetchAliasArray()

at line 484
public generateTemplateFilenameArray()

at line 532
public createDOMNodeFromFile($filename, $siteAccess, $filetype = false)

Parameters

$filename
$siteAccess
$filetype

at line 566
public generateOverrideSettingsArray($siteAccessArray, $minimalTemplateSet)

Parameters

$siteAccessArray
$minimalTemplateSet

at line 797
public generateClassIDArray()

at line 1000
public installContentObjects($objectNodes, $topNodeListNode, $installParameters)

Parameters

$objectNodes
$topNodeListNode
$installParameters

at line 1089
public installSuspendedNodeAssignment($installParameters)

Parameters

$installParameters

at line 1146
public installSuspendedObjectRelations($installParameters)

Parameters

$installParameters

at line 1187
public installTemplates($templateList, $package, $subdirectory, $installParameters)

Parameters

$templateList
$package
$subdirectory
$installParameters

at line 1257
public installOverrides($overrideListNode, $parameters)

Parameters

$overrideListNode
$parameters

at line 1344
public installFetchAliases($fetchAliasListNode, $parameters)

Parameters

$fetchAliasListNode
$parameters

at line 1462
public handleParameters($packageType, $package, $cli, $type, $arguments)

Parameters

$packageType
$package
$cli
$type
$arguments

at line 1637
public contentObjectDirectory()