|
eZ Publish
[trunk]
|
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 78 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees().
| $cli = eZCLI::instance() |
Definition at line 18 of file ezsubtreeremove.php.
| $deleteIDArray = $srcNodesID ? explode( ',', $srcNodesID ) : false |
Definition at line 35 of file ezsubtreeremove.php.
Referenced by eZContentOperationCollection\deleteObject(), eZContentObjectTreeNode\removeSubtrees(), and eZContentObjectTreeNode\subtreeRemovalInformation().
| $deleteIDArrayResult = array() |
Definition at line 55 of file ezsubtreeremove.php.
| $deleteResult = $info['delete_list'] |
Definition at line 69 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees().
| foreach ($deleteIDArray as $nodeID) $info = eZContentObjectTreeNode::subtreeRemovalInformation( $deleteIDArrayResult ) |
Definition at line 67 of file ezsubtreeremove.php.
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(), eZWebDAVContentServer\fetchNodeInfo(), eZWebDAVContentBackend\fetchNodeInfo(), eZWebDAVContentServer\fetchVirtualSiteContent(), eZWebDAVContentServer\getContentNodeData(), 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(), eZEXIFImageAnalyzer\process(), eZGIFImageAnalyzer\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() |
Definition at line 44 of file ezsubtreeremove.php.
Definition at line 79 of file ezsubtreeremove.php.
| $reverseRelatedCount = $info['reverse_related_count'] |
Definition at line 80 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 19 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 26 of file ezsubtreeremove.php.
| $srcNodesID = $scriptOptions[ 'nodes-id' ] ? trim( $scriptOptions[ 'nodes-id' ] ) : false |
Definition at line 33 of file ezsubtreeremove.php.
| if (count($deleteResult)==0) $totalChildCount = $info['total_child_count'] |
Definition at line 77 of file ezsubtreeremove.php.
Referenced by eZContentObjectTreeNode\removeSubtrees().
| $user = eZUser::fetch( $userCreatorID ) |
Definition at line 47 of file ezsubtreeremove.php.
| $userCreatorID = $ini->variable( "UserSettings", "UserCreatorID" ) |
Definition at line 46 of file ezsubtreeremove.php.
Referenced by eZTextFileUser\loginUser(), eZLDAPUser\publishNewUserGroup(), eZLDAPUser\publishUpdateUser(), and eZScriptTrashPurge\run().