eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZContentFunctionCollection

class eZContentFunctionCollection

Methods

eZContentFunctionCollection()

static  fetchContentObject($objectID, $remoteID = false)

static  fetchContentVersion($objectID, $versionID)

static  fetchContentNode($nodeID, $nodePath, $languageCode, $remoteID = false)

static  fetchNonTranslationList($objectID, $version)

static  fetchTranslationList()

static  fetchPrioritizedLanguages()

static  fetchPrioritizedLanguageCodes()

static  fetchLocaleList($withVariations)

static  fetchLocale($localeCode)

static  fetchObject($objectID)

static  fetchClass($classID)

static  fetchClassAttributeList($classID, $versionID)

static  fetchClassAttribute($attributeID, $versionID)

static  calendar($parentNodeID, $offset, $limit, $depth, $depthOperator, $classID, $attribute_filter, $extended_attribute_filter, $class_filter_type, $class_filter_array, $groupBy, $mainNodeOnly, $ignoreVisibility, $limitation)

static  fetchObjectTree($parentNodeID, $sortBy, $onlyTranslated, $language, $offset, $limit, $depth, $depthOperator, $classID, $attribute_filter, $extended_attribute_filter, $class_filter_type, $class_filter_array, $groupBy, $mainNodeOnly, $ignoreVisibility, $limitation, $asObject, $objectNameFilter, $loadDataMap = null)

static  fetchObjectTreeCount($parentNodeID, $onlyTranslated, $language, $class_filter_type, $class_filter_array, $attributeFilter, $depth, $depthOperator, $ignoreVisibility, $limitation, $mainNodeOnly, $extendedAttributeFilter, $objectNameFilter)

static  fetchContentSearch($searchText, $subTreeArray, $offset, $limit, $searchTimestamp, $publishDate, $sectionID, $classID, $classAttributeID, $ignoreVisibility, $limitation, $sortArray)

static  fetchTrashObjectCount($objectNameFilter, $attributeFilter = false)

static  fetchTrashObjectList($offset, $limit, $objectNameFilter, $attributeFilter = false, $sortBy = false, $asObject = true)

static  fetchDraftVersionList($offset, $limit)

static  fetchDraftVersionCount()

static  fetchPendingList($offset, $limit)

static  fetchPendingCount()

static  fetchVersionList($contentObject, $offset, $limit, $sorts = null)

static  fetchVersionCount($contentObject)

static  canInstantiateClassList($groupID, $parentNode, $filterType = 'include', $fetchID, $asObject, $groupByClassGroup = false)

static  canInstantiateClasses($parentNode)

static  contentobjectAttributes($version, $languageCode)

static  fetchBookmarks($offset, $limit)

static  fetchRecent()

static  fetchSectionList()

static  fetchTipafriendTopList($offset, $limit, $start_time, $end_time, $duration, $ascending, $extended)

static  fetchMostViewedTopList($classID, $sectionID, $offset, $limit)

static  fetchCollectedInfoCount($objectAttributeID, $objectID, $value, $creatorID = false, $userIdentifier = false)

static  fetchCollectedInfoCountList($objectAttributeID)

static  fetchCollectedInfoCollection($collectionID, $contentObjectID)

static  fetchCollectionsList($objectID = false, $creatorID = false, $userIdentifier = false, $limit = false, $offset = false, $sortBy = false)

static  fetchObjectByAttribute($identifier)

static  fetchObjectCountByUserID($classID, $userID, $status = false)

static  fetchKeywordCount($alphabet, $classid, $owner = false, $parentNodeID = false, $includeDuplicates = true, $strictMatching = false)

static  fetchKeyword($alphabet, $classid, $offset, $limit, $owner = false, $sortBy = array(), $parentNodeID = false, $includeDuplicates = true, $strictMatching = false)

static  fetchSameClassAttributeNodeList($contentclassattributeID, $value, $datatype)

static  checkAccess($access, $contentObject, $contentClassID, $parentContentClassID, $languageCode = false)

static  fetchNavigationParts()

static  fetchNavigationPart($identifier)

static  contentobjectRelationTypeMask($contentObjectRelationTypes = false)

static  fetchRelatedObjectsID($objectID, $attributeID, $allRelations)

static  fetchReverseRelatedObjectsID($objectID, $attributeID, $allRelations)

static array fetchRelatedObjects(int $objectID, int $attributeID, int $allRelations, mixed $groupByAttribute, array $sortBy, int $limit = false, int $offset = false, bool $asObject = true, bool $loadDataMap = false, bool $ignoreVisibility = null, array $relatedClassIdentifiers = null)

Fetches related object for $objectID

static  fetchRelatedObjectsCount($objectID, $attributeID, $allRelations)

static  fetchReverseRelatedObjects($objectID, $attributeID, $allRelations, $groupByAttribute, $sortBy, $ignoreVisibility, $limit = false, $offset = false, $asObject = true, $loadDataMap = false)

