eZ Publish  [trunk]
versionview.php File Reference

Go to the source code of this file.

Variables

 $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(!$Module->isCurrentAction(
'Publish')) $contentObject->
setAttribute( 'current_version' 
$EditVersion
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(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 ($contentObject===null) return $Module->handleError(eZError

Variable Documentation

$access['name'] = $siteAccess

Definition at line 229 of file versionview.php.

foreach ($nodeAssignments as $nodeAssignment) if ($Module->isCurrentAction( 'ChangeSettings')) $assignment = false
$class = eZContentClass::fetch( $contentObject->attribute( 'contentclass_id' ) )

Definition at line 164 of file versionview.php.

$contentObject = eZContentObject::fetch( $ObjectID )

Definition at line 32 of file versionview.php.

$depth = 2

Definition at line 175 of file versionview.php.

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

if ($http->hasSessionVariable( 'LastAccessesVersionURI')) $designKeys = array( 'navigation_part_identifier', $navigationPartIdentifier )

Definition at line 159 of file versionview.php.

if (!$Module->isCurrentAction( 'Publish')) $contentObject->setAttribute( 'current_version' $EditVersion

Definition at line 161 of file versionview.php.

if ($http->hasPostVariable( 'BackButton')) $FromLanguage = $Params['FromLanguage']

Definition at line 30 of file versionview.php.

$GLOBALS['eZContentObjectDefaultLanguage'] = $LanguageCode

Definition at line 239 of file versionview.php.

Definition at line 9 of file versionview.php.

$ini = eZINI::instance()

Definition at line 248 of file versionview.php.

$isCreator = ( $versionObject->attribute( 'creator_id' ) == $user->id() )

Definition at line 52 of file versionview.php.

$mainAssignment = false

Definition at line 104 of file versionview.php.

if (isset($parentNodeObject)&&is_object($parentNodeObject)) if (isset($node)&&is_object($node)) $node = new eZContentObjectTreeNode()

Definition at line 189 of file versionview.php.

$nodeAssignments = $versionObject->attribute( 'node_assignments' )

Definition at line 70 of file versionview.php.

$Offset = $Params['Offset']

Definition at line 10 of file versionview.php.

if (is_array($nodeAssignments) and count($nodeAssignments)==1) else if (!$placementID &&count($nodeAssignments)) $parentNodeID = false
$path = array()

Definition at line 171 of file versionview.php.

$pathIdentificationString = ''
$placementID = false

Definition at line 60 of file versionview.php.

$requestedURIString = ''

Definition at line 174 of file versionview.php.

Definition at line 249 of file versionview.php.

$Result = eZNodeviewfunctions::generateNodeViewData( $tpl, $node, $contentObject, $LanguageCode, 'full', 0, $viewParameters )

Definition at line 280 of file versionview.php.

$Result['requested_uri_string'] = $requestedURIString

Definition at line 282 of file versionview.php.

$Result['ui_context'] = 'view'

Definition at line 283 of file versionview.php.

Definition at line 253 of file versionview.php.

if (!$versionObject->attribute( 'can_read')) if (!$LanguageCode) $user = eZUser::currentUser()

Definition at line 50 of file versionview.php.

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

Definition at line 11 of file versionview.php.

$virtualNodeID = null

Definition at line 71 of file versionview.php.

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

Definition at line 33 of file versionview.php.