eZ Publish Community Project (Legacy Stack) 2013.4
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

eZPackageHandler($handlerType, $parameters = array())

from eZPackageHandler
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
eZContentObjectPackageHandler()

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

in eZPackageHandler at line 22
public eZPackageHandler($handlerType, $parameters = array())

Parameters

$handlerType
$parameters

in eZPackageHandler at line 34
public extractInstallContent()

at line 942
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 816
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 64
public handlerType()

in eZPackageHandler at line 72
public reset()

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

Parameters

$package
$installItem
$requestedInfo

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

Parameters

$packageType
$package
$cli
$parameters

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

Parameters

$packageType
$package
$cli
$arguments

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

Parameters

$package
$dependencyNode
$dependencyItem
$dependencySection

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

Parameters

$package
$dependencyNode
$dependencyParameters
$dependencySection

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

Parameters

$package
$dependencyItem
$dependencySection

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

Parameters

$package
$installNode
$installItem
$installType

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

Parameters

$package
$installNode
$installParameters
$isInstall

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

Parameters

$elementID
$installParameters

at line 34
public eZContentObjectPackageHandler()

at line 43
public fetchObjectFromFile($objectFileNode)

Parameters

$objectFileNode

at line 62
public getRealObjectNode($objectNode)

Parameters

$objectNode

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

Parameters

$nodeID
$isSubtree

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

Parameters

$package
$options

at line 273
public createTopNodeListDOMNode($options)

Parameters

$options

at line 298
public createSiteAccessListNode($options)

Parameters

$options

at line 321
public createObjectListNode($options)

Parameters

$options

at line 385
public generateObjectArray($nodeAssignment)

Parameters

$nodeAssignment

at line 406
public generateFetchAliasArray()

at line 488
public generateTemplateFilenameArray()

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

Parameters

$filename
$siteAccess
$filetype

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

Parameters

$siteAccessArray
$minimalTemplateSet

at line 801
public generateClassIDArray()

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

Parameters

$objectNodes
$topNodeListNode
$installParameters

at line 1093
public installSuspendedNodeAssignment($installParameters)

Parameters

$installParameters

at line 1150
public installSuspendedObjectRelations($installParameters)

Parameters

$installParameters

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

Parameters

$templateList
$package
$subdirectory
$installParameters

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

Parameters

$overrideListNode
$parameters

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

Parameters

$fetchAliasListNode
$parameters

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

Parameters

$packageType
$package
$cli
$type
$arguments

at line 1643
public contentObjectDirectory()