eZPublishCommunityProject(LegacyStack)  2013.6
reverserelatedlist.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

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()
 
 $rowsCount = 0
 
 $tpl = eZTemplate::factory()
 
 $userRedirectURI = ''
 
 $viewParameters = array( 'offset' => $Offset )
 
if($rowsCount > 0) else
 

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 ) ) AS 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: adddefaultstates.php:36

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' => ezpI18n::tr( 'kernel/content', "\"$contentObjectName\": Sub items that are used by other objects" ) ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
$reverselistCountChildrenArray = array()
$rowsCount = 0
$userRedirectURI = ''
$viewParameters = array( 'offset' => $Offset )
if ($rowsCount > 0) else
Initial value:
{
$rows = array()
$rows
Definition: staticcache_cleanup.php:24