eZPublish  3.8
versions.php File Reference

Variables

 $canEdit = false
 
 $canRemove = false
 
 $EditVersion = $Params['EditVersion']
 
 $editWarning = false
 
 $explodedURI = $LastAccessesVersionURI ? explode ( '/', $LastAccessesVersionURI ) : null
 
 $http =& eZHTTPTool::instance()
 
 $LastAccessesVersionURI = $http->hasSessionVariable( 'LastAccessesVersionURI' ) ? $http->sessionVariable( 'LastAccessesVersionURI' ) : null
 
if($http->hasPostVariable(
'BackButton')) 
$object =& eZContentObject::fetch( $ObjectID )
 
 $ObjectID = $Params['ObjectID']
 
 $Offset = $Params['Offset']
 
if($Module->isCurrentAction(
'Edit')) if($Module->
isCurrentAction( 'CopyVersion')) 
$res =& eZTemplateDesignResource::instance()
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( 'design:content/versions.tpl' )
 
 $Result ['path']
 
 $tpl =& templateInit()
 
if($http->hasSessionVariable(
'ExcessVersionHistoryLimit'))
if($http->hasPostVariable(
'RemoveButton')) 
$user =& eZUser::currentUser()
 
 $versionArray =( isset( $versionArray ) and is_array( $versionArray ) ) ? array_unique( $versionArray ) : array()
 
 $versions =& $object->versions()
 
 $viewParameters = array( 'offset' => $Offset )
 

Variable Documentation

$canEdit = false

Referenced by eZContentObject\canEdit().

$canRemove = false
$EditVersion = $Params['EditVersion']
$editWarning = false
$explodedURI = $LastAccessesVersionURI ? explode ( '/', $LastAccessesVersionURI ) : null
$LastAccessesVersionURI = $http->hasSessionVariable( 'LastAccessesVersionURI' ) ? $http->sessionVariable( 'LastAccessesVersionURI' ) : null
if ($http->hasPostVariable( 'BackButton')) $object =& eZContentObject::fetch( $ObjectID )
$ObjectID = $Params['ObjectID']
$Offset = $Params['Offset']
if ($Module->isCurrentAction( 'Edit')) if ($Module->isCurrentAction( 'CopyVersion')) $res =& eZTemplateDesignResource::instance()
$Result = array()
$Result['content'] =& $tpl->fetch( 'design:content/versions.tpl' )
$Result['path']
Initial value:
= array( array( 'text' => ezi18n( 'kernel/content', 'Versions' ),
'url' => false ) )
$tpl =& templateInit()
if ($http->hasSessionVariable( 'ExcessVersionHistoryLimit')) if ($http->hasPostVariable( 'RemoveButton')) $user =& eZUser::currentUser()
$versionArray =( isset( $versionArray ) and is_array( $versionArray ) ) ? array_unique( $versionArray ) : array()
$viewParameters = array( 'offset' => $Offset )