|
eZ Publish
[4.0]
|
Go to the source code of this file.
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" ) | |
| $canRemoveAll = $info['can_remove_all'] |
Definition at line 101 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees().
| $cli = eZCLI::instance() |
Definition at line 41 of file ezsubtreeremove.php.
| $deleteIDArray = $srcNodesID ? explode( ',', $srcNodesID ) : false |
Definition at line 58 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees(), and eZContentObjectTreeNode\subtreeRemovalInformation().
| $deleteIDArrayResult = array() |
Definition at line 78 of file ezsubtreeremove.php.
| $deleteResult = $info['delete_list'] |
Definition at line 92 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees().
| foreach ($deleteIDArray as $nodeID) $info = eZContentObjectTreeNode::subtreeRemovalInformation( $deleteIDArrayResult ) |
Definition at line 90 of file ezsubtreeremove.php.
Referenced by Cpdf\addInternalLink(), Cpdf\addLink(), Cpdf\addPngFromFile(), Cpdf\addText(), Cezpdf\alink(), eZContentClassAttribute\cachedInfo(), eZURLWildcard\cacheIndexFile(), 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(), eZImageVariation\createOriginal(), eZContentClassAttribute\dataTypeByID(), eZContentCacheManager\dependencyInfo(), eZPDFTable\dots(), eZContentObjectPackageHandler\explainInstallItem(), Cezpdf\ezPRVTaddPageNumbers(), eZURLWildcardTranslateWithCache(), eZWebDAVContentServer\fetchNodeInfo(), eZWebDAVContentServer\fetchVirtualSiteContent(), eZImageAliasHandler\generateXMLData(), eZWebDAVContentServer\getContentNodeData(), eZUser\hasAccessToView(), Cezpdf\ilink(), eZImageAliasHandler\initialize(), eZDataType\isClassAttributeRemovable(), eZContentClass\isRemovable(), eZURLWildcard\loadCacheIndex(), 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(), eZContentClassAttribute\store(), eZContentClassAttribute\storeDefined(), Cezpdf\strike(), eZDiffTextEngine\substrings(), Cezpdf\uline(), eZContentObjectPackageHandler\uninstall(), eZImageType\validateObjectAttributeHTTPInput(), and eZDBSchemaInterface\writeArraySchemaFile().
| if (!$deleteIDArray) $ini = eZINI::instance() |
Definition at line 67 of file ezsubtreeremove.php.
| $moveToTrash = $scriptOptions[ 'ignore-trash' ] ? false : true |
Definition at line 57 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeNodeFromTree(), and eZContentObjectTreeNode\removeSubtrees().
| $moveToTrashStr = $moveToTrash ? 'true' : 'false' |
Definition at line 102 of file ezsubtreeremove.php.
| $reverseRelatedCount = $info['reverse_related_count'] |
Definition at line 103 of file ezsubtreeremove.php.
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 ) )
Definition at line 42 of file ezsubtreeremove.php.
| $scriptOptions |
$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 )
Definition at line 49 of file ezsubtreeremove.php.
| $srcNodesID = $scriptOptions[ 'nodes-id' ] ? trim( $scriptOptions[ 'nodes-id' ] ) : false |
Definition at line 56 of file ezsubtreeremove.php.
| if (count($deleteResult)==0) $totalChildCount = $info['total_child_count'] |
Definition at line 100 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees().
| $user = eZUser::fetch( $userCreatorID ) |
Definition at line 70 of file ezsubtreeremove.php.
| $userCreatorID = $ini->variable( "UserSettings", "UserCreatorID" ) |
Definition at line 69 of file ezsubtreeremove.php.
Referenced by eZTextFileUser\loginUser(), eZLDAPUser\publishNewUserGroup(), and eZLDAPUser\publishUpdateUser().