eZPublishCommunityProject(LegacyStack)  2013.5
ezsubtreeremove.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $canRemoveAll = $info['can_remove_all']
 
 $cli = eZCLI::instance()
 
 $deleteIDArray = $srcNodesID ? explode( ',', $srcNodesID ) : false
 
 $deleteIDArrayResult = array()
 
 $deleteResult = $info['delete_list']
 
foreach($deleteIDArray as $nodeID) $info = eZContentObjectTreeNode::subtreeRemovalInformation( $deleteIDArrayResult )
 
if(!$deleteIDArray) $ini = eZINI::instance()
 
 $moveToTrash = $scriptOptions[ 'ignore-trash' ] ? false : true
 
 $moveToTrashStr = $moveToTrash ? 'true' : 'false'
 
 $reverseRelatedCount = $info['reverse_related_count']
 
 $script
 
 $scriptOptions
 
 $srcNodesID = $scriptOptions[ 'nodes-id' ] ? trim( $scriptOptions[ 'nodes-id' ] ) : false
 
if(count($deleteResult)==0) $totalChildCount = $info['total_child_count']
 
 $user = eZUser::fetch( $userCreatorID )
 
 $userCreatorID = $ini->variable( "UserSettings", "UserCreatorID" )
 

Variable Documentation

$canRemoveAll = $info['can_remove_all']
$cli = eZCLI::instance()
$deleteIDArrayResult = array()
$deleteResult = $info['delete_list']
foreach ($deleteIDArray as $nodeID) $info = eZContentObjectTreeNode::subtreeRemovalInformation( $deleteIDArrayResult )

Referenced by Cpdf\addInternalLink(), Cpdf\addLink(), Cpdf\addPngFromFile(), Cpdf\addText(), Cezpdf\alink(), eZContentClassAttribute\cachedInfo(), eZURLWildcard\cacheInfoDirectories(), eZPDFTable\callAnchor(), eZPDFTable\callCircle(), eZPDFTable\callDrawLine(), eZPDFTable\callFilledRectangle(), eZPDFTable\callFrameLine(), eZPDFTable\callFrameMargins(), eZPDFTable\callImage(), eZPDFTable\callInsertTOC(), eZPDFTable\callKeyword(), eZPDFTable\callRectangle(), eZPDFTable\callSetMargin(), eZPDFTable\callStartPageCounter(), eZPDFTable\callTOC(), eZDataType\classDisplayInformation(), eZImageManager\createImageAlias(), eZImageAliasHandler\createImageInformationNode(), eZCollaborationItem\createNotificationEvent(), eZContentClassAttribute\dataTypeByID(), eZContentCacheManager\dependencyInfo(), eZPDFTable\dots(), eZContentObjectPackageHandler\explainInstallItem(), Cezpdf\ezPRVTaddPageNumbers(), eZWebDAVContentBackend\fetchNodeInfo(), eZWebDAVContentBackend\getContentNodeData(), eZLDAPUser\getGroupNameByDN(), eZUser\hasAccessToView(), Cezpdf\ilink(), eZImageAliasHandler\initialize(), eZDataType\isClassAttributeRemovable(), eZContentClass\isRemovable(), eZURLWildcard\loadCacheFile(), eZLocale\localeInformation(), eZLDAPUser\loginUser(), eZImageManager\mimeTypeSetting(), eZDateOperatorCollection\modify(), eZTemplateLocaleOperator\modify(), Cpdf\o_pattern(), eZObjectRelationType\objectDisplayInformation(), eZEnumType\objectDisplayInformation(), eZDataType\objectDisplayInformation(), eZGIFImageAnalyzer\process(), eZEXIFImageAnalyzer\process(), Cpdf\PRVTcheckTextDirective1(), eZContentClass\removableInformation(), eZContentClassAttribute\sortKeyTypeByID(), Cezpdf\strike(), eZDiffTextEngine\substrings(), Cezpdf\uline(), eZContentObjectPackageHandler\uninstall(), eZImageType\validateObjectAttributeHTTPInput(), and eZDBSchemaInterface\writeArraySchemaFile().

if (!$deleteIDArray) $ini = eZINI::instance()
$moveToTrashStr = $moveToTrash ? 'true' : 'false'
$reverseRelatedCount = $info['reverse_related_count']
$script
Initial value:
= eZScript::instance( array( 'description' => ( "\n" .
"This script will make a remove of a content object subtrees.\n" ),
'use-session' => false,
'use-modules' => true,
'use-extensions' => true ) )
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1084
$scriptOptions
Initial value:
= $script->getOptions( "[nodes-id:][ignore-trash]",
"",
array( 'nodes-id' => "Subtree nodes ID (separated by comma ',').",
'ignore-trash' => "Ignore trash ('move to trash' by default)."
),
false )
$script
Definition: adddefaultstates.php:22
$srcNodesID = $scriptOptions[ 'nodes-id' ] ? trim( $scriptOptions[ 'nodes-id' ] ) : false
if (count($deleteResult)==0) $totalChildCount = $info['total_child_count']
$user = eZUser::fetch( $userCreatorID )
$userCreatorID = $ini->variable( "UserSettings", "UserCreatorID" )