static  fetchReverseRelatedObjectsCount($objectID, $attributeID, $allRelations, $ignoreVisibility)

static  fetchAvailableSortFieldList()

static  fetchCountryList($filter, $value)

static  fetchContentTreeMenuExpiry()

Details

at line 22
public eZContentFunctionCollection()

at line 26
static public fetchContentObject($objectID, $remoteID = false)

Parameters

$objectID
$remoteID

at line 50
static public fetchContentVersion($objectID, $versionID)

Parameters

$objectID
$versionID

at line 66
static public fetchContentNode($nodeID, $nodePath, $languageCode, $remoteID = false)

Parameters

$nodeID
$nodePath
$languageCode
$remoteID

at line 102
static public fetchNonTranslationList($objectID, $version)

Parameters

$objectID
$version

at line 116
static public fetchTranslationList()

at line 132
static public fetchPrioritizedLanguages()

at line 148
static public fetchPrioritizedLanguageCodes()

at line 164
static public fetchLocaleList($withVariations)

Parameters

$withVariations

at line 180
static public fetchLocale($localeCode)

Parameters

$localeCode

at line 199
static public fetchObject($objectID)

Parameters

$objectID

at line 215
static public fetchClass($classID)

Parameters

$classID

at line 234
static public fetchClassAttributeList($classID, $versionID)

Parameters

$classID
$versionID

at line 250
static public fetchClassAttribute($attributeID, $versionID)

Parameters

$attributeID
$versionID

at line 266
static public calendar($parentNodeID, $offset, $limit, $depth, $depthOperator, $classID, $attribute_filter, $extended_attribute_filter, $class_filter_type, $class_filter_array, $groupBy, $mainNodeOnly, $ignoreVisibility, $limitation)

Parameters

$parentNodeID
$offset
$limit
$depth
$depthOperator
$classID
$attribute_filter
$extended_attribute_filter
$class_filter_type
$class_filter_array
$groupBy
$mainNodeOnly
$ignoreVisibility
$limitation

at line 314
static public fetchObjectTree($parentNodeID, $sortBy, $onlyTranslated, $language, $offset, $limit, $depth, $depthOperator, $classID, $attribute_filter, $extended_attribute_filter, $class_filter_type, $class_filter_array, $groupBy, $mainNodeOnly, $ignoreVisibility, $limitation, $asObject, $objectNameFilter, $loadDataMap = null)

Parameters

$parentNodeID
$sortBy
$onlyTranslated
$language
$offset
$limit
$depth
$depthOperator
$classID
$attribute_filter
$extended_attribute_filter
$class_filter_type
$class_filter_array
$groupBy
$mainNodeOnly
$ignoreVisibility
$limitation
$asObject
$objectNameFilter
$loadDataMap

at line 370
static public fetchObjectTreeCount($parentNodeID, $onlyTranslated, $language, $class_filter_type, $class_filter_array, $attributeFilter, $depth, $depthOperator, $ignoreVisibility, $limitation, $mainNodeOnly, $extendedAttributeFilter, $objectNameFilter)

Parameters

$parentNodeID
$onlyTranslated
$language
$class_filter_type
$class_filter_array
$attributeFilter
$depth
$depthOperator
$ignoreVisibility
$limitation
$mainNodeOnly
$extendedAttributeFilter
$objectNameFilter

at line 405
static public fetchContentSearch($searchText, $subTreeArray, $offset, $limit, $searchTimestamp, $publishDate, $sectionID, $classID, $classAttributeID, $ignoreVisibility, $limitation, $sortArray)

Parameters

$searchText
$subTreeArray
$offset
$limit
$searchTimestamp
$publishDate
$sectionID
$classID
$classAttributeID
$ignoreVisibility
$limitation
$sortArray

at line 435
static public fetchTrashObjectCount($objectNameFilter, $attributeFilter = false)

Parameters

$objectNameFilter
$attributeFilter

at line 449
static public fetchTrashObjectList($offset, $limit, $objectNameFilter, $attributeFilter = false, $sortBy = false, $asObject = true)

Parameters

$offset
$limit
$objectNameFilter
$attributeFilter
$sortBy
$asObject

at line 466
static public fetchDraftVersionList($offset, $limit)

Parameters

$offset
$limit

at line 479
static public fetchDraftVersionCount()

at line 495
static public fetchPendingList($offset, $limit)

Parameters

$offset
$limit

at line 507
static public fetchPendingCount()

at line 524
static public fetchVersionList($contentObject, $offset, $limit, $sorts = null)

Parameters

$contentObject
$offset
$limit
$sorts

at line 536
static public fetchVersionCount($contentObject)

Parameters

$contentObject

at line 552
static public canInstantiateClassList($groupID, $parentNode, $filterType = 'include', $fetchID, $asObject, $groupByClassGroup = false)

Parameters

$groupID
$parentNode
$filterType
$fetchID
$asObject
$groupByClassGroup

