kernel/classes/ezcontentobjectversion.php

Show: inherited
Table of Contents

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

Constant  STATUS_DRAFT = 0
Constant  STATUS_PUBLISHED = 1
Constant  STATUS_PENDING = 2
Constant  STATUS_ARCHIVED = 3
Constant  STATUS_REJECTED = 4
Constant  STATUS_INTERNAL_DRAFT = 5
Constant  STATUS_REPEAT = 6
Constant  STATUS_QUEUED = 7

Properties

Propertypublic  $CurrentLanguage= 'false'
Default valuefalseDetails
Type
n/a
Propertypublic  $PersistentDataDirty= ''
Details
Type
n/a
Inherited_from
\eZPersistentObject::$$PersistentDataDirty  

Methods

methodpublicassignToNode(  $nodeID,  $main = 0,  $fromNodeID = 0,  $sortField = null,  $sortOrder = null,  $remoteID = 0 ) : void

Parameters
Name Type Description
$nodeID
$main
$fromNodeID
$sortField
$sortOrder
$remoteID
methodpublicattribute(  $attr,  $noFunction = false ) : void
inherited

Inherited from: \eZPersistentObject::attribute()
Parameters
Name Type Description
$attr
$noFunction
methodpublicattributes( ) : void
inherited

Inherited from: \eZPersistentObject::attributes()
methodpubliccanVersionRead( ) : void

methodpubliccanVersionRemove( ) : void

methodpubliccheckAccess(  $functionName,  $originalClassID = false,  $parentClassID = false,  $returnAccessList = false,  $language = false ) : void

Parameters
Name Type Description
$functionName
$originalClassID
$parentClassID
$returnAccessList
$language
methodpublicclearAlwaysAvailableLanguageID( ) : void

methodpubliccloneVersion(  $newVersionNumber,  $userID,  $contentObjectID = false,  $status = eZContentObjectVersion::STATUS_DRAFT ) : void

Parameters
Name Type Description
$newVersionNumber
$userID
$contentObjectID
$status
methodpublicconditionText(  $conditions ) : void
staticinherited

Inherited from: \eZPersistentObject::conditionText()
Parameters
Name Type Description
$conditions
methodpublicconditionTextByRow(  $conditions,  $row ) : void
staticinherited

Inherited from: \eZPersistentObject::conditionTextByRow()
Parameters
Name Type Description
$conditions
$row
methodpubliccontentObject( ) : void

methodpubliccontentObjectAttributes(  $languageCode = false,  $asObject = true ) : void

Parameters
Name Type Description
$languageCode
$asObject
methodpubliccount(  $def,  $conds = null,  $field = null ) : void
staticinherited

Inherited from: \eZPersistentObject::count()
Parameters
Name Type Description
$def
$conds
$field
methodpubliccreate(  $contentobjectID,  $userID = false,  $version = 1,  $initialLanguageCode = false ) : void
static

Parameters
Name Type Description
$contentobjectID
$userID
$version
$initialLanguageCode
methodpubliccreator( ) : void

methodpublicdataMap( ) : void

methodpublicdefaultTranslationList( ) : void

methodpublicdefinition( ) : void
static

methodpubliceZContentObjectVersion(  $row = array() ) : void

Parameters
Name Type Description
$row
methodpubliceZPersistentObject(  $row ) : void
inherited

Inherited from: \eZPersistentObject::eZPersistentObject()
Parameters
Name Type Description
$row
methodpublicescapeArray(  $array ) : void
staticinherited

Inherited from: \eZPersistentObject::escapeArray()
Parameters
Name Type Description
$array
methodpublicfetch(  $id,  $asObject = true ) : void
static

Parameters
Name Type Description
$id
$asObject
methodpublicfetchAttributes(  $version,  $contentObjectID,  $language = false,  $asObject = true ) : void
static

Parameters
Name Type Description
$version
$contentObjectID
$language
$asObject
methodpublicfetchFiltered(  $filters,  $offset,  $limit ) : void
static

Parameters
Name Type Description
$filters
$offset
$limit
methodpublicfetchForUser(  $userID,  $status = eZContentObjectVersion::STATUS_DRAFT ) : void
static

Parameters
Name Type Description
$userID
$status
methodpublicfetchObject(  $def,  $field_filters,  $conds,  $asObject = true,  $grouping = null,  $custom_fields = null ) : void
staticinherited

