eZ Publish  [trunk]
reverserelatedlist.php File Reference

Go to the source code of this file.

Variables

 $children_list_limit = eZPreferences::value( "reverse_children_list_limit" )
 $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 = " ) "
 $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 (!$contentObjectTreeNode) return $Module->handleError(eZError

Variable Documentation

$children_list_limit = eZPreferences::value( "reverse_children_list_limit" )

Definition at line 24 of file reverserelatedlist.php.

$contentObject = $contentObjectTreeNode->attribute( 'object' )

Definition at line 143 of file reverserelatedlist.php.

foreach ($rows as $child) $contentObjectName = $contentObjectTreeNode->attribute('name')
$contentObjectTreeNode = eZContentObjectTreeNode::fetch( $NodeID )

Definition at line 61 of file reverserelatedlist.php.

Referenced by eZContentObjectTreeNode\reverseRelatedCount().

$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 )
                            " )

Definition at line 78 of file reverserelatedlist.php.

Referenced by eZContentObjectTreeNode\reverseRelatedCount().

$db = eZDB::instance()

Definition at line 57 of file reverserelatedlist.php.

$deleteIDArray = array()

Definition at line 59 of file reverserelatedlist.php.

$except_path_strings = ''

Definition at line 67 of file reverserelatedlist.php.

Definition at line 9 of file reverserelatedlist.php.

$i = 0

Definition at line 68 of file reverserelatedlist.php.

$Module = $Params['Module']

Definition at line 11 of file reverserelatedlist.php.

$NodeID = $Params['NodeID']

Definition at line 12 of file reverserelatedlist.php.

$path_strings = '( '

Definition at line 65 of file reverserelatedlist.php.

Referenced by eZContentObjectTreeNode\reverseRelatedCount().

$path_strings2 = '( '

Definition at line 66 of file reverserelatedlist.php.

$path_strings_where = " ) "

Definition at line 74 of file reverserelatedlist.php.

Referenced by eZContentObjectTreeNode\reverseRelatedCount().

$requestedURI = ''

Definition at line 48 of file reverserelatedlist.php.

$Result = array()

Definition at line 141 of file reverserelatedlist.php.

if ($contentObject) $Result['content'] = $tpl->fetch( "design:content/reverserelatedlist.tpl" )

Definition at line 157 of file reverserelatedlist.php.

$Result['path']
Initial value:
 array( array( 'url' => false,
                                'text' => ezpI18n::tr( 'kernel/content', "\"$contentObjectName\": Sub items that are used by other objects" ) ) )

Definition at line 158 of file reverserelatedlist.php.

$reverselistCountChildrenArray = array()

Definition at line 118 of file reverserelatedlist.php.

$rowsCount = 0

Definition at line 131 of file reverserelatedlist.php.

$userRedirectURI = ''

Definition at line 49 of file reverserelatedlist.php.

$viewParameters = array( 'offset' => $Offset )

Definition at line 129 of file reverserelatedlist.php.

if(!$contentObjectTreeNode) return $Module->handleError(eZError

Definition at line 62 of file reverserelatedlist.php.