at line 610
static public canInstantiateClasses($parentNode)

Parameters

$parentNode

at line 620
static public contentobjectAttributes($version, $languageCode)

Parameters

$version
$languageCode

at line 632
static public fetchBookmarks($offset, $limit)

Parameters

$offset
$limit

at line 638
static public fetchRecent()

at line 644
static public fetchSectionList()

at line 649
static public fetchTipafriendTopList($offset, $limit, $start_time, $end_time, $duration, $ascending, $extended)

Parameters

$offset
$limit
$start_time
$end_time
$duration
$ascending
$extended

at line 718
static public fetchMostViewedTopList($classID, $sectionID, $offset, $limit)

Parameters

$classID
$sectionID
$offset
$limit

at line 734
static public fetchCollectedInfoCount($objectAttributeID, $objectID, $value, $creatorID = false, $userIdentifier = false)

Parameters

$objectAttributeID
$objectID
$value
$creatorID
$userIdentifier

at line 739
static public fetchCollectedInfoCountList($objectAttributeID)

Parameters

$objectAttributeID

at line 744
static public fetchCollectedInfoCollection($collectionID, $contentObjectID)

Parameters

$collectionID
$contentObjectID

at line 749
static public fetchCollectionsList($objectID = false, $creatorID = false, $userIdentifier = false, $limit = false, $offset = false, $sortBy = false)

Parameters

$objectID
$creatorID
$userIdentifier
$limit
$offset
$sortBy

at line 759
static public fetchObjectByAttribute($identifier)

Parameters

$identifier

at line 774
static public fetchObjectCountByUserID($classID, $userID, $status = false)

Parameters

$classID
$userID
$status

at line 780
static public fetchKeywordCount($alphabet, $classid, $owner = false, $parentNodeID = false, $includeDuplicates = true, $strictMatching = false)

Parameters

$alphabet
$classid
$owner
$parentNodeID
$includeDuplicates
$strictMatching

at line 865
static public fetchKeyword($alphabet, $classid, $offset, $limit, $owner = false, $sortBy = array(), $parentNodeID = false, $includeDuplicates = true, $strictMatching = false)

Parameters

$alphabet
$classid
$offset
$limit
$owner
$sortBy
$parentNodeID
$includeDuplicates
$strictMatching

at line 1042
static public fetchSameClassAttributeNodeList($contentclassattributeID, $value, $datatype)

Parameters

$contentclassattributeID
$value
$datatype

at line 1080
static public checkAccess($access, $contentObject, $contentClassID, $parentContentClassID, $languageCode = false)

Parameters

$access
$contentObject
$contentClassID
$parentContentClassID
$languageCode

at line 1102
static public fetchNavigationParts()

at line 1108
static public fetchNavigationPart($identifier)

Parameters

$identifier

at line 1113
static public contentobjectRelationTypeMask($contentObjectRelationTypes = false)

Parameters

$contentObjectRelationTypes

at line 1148
static public fetchRelatedObjectsID($objectID, $attributeID, $allRelations)

Parameters

$objectID
$attributeID
$allRelations

at line 1180
static public fetchReverseRelatedObjectsID($objectID, $attributeID, $allRelations)

Parameters

$objectID
$attributeID
$allRelations

at line 1228
static public array fetchRelatedObjects(int $objectID, int $attributeID, int $allRelations, mixed $groupByAttribute, array $sortBy, int $limit = false, int $offset = false, bool $asObject = true, bool $loadDataMap = false, bool $ignoreVisibility = null, array $relatedClassIdentifiers = null)

Fetches related object for $objectID

Parameters

int $objectID
int $attributeID Relation attribute id
int $allRelations Accepted elation bitmask
mixed $groupByAttribute
array $sortBy
int $limit
int $offset
bool $asObject
bool $loadDataMap
bool $ignoreVisibility
array $relatedClassIdentifiers Array of related class identifiers that will be accepted

Return Value

array ANn array of eZContentObject

at line 1306
static public fetchRelatedObjectsCount($objectID, $attributeID, $allRelations)

Parameters

$objectID
$attributeID
$allRelations

at line 1356
static public fetchReverseRelatedObjects($objectID, $attributeID, $allRelations, $groupByAttribute, $sortBy, $ignoreVisibility, $limit = false, $offset = false, $asObject = true, $loadDataMap = false)

Parameters

$objectID
$attributeID
$allRelations
$groupByAttribute
$sortBy
$ignoreVisibility
$limit
$offset
$asObject
$loadDataMap

at line 1426
static public fetchReverseRelatedObjectsCount($objectID, $attributeID, $allRelations, $ignoreVisibility)

Parameters

$objectID
$attributeID
$allRelations
$ignoreVisibility

at line 1480
static public fetchAvailableSortFieldList()

at line 1493
static public fetchCountryList($filter, $value)

Parameters

$filter
$value

at line 1508
static public fetchContentTreeMenuExpiry()