eZPublishCommunityProject(LegacyStack)  2013.5
removeobject.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

if($http->hasPostVariable("CancelButton")) $contentINI = eZINI::instance( 'content.ini' )
 
 $contentNodeID = $http->sessionVariable( 'ContentNodeID' )
 
 $deleteIDArray = $http->sessionVariable( "DeleteIDArray" )
 
 $deleteItemsExist = true
 
 $deleteNodeIdArray = array()
 
 $deleteResult = $info['delete_list']
 
 $exceededLimit = false
 
 $hasPendingObject = $info['has_pending_object']
 
if($http->hasPostVariable(
'SupportsMoveToTrash')) 
$hideRemoveConfirm
 
 $http = eZHTTPTool::instance()
 
 $info = eZContentObjectTreeNode::subtreeRemovalInformation( $deleteIDArray )
 
 $maxNodesRemoveSubtree
 
 $Module = $Params['Module']
 
 $moveToTrash = ( $RemoveAction == 'trash' ) ? true : false
 
 $moveToTrashAllowed = $info['move_to_trash']
 
 $RemoveAction
 
 $requestedURI = ''
 
 $Result = array()
 
 $Result ['content'] = $tpl->fetch( "design:node/removeobject.tpl" )
 
 $Result ['path']
 
if($http->hasPostVariable("ConfirmButton")
or $hideRemoveConfirm) 
$showCheck
 
 $totalChildCount = $info['total_child_count']
 
foreach(array_keys($deleteResult)
as $removeItemKey) if($totalChildCount==0) 
$tpl = eZTemplate::factory()
 
 $userRedirectURI = ''
 
 $viewMode = $http->sessionVariable( "CurrentViewMode" )
 
if($http->hasSessionVariable(
'ContentLanguage')) 
else
 

Variable Documentation

if ($http->hasPostVariable("CancelButton")) $contentINI = eZINI::instance( 'content.ini' )
$contentNodeID = $http->sessionVariable( 'ContentNodeID' )
$deleteIDArray = $http->sessionVariable( "DeleteIDArray" )
$deleteItemsExist = true
$deleteNodeIdArray = array()
$deleteResult = $info['delete_list']
$exceededLimit = false
$hasPendingObject = $info['has_pending_object']
if ($http->hasPostVariable( 'SupportsMoveToTrash')) $hideRemoveConfirm
Initial value:
= $contentINI->hasVariable( 'RemoveSettings', 'HideRemoveConfirmation' ) ?
(( $contentINI->variable( 'RemoveSettings', 'HideRemoveConfirmation' ) == 'true' ) ? true : false ) : false
if($Module->isCurrentAction( 'Cancel')) $contentINI
Definition: content/copy.php:42
$maxNodesRemoveSubtree
Initial value:
= $contentINI->hasVariable( 'RemoveSettings', 'MaxNodesRemoveSubtree' ) ?
$contentINI->variable( 'RemoveSettings', 'MaxNodesRemoveSubtree' ) : 100
if($Module->isCurrentAction( 'Cancel')) $contentINI
Definition: content/copy.php:42
$Module = $Params['Module']
$moveToTrash = ( $RemoveAction == 'trash' ) ? true : false
$moveToTrashAllowed = $info['move_to_trash']
$RemoveAction
Initial value:
= $contentINI->hasVariable( 'RemoveSettings', 'DefaultRemoveAction' ) ?
$contentINI->variable( 'RemoveSettings', 'DefaultRemoveAction' ) : 'trash'
if($Module->isCurrentAction( 'Cancel')) $contentINI
Definition: content/copy.php:42
$requestedURI = ''
$Result = array()
$Result['content'] = $tpl->fetch( "design:node/removeobject.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => false,
'text' => ezpI18n::tr( 'kernel/content', 'Remove object' ) ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
if ($http->hasPostVariable("ConfirmButton") or $hideRemoveConfirm) $showCheck
Initial value:
= $contentINI->hasVariable( 'RemoveSettings', 'ShowRemoveToTrashCheck' ) ?
(( $contentINI->variable( 'RemoveSettings', 'ShowRemoveToTrashCheck' ) == 'false' ) ? false : true ) : true
if($Module->isCurrentAction( 'Cancel')) $contentINI
Definition: content/copy.php:42
$totalChildCount = $info['total_child_count']
foreach (array_keys($deleteResult) as $removeItemKey) if ($totalChildCount==0) $tpl = eZTemplate::factory()
$userRedirectURI = ''
$viewMode = $http->sessionVariable( "CurrentViewMode" )
if ($http->hasSessionVariable( 'ContentLanguage')) else
Initial value:
{
$contentLanguage = false