kernel/classes/ezcontentobjecttrashnode.php
\eZContentObjectTrashNode
Package:
- Parent(s)
- \eZContentObjectTreeNode < \eZPersistentObject
Constants
SORT_FIELD_PATH
= 1
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_PATH
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_PATH
SORT_FIELD_PUBLISHED
= 2
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_PUBLISHED
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_PUBLISHED
SORT_FIELD_MODIFIED
= 3
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_MODIFIED
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_MODIFIED
SORT_FIELD_SECTION
= 4
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_SECTION
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_SECTION
SORT_FIELD_DEPTH
= 5
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_DEPTH
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_DEPTH
SORT_FIELD_CLASS_IDENTIFIER
= 6
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_CLASS_IDENTIFIER
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_CLASS_IDENTIFIER
SORT_FIELD_CLASS_NAME
= 7
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_CLASS_NAME
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_CLASS_NAME
SORT_FIELD_PRIORITY
= 8
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_PRIORITY
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_PRIORITY
SORT_FIELD_NAME
= 9
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_NAME
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_NAME
SORT_FIELD_MODIFIED_SUBNODE
= 10
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_MODIFIED_SUBNODE
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_MODIFIED_SUBNODE
SORT_FIELD_NODE_ID
= 11
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_NODE_ID
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_NODE_ID
SORT_FIELD_CONTENTOBJECT_ID
= 12
inheritedInherited from:
\eZContentObjectTreeNode::SORT_FIELD_CONTENTOBJECT_ID
- Inherited_from
- \eZContentObjectTreeNode::SORT_FIELD_CONTENTOBJECT_ID
SORT_ORDER_DESC
= 0
inheritedInherited from:
\eZContentObjectTreeNode::SORT_ORDER_DESC
- Inherited_from
- \eZContentObjectTreeNode::SORT_ORDER_DESC
SORT_ORDER_ASC
= 1
inheritedInherited from:
\eZContentObjectTreeNode::SORT_ORDER_ASC
- Inherited_from
- \eZContentObjectTreeNode::SORT_ORDER_ASC
Properties

$ClassIdentifier= 'null'
inheritedInherited from:
\eZContentObjectTreeNode::$$ClassIdentifier
Default value
nullDetails- Type
- n/a
- Inherited_from
- \eZContentObjectTreeNode::$$ClassIdentifier

$ClassIsContainer= 'null'
inheritedInherited from:
\eZContentObjectTreeNode::$$ClassIsContainer
Default value
nullDetails- Type
- n/a
- Inherited_from
- \eZContentObjectTreeNode::$$ClassIsContainer

$ClassName= 'null'
inheritedInherited from:
\eZContentObjectTreeNode::$$ClassName
Default value
nullDetails- Type
- n/a
- Inherited_from
- \eZContentObjectTreeNode::$$ClassName

$CurrentLanguage= 'false'
inheritedInherited from:
\eZContentObjectTreeNode::$$CurrentLanguage
Default value
falseDetails- Type
- n/a
- Inherited_from
- \eZContentObjectTreeNode::$$CurrentLanguage

$Name= ''
inheritedInherited from:
\eZContentObjectTreeNode::$$Name
Details
- Type
- n/a
- Inherited_from
- \eZContentObjectTreeNode::$$Name

$PersistentDataDirty= ''
inheritedInherited from:
\eZPersistentObject::$$PersistentDataDirty\eZContentObjectTreeNode::$$PersistentDataDirty
Details
- Type
- n/a
- Inherited_from
- \eZPersistentObject::$$PersistentDataDirty
- Inherited_from
- \eZContentObjectTreeNode::$$PersistentDataDirty
Methods

