eZPublish  3.8
reverserelatedlist.php File Reference

Variables

 $children_list_limit = eZPreferences::value( "reverse_children_list_limit" )
 
 $childrenList = array()
 
 $contentObject =& $contentObjectTreeNode->attribute( 'object' )
 
foreach($rows as $child) $contentObjectName = $contentObjectTreeNode->attribute('name')
 
 $contentObjectTreeNode = eZContentObjectTreeNode::fetch( $NodeID )
 
 $countOfItems
 
 $db =& eZDB::instance()
 
 $deleteIDArray = array()
 
 $except_path_strings = ''
 
 $http =& eZHTTPTool::instance()
 
 $i = 0
 
 $Module =& $Params['Module']
 
 $NodeID =& $Params['NodeID']
 
 $path_strings = '( '
 
 $path_strings2 = '( '
 
 $path_strings_where = $path_strings2." ) "
 
 $requestedURI = ''
 
 $Result = array()
 
if($contentObject) $Result ['content'] =& $tpl->fetch( "design:content/reverserelatedlist.tpl" )
 
 $Result ['path']
 
 $reverselistCountChildrenArray = array()
 
 $rows
 
 $rowsCount = 0
 
 $tpl =& templateInit()
 
 $userRedirectURI = ''
 
 $viewParameters = array( 'offset' => $Offset )
 

Variable Documentation

$children_list_limit = eZPreferences::value( "reverse_children_list_limit" )
$childrenList = array()
$contentObject =& $contentObjectTreeNode->attribute( 'object' )
foreach ($rows as $child) $contentObjectName = $contentObjectTreeNode->attribute('name')
$contentObjectTreeNode = eZContentObjectTreeNode::fetch( $NodeID )
$countOfItems
Initial value:
= $db->arrayQuery( "SELECT COUNT( DISTINCT( tree.node_id ) ) count
FROM ezcontentobject_tree tree, ezcontentobject obj,
ezcontentobject_link link LEFT JOIN ezcontentobject_tree tree2
ON link.from_contentobject_id = tree2.contentobject_id
WHERE $path_strings
and link.to_contentobject_id = tree.contentobject_id
and obj.id = link.from_contentobject_id
and obj.current_version = link.from_contentobject_version
and not ( $path_strings_where )
" )
$db
Definition: convertprice2multiprice.php:80

Referenced by eZContentObjectTreeNode\reverseRelatedCount().

$db =& eZDB::instance()
$deleteIDArray = array()
$except_path_strings = ''
$i = 0
$Module =& $Params['Module']
$NodeID =& $Params['NodeID']
$path_strings = '( '
$path_strings2 = '( '
$path_strings_where = $path_strings2." ) "
$requestedURI = ''
$Result = array()
if ($contentObject) $Result['content'] =& $tpl->fetch( "design:content/reverserelatedlist.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezi18n( 'kernel/content', "\"$contentObjectName\": Sub items that are used by other objects" ) ) )
$reverselistCountChildrenArray = array()
$rows
Initial value:
= $db->arrayQuery( "SELECT DISTINCT( tree.node_id )
FROM ezcontentobject_tree tree, ezcontentobject obj,
ezcontentobject_link link LEFT JOIN ezcontentobject_tree tree2
ON link.from_contentobject_id = tree2.contentobject_id
WHERE $path_strings
and link.to_contentobject_id = tree.contentobject_id
and obj.id = link.from_contentobject_id
and obj.current_version = link.from_contentobject_version
and not ( $path_strings_where )
", array( 'limit' => $pageLimit,
'offset' => $Offset ) )
$Offset
Definition: group.php:34
if($http->hasVariable( 'SearchPageLimit')) $pageLimit
Definition: advancedsearch.php:90
$db
Definition: convertprice2multiprice.php:80

Referenced by eZContentCacheManager\appendKeywordNodeIDs(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentClass\canInstantiateClassList(), eZStepInstaller\checkDatabaseRequirements(), eZContentObjectTreeNode\checkPath(), eZUserType\classAttributeRemovableInformation(), eZContentClassClassGroup\classInGroup(), eZContentObject\className(), eZWishList\cleanup(), eZBasket\cleanup(), eZOrder\cleanup(), eZBasket\cleanupExpired(), eZProductCollectionItem\cleanupList(), eZOrder\cleanupOrder(), eZDBGarbageCollector\collectBaskets(), eZDBGarbageCollector\collectProductCollectionItemOptions(), eZDBGarbageCollector\collectProductCollectionItems(), eZDBGarbageCollector\collectProductCollections(), eZContentObject\contentClassIdentifier(), copyBinaryfilesToDB(), copyImagesToDB(), copyMediafilesToDB(), eZPostgreSQLDB\correctSequenceValues(), eZProductCollection\count(), eZPublishSDK\databaseRelease(), eZPublishSDK\databaseVersion(), eZMatrix\decodeXML(), eZDiffTextEngine\dumpMatrix(), eZContentClass\exists(), eZFetchActiveSessionCount(), eZFetchActiveSessions(), eZSessionCountActive(), eZMultiPriceData\fetch(), eZContentClass\fetch(), eZUser\fetchAnonymousCount(), eZContentClass\fetchByIdentifier(), eZContentClass\fetchByRemoteID(), eZContentClassClassGroup\fetchClassList(), eZUser\fetchContentList(), eZVatRule\fetchCountByCategory(), eZVatRule\fetchCountByVatType(), eZImageFile\fetchForContentObjectAttribute(), eZImageFile\fetchImageAttributesByFilepath(), eZCurrencyData\fetchList(), eZContentObjectTreeNode\fetchList(), eZOrderStatusHistory\fetchListByOrder(), eZCurrencyData\fetchListCount(), eZContentObjectTreeNode\fetchListCount(), eZContentObject\fetchListCount(), eZUser\fetchLoggedInCount(), eZUser\fetchLoggedInList(), eZPersistentObject\fetchObject(), eZPersistentObject\fetchObjectList(), eZSectionFunctionCollection\fetchObjectListCount(), eZOrderStatus\fetchPolicyList(), eZProductCategory\fetchProductCountByCategory(), eZDBSchemaInterface\fetchTableData(), eZContentObjectTreeNode\getName(), eZPersistentObject\handleRows(), eZUser\hasStoredLogin(), eZContentClass\initializeCopy(), eZStepCreateSites\initializePackage(), eZUser\isUserLoggedIn(), eZDiffTextEngine\localSubstring(), eZMatrixType\metaData(), eZPDF\modify(), eZContentObject\names(), eZPersistentObject\newObjectOrder(), eZContentObject\purge(), eZMySQLDB\query(), eZContentObject\relatedObjectCount(), eZContentClass\removableInformation(), eZProductCategory\remove(), eZContentObject\removeContentObjectRelation(), eZPersistentObject\reorderObject(), eZVatType\resetToDefaultInProducts(), eZContentObject\setName(), eZOrderStatus\storeCustom(), eZPersistentObject\storeObject(), eZDiffTextEngine\substrings(), eZContentObjectTreeNode\subtreeSoleNodeCount(), eZPersistentObject\swapRow(), eZContentObjectTreeNode\updateMainNodeID(), and eZContentObject\versionLanguageName().

$rowsCount = 0
$tpl =& templateInit()
$userRedirectURI = ''
$viewParameters = array( 'offset' => $Offset )