eZ Publish  [trunk]
attribute_edit.php File Reference

Go to the source code of this file.

Variables

 $assignedNodes = $object->attribute( 'assigned_nodes' )
 $assignments = $version->attribute( 'parent_nodes' )
 $attributeDataBaseName = 'ContentObjectAttribute'
 $class = eZContentClass::fetch( $classID )
 $classID = $object->attribute( 'contentclass_id' )
 $contentObjectAttributes = $version->contentObjectAttributes( $EditLanguage )
 $contentObjectDataMap = array()
if($locationCount< 1 &&$Module->
isCurrentAction( 'Publish')) 
$customAction = false
 $customActionAttributeArray = array()
if($contentObjectAttributes===null
or count($contentObjectAttributes)==0) 
$fromContentObjectAttributes = false
 $hasObjectInput = true
 $hasPath = false
if($FromLanguage!==false$http = eZHTTPTool::instance()
foreach($contentObjectAttributes
as $contentObjectAttribute) 
$inputValidated = true
if($_SERVER['REQUEST_METHOD']===
'POST') if($storingAllowed
&&$hasObjectInput) elseif($storingAllowed) 
$invalidNodeAssignmentList = array()
 $isTranslatingContent = false
foreach($assignedNodes as
$node) foreach($assignments as
$assignment) 
$locationCount = count( $locationIDList )
 $locationIDList = array()
 $locationUIEnabled = true
 $mainAssignment = false
 $object = eZContentObject::fetch( $ObjectID )
 $ObjectID = $Params['ObjectID']
 $path = array()
 $requireFixup = false
 $res = eZTemplateDesignResource::instance()
if($Module->isCurrentAction(
'Publish')) 
$Result = ''
 $Result ['content'] = $tpl->fetch( $templateName )
 $Result ['view_parameters'] = $viewParameters
if($mainAssignment) if(!$hasPath)
if(!$hasPath) 
$Result ['path'] = $path
 $section = eZSection::fetch( $object->attribute( 'section_id' ) )
 $storeActions
 $storingAllowed
 $templateName = 'design:content/edit.tpl'
 $titlePath = array()
 $validatedAttributes = array()
 $validation
 $version = $object->version( $EditVersion )
 if ($object===null) return $Module->handleError(eZError

Variable Documentation

$assignments = $version->attribute( 'parent_nodes' )
$class = eZContentClass::fetch( $classID )

Definition at line 54 of file attribute_edit.php.

$classID = $object->attribute( 'contentclass_id' )

Definition at line 49 of file attribute_edit.php.

$contentObjectDataMap = array()

Definition at line 206 of file attribute_edit.php.

if ($locationCount< 1 &&$Module->isCurrentAction( 'Publish')) $customAction = false

Definition at line 152 of file attribute_edit.php.

if ($contentObjectAttributes===null or count($contentObjectAttributes)==0) $fromContentObjectAttributes = false

Definition at line 63 of file attribute_edit.php.

$hasObjectInput = true

Definition at line 202 of file attribute_edit.php.

$hasPath = false

Definition at line 530 of file attribute_edit.php.

if ($FromLanguage!==false) $http = eZHTTPTool::instance()

Definition at line 78 of file attribute_edit.php.

foreach ($contentObjectAttributes as $contentObjectAttribute) $inputValidated = true

Definition at line 214 of file attribute_edit.php.

Referenced by eZContentObject\validateInput().

if ($_SERVER['REQUEST_METHOD']=== 'POST') if ($storingAllowed &&$hasObjectInput) elseif ($storingAllowed) $invalidNodeAssignmentList = array()

Definition at line 341 of file attribute_edit.php.

$isTranslatingContent = false

Definition at line 64 of file attribute_edit.php.

foreach ($assignedNodes as $node) foreach ($assignments as $assignment) $locationCount = count( $locationIDList )

Definition at line 134 of file attribute_edit.php.

$locationIDList = array()

Definition at line 117 of file attribute_edit.php.

$locationUIEnabled = true

Definition at line 487 of file attribute_edit.php.

$mainAssignment = false

Definition at line 419 of file attribute_edit.php.

$object = eZContentObject::fetch( $ObjectID )

Definition at line 43 of file attribute_edit.php.

Referenced by eZContentOperationCollection\addAssignment(), eZSiteInstaller\addClassAttributes(), eZShopOperationCollection\addToBasket(), eZContentCacheManager\appendKeywordNodeIDs(), eZObjectRelationListType\appendObject(), eZContentCacheManager\appendParentNodeIDs(), eZContentCacheManager\appendRelatingNodeIDs(), eZContentObjectTreeNode\assignSectionToSubTree(), eZRole\assignToUser(), eZContentOperationCollection\attributePublishAction(), browse(), eZContentOperationCollection\changeSortOrder(), eZContentOperationCollection\changeTranslationAvailableStatus(), eZContentObjectVersion\checkAccess(), eZContentObjectTreeNode\checkAccess(), checkNodeActions(), checkNodeAssignments(), checkNodeMovements(), eZSSLZone\checkObject(), checkRelationActions(), checkRelationAssignments(), chooseObjectVersionsToCopy(), eZContentObjectTreeNode\classIdentifier(), eZContentObjectTreeNode\classIsContainer(), eZContentObjectTreeNode\classListFromPolicy(), eZContentObjectTreeNode\className(), eZContentCacheManager\clearContentCacheIfNeededBySectionID(), eZContentCacheManager\clearTemplateBlockCache(), eZSiteInstaller\contentObjectByName(), eZSiteInstaller\contentObjectByUrl(), contentPDFGenerate(), eZWebDAVContentBackend\copyContent(), copyObject(), eZWebDAVContentBackend\copyObject(), eZWebDAVContentBackend\copyObjectSameDirectory(), eZContentOperationCollection\copyTranslations(), eZContentClassNameList\create(), eZContentClassAttributeNameList\create(), eZSerializedObjectNameList\create(), eZSiteInstaller\createContentObject(), eZContentOperationCollection\createFeedForNode(), eZObjectRelationListType\createInstance(), eZContentObjectTreeNode\createObject(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZContentObjectTreeNode\dataMap(), eZContentOperationCollection\deleteObject(), eZOrder\discount(), eZFinishUserRegisterType\execute(), eZWaitUntilDateType\execute(), eZApproveType\execute(), eZMultiplexerType\execute(), eZContentObjectEditHandler\executeInputHandlers(), eZSimplePrice\eZSimplePrice(), eZHTTPPersistence\fetch(), eZContentClassAttribute\fetch(), eZContentObject\fetchByRemoteID(), eZContentFunctionCollection\fetchClass(), eZHTTPPersistence\fetchElement(), eZWebDAVContentServer\fetchNodeInfo(), eZWebDAVContentBackend\fetchNodeInfo(), eZContentFunctionCollection\fetchObject(), eZObjectRelationListType\fetchObjectAttributeHTTPInput(), eZURLObjectLink\fetchObjectVersionList(), eZContentFunctionCollection\fetchRelatedObjects(), eZContentFunctionCollection\fetchRelatedObjectsCount(), eZContentFunctionCollection\fetchReverseRelatedObjects(), eZContentFunctionCollection\fetchReverseRelatedObjectsCount(), eZRSSExport\fetchRSS1_0(), eZRSSExport\fetchRSS2_0(), eZContentObject\fillNodeListAttributes(), eZObjectRelationListType\fixupObjectAttributeHTTPInput(), eZObjectRelationListType\fromString(), eZNodeviewfunctions\generateCallback(), eZRSSExport\generateFeed(), eZContentCacheManager\generateObjectViewCache(), generatePDF(), eZWebDAVContentServer\getContentNodeData(), eZWebDAVContentBackend\getContentNodeData(), eZExtension\getHandlerClass(), eZVatType\getPercentage(), eZDefaultVATHandler\getProductCategory(), eZVATManager\getVAT(), eZDefaultVATHandler\getVatPercent(), eZHTTPPersistence\handleChecked(), eZHTTPPersistence\handleCheckedElement(), eZObjectRelationListType\handleCustomObjectHTTPActions(), eZContentObjectAttribute\handleDownload(), eZContentUpload\handleLocalFile(), handleNodeTemplate(), handleRelationTemplate(), eZContentUpload\handleUpload(), eZContentObjectVersion\hasConflicts(), eZObjectRelationType\hasObjectAttributeContent(), eZContentObjectAttribute\hasStoredFileInformation(), eZXHTMLXMLOutput\initHandlerEmbed(), eZXHTMLXMLOutput\initHandlerLink(), eZObjectRelationListType\initializeObjectAttribute(), eZContentClassAttribute\initializeObjectAttributes(), eZContentObjectAttribute\insertHTTPFile(), eZContentObjectAttribute\insertRegularFile(), eZContentObjectAttribute\insertSimpleString(), eZContentObjectPackageHandler\installContentObjects(), eZContentClass\instantiate(), eZContentObjectAttribute\language(), eZContentOperationCollection\loopNodeAssignment(), eZContentObjectTreeNode\makeObjectsArray(), eZObjectRelationType\metaData(), eZObjectRelationListType\metaData(), eZContentObjectTreeNodeOperations\move(), eZContentObjectTreeNode\move(), eZWebDAVContentServer\moveContent(), eZWebDAVContentBackend\moveContent(), eZContentCacheManager\nodeList(), eZContentCacheManager\nodeListForObject(), eZContentObjectVersion\nonTranslatableAttributesToUpdate(), eZObjectRelationType\objectAttributeContent(), eZXMLTextType\onPublish(), eZObjectRelationListType\onPublish(), eZContentObjectAttribute\onPublish(), eZObjectRelationType\postUnserializeContentObjectAttribute(), eZObjectRelationListType\postUnserializeContentObjectAttribute(), eZSOAPServer\processRequest(), eZContentOperationCollection\publishNode(), eZContentUpload\publishObject(), eZUserOperationCollection\publishUserContentObject(), eZCache\purgeImageAlias(), eZContentOperationCollection\readObject(), eZContentOperationCollection\registerSearchObject(), eZContentObjectVersion\relatedContentObjectArray(), eZKeyword\relatedObjects(), eZContentObject\relatedObjects(), eZContentObjectOperations\remove(), eZContentOperationCollection\removeAssignment(), eZSiteInstaller\removeContentObject(), eZContentObjectTreeNode\removeNodeFromTree(), eZContentOperationCollection\removeNodes(), eZContentOperationCollection\removeOldNodes(), eZContentObjectTreeNode\removeSubtrees(), eZContentOperationCollection\removeTemporaryDrafts(), eZContentObjectTreeNode\removeThis(), eZContentOperationCollection\removeTranslation(), eZSiteInstaller\renameContentObject(), eZContentOperationCollection\resetNodeassignmentOpcodes(), eZScriptTrashPurge\run(), eZModule\runHooks(), sectionEditActionCheck(), eZUserOperationCollection\sendActivationEmail(), eZContentObjectTreeNode\setContentObject(), eZContentOperationCollection\setObjectStatusPublished(), eZContentOperationCollection\setVersionStatus(), eZHTTPPersistence\splitSelected(), stateEditActionCheck(), eZKeyword\store(), eZContentObjectAttribute\storedFileInformation(), storeNodeAssignments(), eZObjectRelationListType\storeObjectAttribute(), eZContentOperationCollection\swapNode(), eZSiteInstaller\swapNodes(), eZInformationCollection\templateForObject(), eZContentObjectVersion\tempMainNode(), eZObjectRelationType\title(), eZXMLTextType\transformLinksToRemoteLinks(), eZInformationCollection\typeForObject(), eZContentObjectPackageHandler\uninstall(), eZContentObjectVersion\unserialize(), eZObjectRelationType\unserializeContentObjectAttribute(), eZContentOperationCollection\updateAlwaysAvailable(), eZContentOperationCollection\updateInitialLanguage(), eZContentOperationCollection\updateNontranslatableAttributes(), eZContentOperationCollection\updateObjectState(), eZContentOperationCollection\updateSectionID(), eZContentObjectEditHandler\validateInputHandlers(), eZObjectRelationListType\validateObjectAttributeHTTPInput(), eZSimplePrice\VATPercent(), and eZContentObjectVersion\versionName().

$ObjectID = $Params['ObjectID']
$path = array()

Definition at line 527 of file attribute_edit.php.

Referenced by ezpRestCacheStorageCluster\__construct(), eZFS2FileHandler\_expire(), eZPHPCreator\_restoreCall(), eZSys\addAccessPath(), eZTemplate\appendDebugNodes(), eZPackage\appendFile(), eZPackage\appendInstall(), eZWebDAVContentBackendAuth\authenticateAnonymous(), eZWebDAVContentBackendAuth\authorize(), eZTemplate\autoload(), eZAutoloadGenerator\buildFileList(), eZCharTransform\cacheFilePath(), eZUser\canAssignSectionToObject(), eZPHPCreator\canRestore(), eZContentObjectVersion\checkAccess(), eZContentObject\checkAccess(), eZContentObjectTreeNode\checkAccess(), eZAutoloadGenerator\checkMaxClassLength(), eZSubtreeNotificationRule\checkObjectAccess(), eZContentObjectTreeNode\checkPath(), eZContentObject\classListFromPolicy(), eZContentObjectTreeNode\classListFromPolicy(), eZDir\cleanPath(), eZDBFileHandler\cleanPath(), eZDFSFileHandler\cleanPath(), eZClusterFileHandler\cleanupEmptyDirectories(), eZDir\convertSeparators(), eZContentObjectPackageHandler\createDOMNodeFromFile(), eZImageShellHandler\createFromINI(), eZContentObjectPackageHandler\createObjectListNode(), eZHTTPTool\createRedirectUrl(), eZWebDAVContentServer\currentSiteFromPath(), eZWebDAVContentBackend\currentSiteFromPath(), eZFS2FileHandler\delete(), eZFSFileHandler\delete(), eZDBFileHandler\delete(), eZDFSFileHandler\delete(), eZFS2FileHandler\deleteLocal(), eZFSFileHandler\deleteLocal(), eZDBFileHandler\deleteLocal(), eZDFSFileHandler\deleteLocal(), eZAutoloadGenerator\dumpArray(), eZCodeMapper\executeCommandCode(), eZPHPCreator\exists(), eZFS2FileHandler\exists(), eZFSFileHandler\exists(), eZDBFileHandler\exists(), eZExtension\expandedPathList(), eZPackage\exportToArchive(), extension_path(), eZImageFont\eZImageFont(), eZModule\eZModule(), eZSetupCheckExecutable(), eZSOAPClient\eZSOAPClient(), eZPackage\fetch(), eZURLAliasML\fetchByPath(), eZExpiryHandler\fetchData(), eZAutoloadGenerator\fetchFiles(), eZPackage\fetchPackages(), eZURLAliasML\fetchPathByActionList(), ezpLanguageSwitcherFunctionCollection\fetchUrlAlias(), eZFS2FileHandler\fileDelete(), eZFSFileHandler\fileDelete(), eZDBFileHandler\fileDelete(), eZDFSFileHandler\fileDelete(), eZDBFileHandler\fileDeleteLocal(), eZDFSFileHandler\fileDeleteLocal(), eZFS2FileHandler\fileExists(), eZFSFileHandler\fileExists(), eZDBFileHandler\fileExists(), eZDFSFileHandler\fileExists(), eZPackage\fileItemPath(), eZTemplateDesignResource\fileMatch(), eZDir\filenamePath(), eZPackage\fileStorePath(), eZModule\findModule(), eZINI\findSettingPlacement(), eZStaticCache\generateCache(), eZCodeMapper\generateCommandCode(), eZStaticCache\generateNodeListCache(), eZNodeviewfunctions\generateNodeViewData(), eZWebDAVContentBackend\getAllProperties(), eZWebDAVContentBackend\getCollectionMembers(), eZWebDAVContentBackend\getNodeInfo(), eZPathElement\getPath(), eZURLAliasML\getPath(), eZPathElement\getPathArray(), eZDir\getPathFromFilename(), eZWebDAVContentBackend\getProperty(), eZContentObjectPackageHandler\handleParameters(), eZTemplateDesignResource\handleResource(), eZTemplateFileResource\handleResourceData(), eZHTTPHeader\headerOverrideArray(), eZModule\initialize(), eZSimpleTagsOperator\initializeIncludes(), eZIniSettingType\initializeObjectAttribute(), eZDBInterface\insertFile(), eZDBPackageHandler\install(), eZContentObjectPackageHandler\installTemplates(), eZWebDAVContentBackend\isCollection(), isExtension(), eZExtension\isExtension(), eZModuleFunctionInfo\loadDefinition(), eZModuleOperationInfo\loadDefinition(), eZTSTranslator\loadTranslationFile(), eZMimeType\mimeTypeFor(), eZTreeMenuOperator\modify(), nameFromPath(), eZExtension\nameFromPath(), eZWebDAVContentBackend\nodeExists(), eZIniSettingType\objectAttributeContent(), eZIniSettingType\onPublish(), eZPHPCreator\open(), eZContentObjectTrashNode\originalParentPathIdentificationString(), eZPackage\packageRepositories(), eZDir\path(), eZPackage\path(), eZContentObjectTreeNode\pathWithNames(), eZDir\recursiveList(), eZHTTPTool\redirect(), eZPackage\remove(), eZPackage\removeFiles(), eZWebDAVContentBackend\resetProperties(), eZObjectForwarder\resourceAcquisitionTransformation(), eZPHPCreator\restore(), eZURLAliasML\reverseTranslate(), eZHTTPTool\sendHTTPRequest(), eZSys\setAccessPath(), eZSession\setCookieParams(), eZImageFont\setPath(), eZWebDAVContentBackend\setProperty(), eZWebDAVContentBackend\setResourceContents(), eZImageInterface\setStoredFile(), eZWebDAVContentBackendAuth\splitFirstPathElement(), eZWebDAVContentServer\splitFirstPathElement(), eZWebDAVContentBackend\splitFirstPathElement(), eZWebDAVContentServer\splitLastPathElement(), eZWebDAVContentBackend\splitLastPathElement(), eZContentCache\store(), eZPackage\store(), eZPackage\storePackageFile(), eZURLAliasML\storePath(), eZPackage\temporaryExportPath(), eZPackage\temporaryImportPath(), eZContentObjectTreeNode\urlAlias(), and eZURLOperator\urlTransformation().

$requireFixup = false

Definition at line 215 of file attribute_edit.php.

Definition at line 416 of file attribute_edit.php.

$Result = ''

Definition at line 386 of file attribute_edit.php.

$Result['content'] = $tpl->fetch( $templateName )

Definition at line 518 of file attribute_edit.php.

$Result['view_parameters'] = $viewParameters

Definition at line 519 of file attribute_edit.php.

if ($mainAssignment) if (!$hasPath) if (!$hasPath) $Result['path'] = $path

Definition at line 597 of file attribute_edit.php.

$storeActions
Initial value:
 array( 'Preview',
                       'Translate',
                       'TranslateLanguage',
                       'VersionEdit',
                       'Apply',
                       'Publish',
                       'Store',
                       'StoreExit',


                       'EditLanguage',
                       'FromLanguage',
                       'BrowseForObjects',
                       'UploadFileRelation',
                       'NewObject',
                       'BrowseForNodes',
                       'BrowseForPrimaryNodes',
                       'RemoveAssignments',
                       'DeleteRelation',
                       'DeleteNode',
                       'SectionEdit',
                       'StateEdit',
                       'MoveNode' )

Definition at line 174 of file attribute_edit.php.

$storingAllowed
Initial value:
 ( in_array( $Module->currentAction(), $storeActions ) ||
                    eZContentObjectEditHandler::isStoreAction() )

Definition at line 197 of file attribute_edit.php.

$titlePath = array()

Definition at line 528 of file attribute_edit.php.

Referenced by eZNodeviewfunctions\generateNodeViewData().

$validatedAttributes = array()

Definition at line 216 of file attribute_edit.php.

Referenced by eZContentObject\validateInput().

$validation
Initial value:
 array( 'processed' => false,
                     'attributes' => array(),
                     'placement' => array( ) )

Definition at line 80 of file attribute_edit.php.

$version = $object->version( $EditVersion )

Definition at line 48 of file attribute_edit.php.

if($object===null) return $Module->handleError(eZError

Definition at line 44 of file attribute_edit.php.