eZPublishCommunityProject(LegacyStack)  2013.5
versionview.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

if(!$siteAccess) $access = $GLOBALS['eZCurrentAccess']
 
 $access ['name'] = $siteAccess
 
 $assignment = false
 
 $class = eZContentClass::fetch( $contentObject->attribute( 'contentclass_id' ) )
 
 $contentObject = eZContentObject::fetch( $ObjectID )
 
 $depth = 2
 
if($sectionID!==false$designKeys [] = array( 'navigation_part_identifier', $navigationPartIdentifier )
 
if($http->hasPostVariable(
'BackButton')) 
$FromLanguage = $Params['FromLanguage']
 
 $GLOBALS ['eZContentObjectDefaultLanguage'] = $LanguageCode
 
 $http = eZHTTPTool::instance()
 
 $ini = eZINI::instance()
 
 $isCreator = ( $versionObject->attribute( 'creator_id' ) == $user->id() )
 
 $mainAssignment = false
 
if($assignment) $navigationPartIdentifier = false
 
if(isset($parentNodeObject)&&is_object($parentNodeObject))
if(isset($node)&&is_object($node)) 
$node = new eZContentObjectTreeNode()
 
 $nodeAssignments = $versionObject->attribute( 'node_assignments' )
 
 $objectName = $class->contentObjectName( $contentObject )
 
 $Offset = $Params['Offset']
 
if(is_array($nodeAssignments)
and count($nodeAssignments)==1)
else if(!$placementID &&count($nodeAssignments)) 
$parentNodeID = false
 
 $path = array()
 
 $pathIdentificationString = ''
 
 $pathString = ''
 
 $placementID = false
 
 $requestedURIString = ''
 
 $res = eZTemplateDesignResource::instance()
 
 $Result = eZNodeviewfunctions::generateNodeViewData( $tpl, $node, $contentObject, $LanguageCode, 'full', 0, $viewParameters )
 
 $Result ['requested_uri_string'] = $requestedURIString
 
 $Result ['ui_context'] = 'view'
 
if($Module->isCurrentAction(
'Versions')) 
$sectionID = false
 
 $tpl = eZTemplate::factory()
 
if(!$versionObject->attribute(
'can_read')) if(!$LanguageCode) 
$user = eZUser::currentUser()
 
 $versionObject = $contentObject->version( $EditVersion )
 
 $viewParameters = array( 'offset' => $Offset )
 
 $virtualNodeID = null
 
if($assignment!==null) else
 
 return
 

Variable Documentation

if (!$siteAccess) $access = $GLOBALS['eZCurrentAccess']
$access['name'] = $siteAccess
foreach ($nodeAssignments as $nodeAssignment) if ($Module->isCurrentAction( 'ChangeSettings')) $assignment = false
$class = eZContentClass::fetch( $contentObject->attribute( 'contentclass_id' ) )
$contentObject = eZContentObject::fetch( $ObjectID )
$depth = 2

Referenced by eZCollaborationGroup\addChild(), eZContentFunctionCollection\calendar(), eZContentObjectTreeNode\calendar(), eZContentObject\checkAccess(), eZWebDAVContentBackend\copyRecursive(), eZCollaborationGroup\create(), eZMultiOption2\createDomElementForGroup(), eZContentObjectTreeNode\createNotEqParentSQLString(), eZContentObjectTreeNode\createPathConditionAndNotEqParentSQLStrings(), eZContentObjectTreeNode\createPathConditionSQLString(), ezpContentCriteria\depth(), eZWebDAVContentBackend\fetchContentList(), eZCollaborationFunctionCollection\fetchGroupTree(), eZMultiOption2Type\fetchHTTPInputForGroup(), eZRSSExportItem\fetchNodeList(), eZContentFunctionCollection\fetchObjectTree(), eZCollaborationFunctionCollection\fetchObjectTreeCount(), eZContentFunctionCollection\fetchObjectTreeCount(), eZWebDAVContentBackend\fetchSiteListContent(), eZWebDAVContentBackend\fetchVirtualSiteContent(), eZMultiOption2\findGroup(), eZMultiOption2\findMultiOption(), eZWebDAVContentBackend\getCollectionContent(), eZWebDAVContentBackend\getCollectionMembers(), eZWebDAVContentBackend\getContentTreeCollection(), eZWebDAVContentBackend\getNodes(), eZLDAPUser\getUserGroupsTree(), eZWebDAVContentBackend\getVirtualFolderCollection(), eZLDAPUser\goAndPublishGroups(), eZHTTPHeader\headerOverrideArray(), eZCollaborationGroup\instantiate(), eZWebDAVContentBackend\moveRecursive(), eZWebDAVContentBackend\performCopy(), eZMultiOption2\removeChildGroup(), eZCollaborationGroup\subTree(), eZContentObjectTreeNode\subTreeByNodeID(), eZContentObjectTreeNode\subTreeCountByNodeID(), eZContentObjectTreeNode\subTreeMultiPaths(), and eZContentObjectTreeNode\subtreeSoleNodeCount().

if ($http->hasSessionVariable( 'LastAccessesVersionURI')) $designKeys = array( 'navigation_part_identifier', $navigationPartIdentifier )
if ($http->hasPostVariable( 'BackButton')) $FromLanguage = $Params['FromLanguage']
$GLOBALS['eZContentObjectDefaultLanguage'] = $LanguageCode
$ini = eZINI::instance()
$isCreator = ( $versionObject->attribute( 'creator_id' ) == $user->id() )
$mainAssignment = false
if ($assignment) $navigationPartIdentifier = false
if (isset($parentNodeObject)&&is_object($parentNodeObject)) if (isset($node)&&is_object($node)) $node = new eZContentObjectTreeNode()
$nodeAssignments = $versionObject->attribute( 'node_assignments' )
$Offset = $Params['Offset']
$path = array()
$pathIdentificationString = ''
$placementID = false
$requestedURIString = ''
$Result = eZNodeviewfunctions::generateNodeViewData( $tpl, $node, $contentObject, $LanguageCode, 'full', 0, $viewParameters )
$Result['requested_uri_string'] = $requestedURIString
$Result['ui_context'] = 'view'
if (!$versionObject->attribute( 'can_read')) if (!$LanguageCode) $user = eZUser::currentUser()
$viewParameters = array( 'offset' => $Offset )
$virtualNodeID = null
if ($Params['SiteAccess']) else
Initial value:
{
$assignment = false
$assignment
Definition: versionview.php:61
return