kernel/classes/ezcontentobjectversion.php
File containing the eZContentObjectVersion class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\eZContentObjectVersion
Package: kernel
File containing the eZContentObjectVersion class.
- Parent(s)
- \eZPersistentObject
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants
Properties


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


assignToNode(
$nodeID, $main
=
0, $fromNodeID
=
0, $sortField
=
null, $sortOrder
=
null, $remoteID
=
0
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$nodeID | ||
$main | ||
$fromNodeID | ||
$sortField | ||
$sortOrder | ||
$remoteID |


attribute(
$attr, $noFunction
=
false
)
:
void
inherited
Inherited from:
\eZPersistentObject::attribute()
Parameters
Name | Type | Description |
---|---|---|
$attr | ||
$noFunction |


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


cloneVersion(
$newVersionNumber, $userID, $contentObjectID
=
false, $status
=
eZContentObjectVersion::STATUS_DRAFT
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$newVersionNumber | ||
$userID | ||
$contentObjectID | ||
$status |


contentObjectAttributes(
$languageCode
=
false, $asObject
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$languageCode | ||
$asObject |


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


create(
$contentobjectID, $userID
=
false, $version
=
1, $initialLanguageCode
=
false
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$contentobjectID | ||
$userID | ||
$version | ||
$initialLanguageCode |


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


fetchAttributes(
$version, $contentObjectID, $language
=
false, $asObject
=
true
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$version | ||
$contentObjectID | ||
$language | ||
$asObject |


fetchFiltered(
$filters, $offset, $limit
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$filters | ||
$offset | ||
$limit |


fetchForUser(
$userID, $status
=
eZContentObjectVersion::STATUS_DRAFT
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$userID | ||
$status |


fetchObject(
$def, $field_filters, $conds, $asObject
=
true, $grouping
=
null, $custom_fields
=
null
)
:
void
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
Parameters
Name | Type | Description |
---|---|---|
$def | ||
$field_filters | ||
$conds | ||
$sorts | ||
$limit | ||
$asObject | ||
$grouping | ||
$custom_fields | ||
$custom_tables | ||
$custom_conds |


fetchUserDraft(
$objectID, $userID
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$objectID | ||
$userID |


fetchVersion(
$version, $contentObjectID, $asObject
=
true
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$version | ||
$contentObjectID | ||
$asObject |


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


getShortAttributeName(
$db, $def, $attrName
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$db | ||
$def | ||
$attrName |


handleRows(
$rows, $class_name, $asObject
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$rows | ||
$class_name | ||
$asObject |


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


mapLanguage(
$language, $options
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$language | ||
$options |


newObjectOrder(
$def, $orderField, $conditions
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$def | ||
$orderField | ||
$conditions |


remove(
$conditions
=
null, $extraConditions
=
null
)
:
void
inherited
Inherited from:
\eZPersistentObject::remove()
Parameters
Name | Type | Description |
---|---|---|
$conditions | ||
$extraConditions |


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


removeVersions(
$versionStatus
=
false, $limit
=
false, $expiryTime
=
false, $fetchPortionSize
=
50
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$versionStatus | ||
$limit | ||
$expiryTime | ||
$fetchPortionSize |


reorderObject(
$def, $orderField, $conditions, $down
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$def | ||
$orderField | ||
$conditions | ||
$down |


replaceFieldsWithShortNames(
$db, $fieldDefs, $fields
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$db | ||
$fieldDefs | ||
$fields |


serialize(
$package, $options
=
false, $contentNodeIDArray
=
false, $topNodeIDArray
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$package | ||
$options | ||
$contentNodeIDArray | ||
$topNodeIDArray |


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


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


storeObject(
$obj, $fieldFilters
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$obj | ||
$fieldFilters |


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


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


translationList(
$language
=
false, $asObject
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$language | ||
$asObject |


unserialize(
$domNode, $contentObject, $ownerID, $sectionID, $activeVersion, $firstVersion, $nodeList, $options, $package, $handlerType
=
'ezcontentobject'
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$domNode | ||
$contentObject | ||
$ownerID | ||
$sectionID | ||
$activeVersion | ||
$firstVersion | ||
$nodeList | ||
$options | ||
$package | ||
$handlerType |


updateLanguageMask(
$mask
=
false, $forceStore
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$mask | ||
$forceStore |