eZPublish  3.8
versionview.php File Reference

Variables

if(!$siteAccess) $access = $GLOBALS['eZCurrentAccess']
 
 $access ['name'] = $siteAccess
 
 $assignment = false
 
 $class = eZContentClass::fetch( $contentObject->attribute( 'contentclass_id' ) )
 
foreach(array_keys($nodeAssignments)
as $key) 
$contentINI =& eZINI::instance( 'content.ini' )
 
 $contentObject =& eZContentObject::fetch( $ObjectID )
 
 $depth = 2
 
if($sectionID!==false) $designKeys [] = array( 'navigation_part_identifier', $navigationPartIdentifier )
 
 $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
 
 $Result ['requested_uri_string'] = $requestedURIString
 
 $Result ['ui_context'] = 'view'
 
if($Module->isCurrentAction(
'Versions')) 
$sectionID = false
 
 $tpl =& templateInit()
 
if(!$versionObject->attribute(
'can_read')) if(!$LanguageCode) 
$user =& eZUser::currentUser()
 
 $versionAttributes = $versionObject->contentObjectAttributes( $LanguageCode )
 
 $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
if ($Module->isCurrentAction( 'ChangeSettings')) $assignment = false
$class = eZContentClass::fetch( $contentObject->attribute( 'contentclass_id' ) )
$contentINI =& eZINI::instance( 'content.ini' )
$contentObject =& eZContentObject::fetch( $ObjectID )
$designKeys = array( 'navigation_part_identifier', $navigationPartIdentifier )
$FromLanguage = $Params['FromLanguage']
$GLOBALS['eZContentObjectDefaultLanguage'] = $LanguageCode
if ($versionAttributes===null or count($versionAttributes)==0) $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
Initial value:
false, false, false )
$tpl
Definition: eztc.php:141
$LanguageCode
Definition: pdf.php:38
& generateNodeView(&$tpl, &$node, &$object, $languageCode, $viewMode, $offset, $cacheDir, $cachePath, $viewCacheEnabled, $viewParameters=array( 'offset'=> 0, 'year'=> false, 'month'=> false, 'day'=> false), $collectionAttributes=false, $validation=false)
Definition: eznodeviewfunctions.php:37
if($node->attribute( 'is_invisible')&&!eZContentObjectTreeNode::showInvisibleNodes()) $contentObject
Definition: browse.php:63
$node
Definition: browse.php:54
$Result['requested_uri_string'] = $requestedURIString
$Result['ui_context'] = 'view'
$tpl =& templateInit()
if (!$versionObject->attribute( 'can_read')) if (!$LanguageCode) $user =& eZUser::currentUser()
$versionAttributes = $versionObject->contentObjectAttributes( $LanguageCode )
$versionObject =& $contentObject->version( $EditVersion )
$viewParameters = array( 'offset' => $Offset )
$virtualNodeID = null
if ($Params['SiteAccess']) else
Initial value:
{
$assignment = false
$assignment
Definition: versionview.php:75
return