eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZContentObjectTrashNode

class eZContentObjectTrashNode extends eZContentObjectTreeNode

Constants

SORT_FIELD_PATH

SORT_FIELD_PUBLISHED

SORT_FIELD_MODIFIED

SORT_FIELD_SECTION

SORT_FIELD_DEPTH

SORT_FIELD_CLASS_IDENTIFIER

SORT_FIELD_CLASS_NAME

SORT_FIELD_PRIORITY

SORT_FIELD_NAME

SORT_FIELD_MODIFIED_SUBNODE

SORT_FIELD_NODE_ID

SORT_FIELD_CONTENTOBJECT_ID

SORT_ORDER_DESC

SORT_ORDER_ASC

Properties

bool $PersistentDataDirty Whether the data is dirty, ie needs to be stored, or not.
$CurrentLanguage
$Name
$ClassIdentifier
$ClassName

Methods

eZContentObjectTreeNode($row = array())

from eZContentObjectTreeNode
static  setUseCurrentUserDraft(bool $enable)

Enables / disables Use current user draft mode for data map

from eZContentObjectTreeNode
dataMap()

from eZContentObjectTreeNode
remoteID()

from eZContentObjectTreeNode
isMain()

from eZContentObjectTreeNode
canRead()

from eZContentObjectTreeNode
canPdf()

from eZContentObjectTreeNode
canViewEmbed()

from eZContentObjectTreeNode
canEdit()

from eZContentObjectTreeNode
canHide()

from eZContentObjectTreeNode
canCreate()

from eZContentObjectTreeNode
canRemove()

from eZContentObjectTreeNode
canMoveFrom()

from eZContentObjectTreeNode
canMoveTo($classID = false)

from eZContentObjectTreeNode
canSwap()

from eZContentObjectTreeNode
canAddLocation()

from eZContentObjectTreeNode
canRemoveLocation()

from eZContentObjectTreeNode
subTree($params = false)

from eZContentObjectTreeNode
subTreeCount($params = array())

from eZContentObjectTreeNode
childrenByName($name)

from eZContentObjectTreeNode
children()

from eZContentObjectTreeNode
childrenCount($checkPolicies = true)

from eZContentObjectTreeNode
viewCount()

from eZContentObjectTreeNode
sortArray()

from eZContentObjectTreeNode
fetchByCRC($pathStr)

from eZContentObjectTreeNode
fetchParent()

from eZContentObjectTreeNode
pathArray()

from eZContentObjectTreeNode
fetchPath()

from eZContentObjectTreeNode
addChild($contentobjectID, $asObject = false, $contentObjectVersion = false)

from eZContentObjectTreeNode
pathWithNames($regenerateCurrent = false)

from eZContentObjectTreeNode
checkPath($path)

from eZContentObjectTreeNode
adjustPathElement($element, $useParentFromNodeObject = false)

from eZContentObjectTreeNode
updateSubTreePath($updateParent = true, $nodeMove = false)

from eZContentObjectTreeNode
updatePathIdentificationString($pathIdentificationName)

from eZContentObjectTreeNode
removeThis()

from eZContentObjectTreeNode
removeNodeFromTree($moveToTrash = true)

from eZContentObjectTreeNode
subtreeSoleNodeCount($params = array())

from eZContentObjectTreeNode
move($newParentNodeID, $nodeID)

from eZContentObjectTreeNode
checkAccess($functionName, $originalClassID = false, $parentClassID = false, $returnAccessList = false, $language = false)

from eZContentObjectTreeNode
classListFromPolicy($policy, $allowedLanguageCodes = false)

from eZContentObjectTreeNode
canCreateClassList($asObject = false, $includeFilter = true, $groupList = false, $fetchID = false)

from eZContentObjectTreeNode
static  makeObjectsArray($array, $with_contentobject = true, array $propertiesOverride = null)

from eZContentObjectTreeNode
getName($language = false)