addChild(
$contentobjectID, $asObject
=
false, $contentObjectVersion
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::addChild()
Parameters
| Name | Type | Description |
|---|---|---|
| $contentobjectID | ||
| $asObject | ||
| $contentObjectVersion |

addChildTo(
$contentobjectID, $nodeID, $asObject
=
false, $contentObjectVersion
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $contentobjectID | ||
| $nodeID | ||
| $asObject | ||
| $contentObjectVersion |

adjustPathElement(
$element, $useParentFromNodeObject
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::adjustPathElement()
Parameters
| Name | Type | Description |
|---|---|---|
| $element | ||
| $useParentFromNodeObject |

assignSectionToSubTree(
$nodeID, $sectionID, $oldSectionID
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodeID | ||
| $sectionID | ||
| $oldSectionID |

availableClassListJsArray(
$parameters
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $parameters |

availableClassesJsArray(
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::availableClassesJsArray()

canCreateClassList(
$asObject
=
false, $includeFilter
=
true, $groupList
=
false, $fetchID
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::canCreateClassList()
Parameters
| Name | Type | Description |
|---|---|---|
| $asObject | ||
| $includeFilter | ||
| $groupList | ||
| $fetchID |

canMoveTo(
$classID
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::canMoveTo()
Parameters
| Name | Type | Description |
|---|---|---|
| $classID |

checkAccess(
$functionName, $originalClassID
=
false, $parentClassID
=
false, $returnAccessList
=
false, $language
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::checkAccess()
Parameters
| Name | Type | Description |
|---|---|---|
| $functionName | ||
| $originalClassID | ||
| $parentClassID | ||
| $returnAccessList | ||
| $language |

checkPath(
$path
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::checkPath()
Parameters
| Name | Type | Description |
|---|---|---|
| $path |

childrenByName(
$name
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::childrenByName()
Parameters
| Name | Type | Description |
|---|---|---|
| $name |

childrenCount(
$checkPolicies
=
true
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::childrenCount()
Parameters
| Name | Type | Description |
|---|---|---|
| $checkPolicies |

classListFromPolicy(
$policy, $allowedLanguageCodes
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::classListFromPolicy()
Parameters
| Name | Type | Description |
|---|---|---|
| $policy | ||
| $allowedLanguageCodes |

clearViewCacheForSubtree(
$node, $clearForRootNode
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $node | ||
| $clearForRootNode |

conditionText(
$conditions
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::conditionText()\eZContentObjectTreeNode::conditionText()
Parameters
| Name | Type | Description |
|---|---|---|
| $conditions |

conditionTextByRow(
$conditions, $row
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::conditionTextByRow()\eZContentObjectTreeNode::conditionTextByRow()
Parameters
| Name | Type | Description |
|---|---|---|
| $conditions | ||
| $row |

contentObjectVersionObject(
$asObject
=
true
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::contentObjectVersionObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $asObject |

count(
$def, $conds
=
null, $field
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $conds | ||
| $field |

create(
$parentNodeID
=
null, $contentObjectID
=
null, $contentObjectVersion
=
0, $sortField
=
0, $sortOrder
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $parentNodeID | ||
| $contentObjectID | ||
| $contentObjectVersion | ||
| $sortField | ||
| $sortOrder |

createAttributeFilterSQLStrings(
$attributeFilter, $sortingInfo
=
array( 'sortCount' => 0, 'attributeJoinCount' => 0 )
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $attributeFilter | ||
| $sortingInfo |

createClassFilteringSQLString(
$classFilterType, $classFilterArray
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $classFilterType | ||
| $classFilterArray |

createExtendedAttributeFilterSQLStrings(
$extendedAttributeFilter
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $extendedAttributeFilter |

createGroupBySQLStrings(
$outGroupBySelectText, $outGroupByText, $groupBy
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $outGroupBySelectText | ||
| $outGroupByText | ||
| $groupBy |

createMainNodeConditionSQLString(
$mainNodeOnly
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $mainNodeOnly |

createNodesConditionSQLStringFromPath(
$nodePath, $includingLastNodeInThePath, $limit
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodePath | ||
| $includingLastNodeInThePath | ||
| $limit |

createNotEqParentSQLString(
$nodeID, $depth
=
false, $depthOperator
=
'le'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodeID | ||
| $depth | ||
| $depthOperator |

createObject(
$contentClassID, $parentNodeID
=
2
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::createObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $contentClassID | ||
| $parentNodeID |

createObjectNameFilterConditionSQLString(
$filter
)
:
void
staticinherited
Inherited from:
\eZContentObjectTreeNode::createObjectNameFilterConditionSQLString()
Parameters
| Name | Type | Description |
|---|---|---|
| $filter |

createPathConditionAndNotEqParentSQLStrings(
$outPathConditionStr, $outNotEqParentStr, $nodeID, $depth
=
false, $depthOperator
=
'le'
)
:
void
staticinherited
Inherited from:
\eZContentObjectTreeNode::createPathConditionAndNotEqParentSQLStrings()
Parameters
| Name | Type | Description |
|---|---|---|
| $outPathConditionStr | ||
| $outNotEqParentStr | ||
| $nodeID | ||
| $depth | ||
| $depthOperator |

createPathConditionSQLString(
$nodePath, $nodeDepth, $depth
=
false, $depthOperator
=
'le'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodePath | ||
| $nodeDepth | ||
| $depth | ||
| $depthOperator |

createPermissionCheckingSQL(
$limitationList, $treeTableName
=
'ezcontentobject_tree', $tableAliasName
=
'ezcontentobject_tree'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $limitationList | ||
| $treeTableName | ||
| $tableAliasName |

createPermissionCheckingSQLString(
$limitationList
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $limitationList |

createShowInvisibleSQLString(
$useSettings, $fetchHidden
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useSettings | ||
| $fetchHidden |

createSortingSQLStrings(
$sortList, $treeTableName
=
'ezcontentobject_tree', $allowCustomColumns
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $sortList | ||
| $treeTableName | ||
| $allowCustomColumns |

createVersionNameJoinsSQLString(
$useVersionName, $includeAnd
=
true, $onlyTranslated
=
false, $lang
=
false, $treeTableName
=
'ezcontentobject_tree'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useVersionName | ||
| $includeAnd | ||
| $onlyTranslated | ||
| $lang | ||
| $treeTableName |

createVersionNameTablesSQLString(
$useVersionName
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useVersionName |

createVersionNameTargetsSQLString(
$useVersionName
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $useVersionName |

dataTypeByClassAttributeID(
$classAttributeID
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $classAttributeID |

eZContentObjectTreeNode(
$row
=
array()
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::eZContentObjectTreeNode()
Parameters
| Name | Type | Description |
|---|---|---|
| $row |

eZPersistentObject(
$row
)
:
void
inherited
Inherited from:
\eZPersistentObject::eZPersistentObject()\eZContentObjectTreeNode::eZPersistentObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $row |

escapeArray(
$array
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::escapeArray()\eZContentObjectTreeNode::escapeArray()
Parameters
| Name | Type | Description |
|---|---|---|
| $array |

fetch(
int | array $nodeID
=
false, string $lang
=
false, bool $asObject
=
true, array $conditions
=
false
)
:
\eZContentObjectTreeNode
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $nodeID | int | array | Either a node ID or array of node IDs |
| $lang | string | language code to fetch the node in. If not provided, the prioritized language list is used |
| $asObject | bool | True to fetch the node as an eZContentObjectTreeNode, false to fetch its attributes as an array |
| $conditions | array | An associative array (field => value) of fetch conditions. Will be applied as is to the SQL query |
| Type | Description |
|---|---|
| \eZContentObjectTreeNode |

fetchAliasesFromNodeList(
\array(int) $nodeList
)
:
array
staticinherited
Fetches path_identification_string for a list of nodes
Inherited from: \eZContentObjectTreeNode::fetchAliasesFromNodeList()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $nodeList | \array(int) |
| Type | Description |
|---|---|
| array | Associative array |

fetchByCRC(
$pathStr
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::fetchByCRC()
Parameters
| Name | Type | Description |
|---|---|---|
| $pathStr |

fetchByContentObjectID(
$contentObjectID, $asObject
=
true, $contentObjectVersion
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObjectID | ||
| $asObject | ||
| $contentObjectVersion |

fetchByPath(
$pathString, $asObject
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $pathString | ||
| $asObject |

fetchByRemoteID(
$remoteID, $asObject
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $remoteID | ||
| $asObject |

fetchByURLPath(
$pathString, $asObject
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $pathString | ||
| $asObject |

fetchClassIdentifierListByPathString(
$nodePath, $withLastNode, $limit
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodePath | ||
| $withLastNode | ||
| $limit |

fetchList(
$asObject
=
true, $offset
=
false, $limit
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $asObject | ||
| $offset | ||
| $limit |

fetchListForObject(
$objectID, $asObject
=
true, $offset
=
false, $limit
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $objectID | ||
| $asObject | ||
| $offset | ||
| $limit |

fetchNode(
$contentObjectID, $parentNodeID
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $contentObjectID | ||
| $parentNodeID |

fetchNodesByPathString(
$nodePath, $withLastNode
=
false, $asObjects
=
true, $limit
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodePath | ||
| $withLastNode | ||
| $asObjects | ||
| $limit |

fetchObject(
$def, $field_filters, $conds, $asObject
=
true, $grouping
=
null, $custom_fields
=
null
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::fetchObject()\eZContentObjectTreeNode::fetchObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $field_filters | ||
| $conds | ||
| $asObject | ||
| $grouping | ||
| $custom_fields |

fetchObjectList(
$def, $field_filters
=
null, $conds
=
null, $sorts
=
null, $limit
=
null, $asObject
=
true, $grouping
=
false, $custom_fields
=
null, $custom_tables
=
null, $custom_conds
=
null
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::fetchObjectList()\eZContentObjectTreeNode::fetchObjectList()
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $field_filters | ||
| $conds | ||
| $sorts | ||
| $limit | ||
| $asObject | ||
| $grouping | ||
| $custom_fields | ||
| $custom_tables | ||
| $custom_conds |

findMainNode(
$objectID, $asObject
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $objectID | ||
| $asObject |

findMainNodeArray(
\array(int) $objectIDArray, bool $asObject
=
true
)
:
\array(array | \eZContentObjectTreeNode)
staticinherited
Fetches the main nodes for an array of object id's
Inherited from: \eZContentObjectTreeNode::findMainNodeArray()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $objectIDArray | \array(int) | an array of object IDs |
| $asObject | bool | Wether to return the result as an array of eZContentObjectTreeNode (true) or as an array of associative arrays (false) |
| Type | Description |
|---|---|
| \array(array | \eZContentObjectTreeNode) |

findNode(
$parentNode, $id, $asObject
=
false, $remoteID
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $parentNode | ||
| $id | ||
| $asObject | ||
| $remoteID |

getClassesJsArray(
$node
=
false, $includeFilter
=
true, $groupList
=
false, $fetchID
=
false, $classes
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $node | ||
| $includeFilter | ||
| $groupList | ||
| $fetchID | ||
| $classes |

getName(
$language
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::getName()
Parameters
| Name | Type | Description |
|---|---|---|
| $language |

getParentNodeIdListByContentObjectID(
int | array $objectIDs, bool $groupByObjectId
=
false, bool $onlyMainNode
=
false
)
:
array
staticinherited
Get parent node id's by content object id's.
Inherited from: \eZContentObjectTreeNode::getParentNodeIdListByContentObjectID()
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $objectIDs | int | array | |
| $groupByObjectId | bool | groups parent node ids by object id they belong to. |
| $onlyMainNode | bool | limits result to parent node id of main node. |
| Type | Description |
|---|---|
| array | Returns array of parent node id's |
- Since
- Version 4.1
- Static

getShortAttributeName(
$db, $def, $attrName
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::getShortAttributeName()\eZContentObjectTreeNode::getShortAttributeName()
Parameters
| Name | Type | Description |
|---|---|---|
| $db | ||
| $def | ||
| $attrName |

handleRows(
$rows, $class_name, $asObject
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::handleRows()\eZContentObjectTreeNode::handleRows()
Parameters
| Name | Type | Description |
|---|---|---|
| $rows | ||
| $class_name | ||
| $asObject |

hasAttribute(
$attr
)
:
void
inherited
Inherited from:
\eZPersistentObject::hasAttribute()\eZContentObjectTreeNode::hasAttribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attr |

hasDirtyData(
)
:
void
inherited
Inherited from:
\eZPersistentObject::hasDirtyData()\eZContentObjectTreeNode::hasDirtyData()

hiddenInvisibleString(
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::hiddenInvisibleString()

hiddenStatusString(
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::hiddenStatusString()

hideSubTree(
$node, $modifyRootNode
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $node | ||
| $modifyRootNode |

makeObjectsArray(
$array, $with_contentobject
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $array | ||
| $with_contentobject |

move(
$newParentNodeID, $nodeID
=
0
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::move()
Parameters
| Name | Type | Description |
|---|---|---|
| $newParentNodeID | ||
| $nodeID |

newObjectOrder(
$def, $orderField, $conditions
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::newObjectOrder()\eZContentObjectTreeNode::newObjectOrder()
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $orderField | ||
| $conditions |

pathWithNames(
$regenerateCurrent
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::pathWithNames()
Parameters
| Name | Type | Description |
|---|---|---|
| $regenerateCurrent |

remove(
$conditions
=
null, $extraConditions
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $conditions | ||
| $extraConditions |

removeNodeFromTree(
$moveToTrash
=
true
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::removeNodeFromTree()
Parameters
| Name | Type | Description |
|---|---|---|
| $moveToTrash |

removeObject(
$def, $conditions
=
null, $extraConditions
=
null
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::removeObject()\eZContentObjectTreeNode::removeObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $conditions | ||
| $extraConditions |

removeSubtrees(
$deleteIDArray, $moveToTrash
=
true, $infoOnly
=
false
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $deleteIDArray | ||
| $moveToTrash | ||
| $infoOnly |

reorderObject(
$def, $orderField, $conditions, $down
=
true
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::reorderObject()\eZContentObjectTreeNode::reorderObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $orderField | ||
| $conditions | ||
| $down |

replaceFieldsWithShortNames(
$db, $fieldDefs, $fields
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::replaceFieldsWithShortNames()\eZContentObjectTreeNode::replaceFieldsWithShortNames()
Parameters
| Name | Type | Description |
|---|---|---|
| $db | ||
| $fieldDefs | ||
| $fields |

serialize(
$options, $contentNodeIDArray, $topNodeIDArray
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::serialize()
Parameters
| Name | Type | Description |
|---|---|---|
| $options | ||
| $contentNodeIDArray | ||
| $topNodeIDArray |

setAttribute(
$attr, $val
)
:
void
inherited
Inherited from:
\eZPersistentObject::setAttribute()\eZContentObjectTreeNode::setAttribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attr | ||
| $val |

setContentObject(
$object
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::setContentObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $object |

setCurrentLanguage(
$languageCode
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::setCurrentLanguage()
Parameters
| Name | Type | Description |
|---|---|---|
| $languageCode |

setHasDirtyData(
$hasDirtyData
)
:
void
inherited
Inherited from:
\eZPersistentObject::setHasDirtyData()\eZContentObjectTreeNode::setHasDirtyData()
Parameters
| Name | Type | Description |
|---|---|---|
| $hasDirtyData |

setName(
$name
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::setName()
Parameters
| Name | Type | Description |
|---|---|---|
| $name |

setVersionByObjectID(
$objectID, $newVersion
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $objectID | ||
| $newVersion |

sortArrayBySortFieldAndSortOrder(
$sortField, $sortOrder
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $sortField | ||
| $sortOrder |

sortKeyByClassAttributeID(
$classAttributeID
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $classAttributeID |

store(
$fieldFilters
=
null
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::store()
Parameters
| Name | Type | Description |
|---|---|---|
| $fieldFilters |

storeObject(
$obj, $fieldFilters
=
null
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::storeObject()\eZContentObjectTreeNode::storeObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $obj | ||
| $fieldFilters |

subTree(
$params
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::subTree()
Parameters
| Name | Type | Description |
|---|---|---|
| $params |

subTreeByNodeID(
$params
=
false, $nodeID
=
0
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $params | ||
| $nodeID |

subTreeCount(
$params
=
array()
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::subTreeCount()
Parameters
| Name | Type | Description |
|---|---|---|
| $params |

subTreeCountByNodeID(
$params
=
array(), $nodeID
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $params | ||
| $nodeID |

subTreeMultiPaths(
$nodesParams, $listParams
=
NULL
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $nodesParams | ||
| $listParams |

subtreeSoleNodeCount(
$params
=
array()
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::subtreeSoleNodeCount()
Parameters
| Name | Type | Description |
|---|---|---|
| $params |

swapRow(
$table, $keys, $order_id, $rows, $id1, $id2
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $table | ||
| $keys | ||
| $order_id | ||
| $rows | ||
| $id1 | ||
| $id2 |

trashList(
$params
=
false, $asCount
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $params | ||
| $asCount |

unhideSubTree(
$node, $modifyRootNode
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $node | ||
| $modifyRootNode |

unserialize(
$contentNodeDOMNode, $contentObject, $version, $isMain, $nodeList, $options, $handlerType
=
'ezcontentobject'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $contentNodeDOMNode | ||
| $contentObject | ||
| $version | ||
| $isMain | ||
| $nodeList | ||
| $options | ||
| $handlerType |

updateAndStoreModified(
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::updateAndStoreModified()

updateMainNodeID(
$mainNodeID, $objectID, $version
=
false, $parentMainNodeID, $updateSection
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $mainNodeID | ||
| $objectID | ||
| $version | ||
| $parentMainNodeID | ||
| $updateSection |

updateNodeVisibility(
$node, $parentNode, $recursive
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $node | ||
| $parentNode | ||
| $recursive |

updateObjectList(
$parameters
)
:
void
staticinherited
Inherited from:
\eZPersistentObject::updateObjectList()\eZContentObjectTreeNode::updateObjectList()
Parameters
| Name | Type | Description |
|---|---|---|
| $parameters |

updatePathIdentificationString(
$pathIdentificationName
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::updatePathIdentificationString()
Parameters
| Name | Type | Description |
|---|---|---|
| $pathIdentificationName |

updateSubTreePath(
$updateParent
=
true, $nodeMove
=
false
)
:
void
inherited
Inherited from:
\eZContentObjectTreeNode::updateSubTreePath()
Parameters
| Name | Type | Description |
|---|---|---|
| $updateParent | ||
| $nodeMove |