Inherited from: \eZPersistentObject::fetchObject()
Parameters
Name Type Description
$def
$field_filters
$conds
$asObject
$grouping
$custom_fields
methodpublicfetchObjectList(  $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()
Parameters
Name Type Description
$def
$field_filters
$conds
$sorts
$limit
$asObject
$grouping
$custom_fields
$custom_tables
$custom_conds
methodpublicfetchUserDraft(  $objectID,  $userID ) : void
static

Parameters
Name Type Description
$objectID
$userID
methodpublicfetchVersion(  $version,  $contentObjectID,  $asObject = true ) : void
static

Parameters
Name Type Description
$version
$contentObjectID
$asObject
methodpublicfill(  $row ) : void
inherited

Inherited from: \eZPersistentObject::fill()
Parameters
Name Type Description
$row
methodpublicgetShortAttributeName(  $db,  $def,  $attrName ) : void
staticinherited

Inherited from: \eZPersistentObject::getShortAttributeName()
Parameters
Name Type Description
$db
$def
$attrName
methodpublichandleRows(  $rows,  $class_name,  $asObject ) : void
staticinherited

Inherited from: \eZPersistentObject::handleRows()
Parameters
Name Type Description
$rows
$class_name
$asObject
methodpublichasAttribute(  $attr ) : void
inherited

Inherited from: \eZPersistentObject::hasAttribute()
Parameters
Name Type Description
$attr
methodpublichasConflicts(  $editLanguage = false ) : void

Parameters
Name Type Description
$editLanguage
methodpublichasDirtyData( ) : void
inherited

Inherited from: \eZPersistentObject::hasDirtyData()
methodpublicinitialLanguage( ) : void

methodpublicinitialLanguageCode( ) : void

methodpubliclanguageMask( ) : void

methodpublicmainParentNodeID( ) : void

methodpublicmapLanguage(  $language,  $options ) : void
static

Parameters
Name Type Description
$language
$options
methodpublicname(  $lang = false ) : void

Parameters
Name Type Description
$lang
methodpublicnewObjectOrder(  $def,  $orderField,  $conditions ) : void
staticinherited

Inherited from: \eZPersistentObject::newObjectOrder()
Parameters
Name Type Description
$def
$orderField
$conditions
methodpublicnodeAssignments( ) : void

methodpublicnonTranslatableAttributesToUpdate( ) : void

methodpublicnonTranslationList( ) : void

methodpublicparentNodes( ) : void

methodpublicpostUnserialize(  $package ) : void

Parameters
Name Type Description
$package
methodpublicrelatedContentObjectArray( ) : void

methodpublicremove(  $conditions = null,  $extraConditions = null ) : void
inherited

Inherited from: \eZPersistentObject::remove()
Parameters
Name Type Description
$conditions
$extraConditions
methodpublicremoveAssignment(  $nodeID ) : void

Parameters
Name Type Description
$nodeID
methodpublicremoveObject(  $def,  $conditions = null,  $extraConditions = null ) : void
staticinherited

Inherited from: \eZPersistentObject::removeObject()
Parameters
Name Type Description
$def
$conditions
$extraConditions
methodpublicremoveThis( ) : void

methodpublicremoveTranslation(  $languageCode ) : void

Parameters
Name Type Description
$languageCode
methodpublicremoveVersions(  $versionStatus = false,  $limit = false,  $expiryTime = false,  $fetchPortionSize = 50 ) : void
static

Parameters
Name Type Description
$versionStatus
$limit
$expiryTime
$fetchPortionSize
methodpublicreorderObject(  $def,  $orderField,  $conditions,  $down = true ) : void
staticinherited

Inherited from: \eZPersistentObject::reorderObject()
Parameters
Name Type Description
$def
$orderField
$conditions
$down
methodpublicreplaceFieldsWithShortNames(  $db,  $fieldDefs,  $fields ) : void
staticinherited

Inherited from: \eZPersistentObject::replaceFieldsWithShortNames()
Parameters
Name Type Description
$db
$fieldDefs
$fields
methodpublicresetDataMap( ) : void

methodpublicreverseRelatedObjectList( ) : void

methodpublicserialize(  $package,  $options = false,  $contentNodeIDArray = false,  $topNodeIDArray = false ) : void

Parameters
Name Type Description
$package
$options
$contentNodeIDArray
$topNodeIDArray
methodpublicsetAlwaysAvailableLanguageID(  $languageID ) : void

Parameters
Name Type Description
$languageID
methodpublicsetAttribute(  $attr,  $val ) : void
inherited

Inherited from: \eZPersistentObject::setAttribute()
Parameters
Name Type Description
$attr
$val
methodpublicsetHasDirtyData(  $hasDirtyData ) : void
inherited

Inherited from: \eZPersistentObject::setHasDirtyData()
Parameters
Name Type Description
$hasDirtyData
methodpublicstatusList(  $limit = false ) : void
static

Parameters
Name Type Description
$limit
methodpublicstore(  $fieldFilters = null ) : void

Parameters
Name Type Description
$fieldFilters
methodpublicstoreObject(  $obj,  $fieldFilters = null ) : void
staticinherited

Inherited from: \eZPersistentObject::storeObject()
Parameters
Name Type Description
$obj
$fieldFilters
methodpublicswapRow(  $table,  $keys,  $order_id,  $rows,  $id1,  $id2 ) : void
staticinherited

Inherited from: \eZPersistentObject::swapRow()
Parameters
Name Type Description
$table
$keys
$order_id
$rows
$id1
$id2
methodpublicsync(  $fieldFilters = null ) : void
inherited

Inherited from: \eZPersistentObject::sync()
Parameters
Name Type Description
$fieldFilters
methodpublictempMainNode( ) : void

methodpublictranslation(  $asObject = true ) : void

Parameters
Name Type Description
$asObject
methodpublictranslationList(  $language = false,  $asObject = true ) : void

Parameters
Name Type Description
$language
$asObject
methodpublictranslations(  $asObject = true ) : void

Parameters
Name Type Description
$asObject
methodpublicunpublish( ) : void

methodpublicunserialize(  $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
methodpublicupdateLanguageMask(  $mask = false,  $forceStore = true ) : void

Parameters
Name Type Description
$mask
$forceStore
methodpublicupdateObjectList(  $parameters ) : void
staticinherited

Inherited from: \eZPersistentObject::updateObjectList()
Parameters
Name Type Description
$parameters
methodpublicversionName(  $lang = false ) : void

Parameters
Name Type Description
$lang
Documentation was generated by DocBlox 0.18.1.