from eZContentObjectTreeNode
setName($name)

from eZContentObjectTreeNode
serialize($options, $contentNodeIDArray, $topNodeIDArray)

from eZContentObjectTreeNode
updateAndStoreModified()

from eZContentObjectTreeNode
void store(array|null $fieldFilters = null)

Stores the object in the database, uses storeObject() to do the actual job and passes $fieldFilters to it.

from eZContentObjectTreeNode
object()

from eZContentObjectTreeNode
hasContentObject()

from eZContentObjectTreeNode
setContentObject($object)

from eZContentObjectTreeNode
creator()

from eZContentObjectTreeNode
contentObjectVersionObject($asObject = true)

from eZContentObjectTreeNode
urlAlias()

from eZContentObjectTreeNode
url()

from eZContentObjectTreeNode
classIdentifier()

from eZContentObjectTreeNode
className()

from eZContentObjectTreeNode
classIsContainer()

from eZContentObjectTreeNode
hiddenInvisibleString()

from eZContentObjectTreeNode
hiddenStatusString()

from eZContentObjectTreeNode
currentLanguage()

from eZContentObjectTreeNode
setCurrentLanguage($languageCode)

from eZContentObjectTreeNode
availableClassesJsArray()

from eZContentObjectTreeNode
eZContentObjectTrashNode($row = array())

storeToTrash()

eZContentObjectTreeNode|null originalParent()

originalParentPathIdentificationString()

static eZContentObjectTrashNode|null fetchByContentObjectID($contentObjectID $contentObjectID, bool $asObject = true, bool $contentObjectVersion = false)

Details

public eZContentObjectTreeNode($row = array())

Parameters

$row

static public setUseCurrentUserDraft(bool $enable)

Enables / disables Use current user draft mode for data map

When this mode is enabled (disabled by default), current user draft is used if available on all dataMap calls.

Parameters

bool $enable

public dataMap()

public remoteID()

public isMain()

public canRead()

public canPdf()

public canViewEmbed()

public canEdit()

public canHide()

public canCreate()

public canRemove()

public canMoveFrom()

public canMoveTo($classID = false)

Parameters

$classID

public canSwap()

public canAddLocation()

public canRemoveLocation()

in eZContentObjectTreeNode at line 2010
public subTree($params = false)

Parameters

$params

in eZContentObjectTreeNode at line 2435
public subTreeCount($params = array())

Parameters

$params

in eZContentObjectTreeNode at line 2551
public childrenByName($name)

Parameters

$name

in eZContentObjectTreeNode at line 2580
public children()

in eZContentObjectTreeNode at line 2592
public childrenCount($checkPolicies = true)

Parameters

$checkPolicies

in eZContentObjectTreeNode at line 2604
public viewCount()

in eZContentObjectTreeNode at line 2689
public sortArray()

in eZContentObjectTreeNode at line 2812
public fetchByCRC($pathStr)

Parameters

$pathStr

in eZContentObjectTreeNode at line 3102
public fetchParent()

in eZContentObjectTreeNode at line 3107
public pathArray()

in eZContentObjectTreeNode at line 3121
public fetchPath()

in eZContentObjectTreeNode at line 3209
public addChild($contentobjectID, $asObject = false, $contentObjectVersion = false)

Parameters

$contentobjectID
$asObject
$contentObjectVersion

in eZContentObjectTreeNode at line 3282
public pathWithNames($regenerateCurrent = false)

Parameters

$regenerateCurrent

in eZContentObjectTreeNode at line 3353
public checkPath($path)

Parameters

$path

in eZContentObjectTreeNode at line 3377
public adjustPathElement($element, $useParentFromNodeObject = false)

Parameters

$element
$useParentFromNodeObject

in eZContentObjectTreeNode at line 3406
public updateSubTreePath($updateParent = true, $nodeMove = false)

Parameters

$updateParent
$nodeMove

