eZ Publish  [trunk]
removeobject.php File Reference

Go to the source code of this file.

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" )

Variable Documentation

if ($http->hasPostVariable("CancelButton")) $contentINI = eZINI::instance( 'content.ini' )

Definition at line 60 of file removeobject.php.

$contentNodeID = $http->sessionVariable( 'ContentNodeID' )

Definition at line 16 of file removeobject.php.

$deleteIDArray = $http->sessionVariable( "DeleteIDArray" )

Definition at line 15 of file removeobject.php.

$deleteItemsExist = true

Definition at line 125 of file removeobject.php.

$deleteNodeIdArray = array()

Definition at line 119 of file removeobject.php.

$deleteResult = $info['delete_list']

Definition at line 114 of file removeobject.php.

$exceededLimit = false

Definition at line 118 of file removeobject.php.

$hasPendingObject = $info['has_pending_object']

Definition at line 117 of file removeobject.php.

Referenced by eZContentObjectTreeNode\removeSubtrees().

if ($http->hasPostVariable( 'SupportsMoveToTrash')) $hideRemoveConfirm
Initial value:
 $contentINI->hasVariable( 'RemoveSettings', 'HideRemoveConfirmation' ) ?
                     (( $contentINI->variable( 'RemoveSettings', 'HideRemoveConfirmation' ) == 'true' ) ? true : false ) : false

Definition at line 76 of file removeobject.php.

Definition at line 12 of file removeobject.php.

Definition at line 113 of file removeobject.php.

$maxNodesRemoveSubtree
Initial value:
 $contentINI->hasVariable( 'RemoveSettings', 'MaxNodesRemoveSubtree' ) ?
                            $contentINI->variable( 'RemoveSettings', 'MaxNodesRemoveSubtree' ) : 100

Definition at line 122 of file removeobject.php.

$Module = $Params['Module']

Definition at line 10 of file removeobject.php.

$moveToTrash = ( $RemoveAction == 'trash' ) ? true : false

Definition at line 67 of file removeobject.php.

$moveToTrashAllowed = $info['move_to_trash']

Definition at line 115 of file removeobject.php.

Referenced by eZContentObjectTreeNode\removeSubtrees().

$RemoveAction
Initial value:
 $contentINI->hasVariable( 'RemoveSettings', 'DefaultRemoveAction' ) ?
                   $contentINI->variable( 'RemoveSettings', 'DefaultRemoveAction' ) : 'trash'

Definition at line 62 of file removeobject.php.

$requestedURI = ''

Definition at line 18 of file removeobject.php.

$Result = array()

Definition at line 211 of file removeobject.php.

$Result['content'] = $tpl->fetch( "design:node/removeobject.tpl" )

Definition at line 212 of file removeobject.php.

$Result['path']
Initial value:
 array( array( 'url' => false,
                                'text' => ezpI18n::tr( 'kernel/content', 'Remove object' ) ) )

Definition at line 213 of file removeobject.php.

if ($http->hasPostVariable("ConfirmButton") or $hideRemoveConfirm) $showCheck
Initial value:
 $contentINI->hasVariable( 'RemoveSettings', 'ShowRemoveToTrashCheck' ) ?
             (( $contentINI->variable( 'RemoveSettings', 'ShowRemoveToTrashCheck' ) == 'false' ) ? false : true ) : true

Definition at line 110 of file removeobject.php.

$totalChildCount = $info['total_child_count']

Definition at line 116 of file removeobject.php.

foreach (array_keys($deleteResult) as $removeItemKey) if ($totalChildCount==0) $tpl = eZTemplate::factory()

Definition at line 195 of file removeobject.php.

$userRedirectURI = ''

Definition at line 19 of file removeobject.php.

$viewMode = $http->sessionVariable( "CurrentViewMode" )

Definition at line 14 of file removeobject.php.