in eZContentObjectTreeNode at line 3539
public updatePathIdentificationString($pathIdentificationName)

Parameters

$pathIdentificationName

in eZContentObjectTreeNode at line 3607
public removeThis()

in eZContentObjectTreeNode at line 4003
public removeNodeFromTree($moveToTrash = true)

Parameters

$moveToTrash

in eZContentObjectTreeNode at line 4070
public subtreeSoleNodeCount($params = array())

Parameters

$params

in eZContentObjectTreeNode at line 4142
public move($newParentNodeID, $nodeID)

Parameters

$newParentNodeID
$nodeID

in eZContentObjectTreeNode at line 4260
public checkAccess($functionName, $originalClassID = false, $parentClassID = false, $returnAccessList = false, $language = false)

Parameters

$functionName
$originalClassID
$parentClassID
$returnAccessList
$language

in eZContentObjectTreeNode at line 4725
public classListFromPolicy($policy, $allowedLanguageCodes = false)

Parameters

$policy
$allowedLanguageCodes

in eZContentObjectTreeNode at line 4976
public canCreateClassList($asObject = false, $includeFilter = true, $groupList = false, $fetchID = false)

Parameters

$asObject
$includeFilter
$groupList
$fetchID

in eZContentObjectTreeNode at line 5111
static public makeObjectsArray($array, $with_contentobject = true, array $propertiesOverride = null)

Parameters

$array
$with_contentobject
array $propertiesOverride

in eZContentObjectTreeNode at line 5374
public getName($language = false)

Parameters

$language

in eZContentObjectTreeNode at line 5409
public setName($name)

Parameters

$name

in eZContentObjectTreeNode at line 5555
public serialize($options, $contentNodeIDArray, $topNodeIDArray)

Parameters

$options
$contentNodeIDArray
$topNodeIDArray

in eZContentObjectTreeNode at line 5593
public updateAndStoreModified()

in eZContentObjectTreeNode at line 5614
public void store(array|null $fieldFilters = null)

Stores the object in the database, uses storeObject() to do the actual job and passes $fieldFilters to it.

Note: Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Parameters

array|null $fieldFilters

Return Value

void

in eZContentObjectTreeNode at line 5624
public object()

in eZContentObjectTreeNode at line 5637
public hasContentObject()

in eZContentObjectTreeNode at line 5648
public setContentObject($object)

Parameters

$object

in eZContentObjectTreeNode at line 5656
public creator()

in eZContentObjectTreeNode at line 5669
public contentObjectVersionObject($asObject = true)

Parameters

$asObject

in eZContentObjectTreeNode at line 5679
public urlAlias()

in eZContentObjectTreeNode at line 5716
public url()

in eZContentObjectTreeNode at line 5730
public classIdentifier()

in eZContentObjectTreeNode at line 5744
public className()

in eZContentObjectTreeNode at line 5759
public classIsContainer()

in eZContentObjectTreeNode at line 5775
public hiddenInvisibleString()

in eZContentObjectTreeNode at line 5784
public hiddenStatusString()

in eZContentObjectTreeNode at line 6036
public currentLanguage()

in eZContentObjectTreeNode at line 6041
public setCurrentLanguage($languageCode)

Parameters

$languageCode

in eZContentObjectTreeNode at line 6074
public availableClassesJsArray()

at line 22
public eZContentObjectTrashNode($row = array())

Parameters

$row

at line 142
public storeToTrash()

at line 298
public eZContentObjectTreeNode|null originalParent()

Return Value

eZContentObjectTreeNode|null

at line 324
public originalParentPathIdentificationString()

at line 343
static public eZContentObjectTrashNode|null fetchByContentObjectID($contentObjectID $contentObjectID, bool $asObject = true, bool $contentObjectVersion = false)

Parameters

$contentObjectID $contentObjectID
bool $asObject
bool $contentObjectVersion

Return Value

eZContentObjectTrashNode|null