eZPublishCommunityProject(LegacyStack)  2013.6
convertezenumtoezselection.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $argumentConfig = '[ATTRIBUTE_ID]'
 
 $arguments = false
 
 $attributeID = $options['arguments'][0]
 
 $attributes = eZContentObjectAttribute::fetchSameClassAttributeIDList( $classAttribute->attribute( 'id' ) )
 
if(!is_numeric($attributeID)) $classAttribute = eZContentClassAttribute::fetch( $attributeID )
 
 $cli = eZCLI::instance()
 
 $config = '[preview]'
 
 $count = count( $attributes )
 
 $db = eZDB::instance()
 
foreach($enumValues as $enumValue) $doc = new DOMDocument( '1.0', 'utf-8' )
 
if(!is_object($classAttribute)) $enum = $classAttribute->attribute( 'content' )
 
 $enumValues = $enum->attribute( 'enum_list' )
 
 $i = 0
 
 $oldOptions = array()
 
 $oldToNewIDMap = array()
 
 $optionHelp = array( 'preview' => 'show a preview, do not really make changes' )
 
 $options = $script->getOptions( $config, $argumentConfig, $optionHelp, $arguments, $useStandardOptions )
 
if(count($options['arguments'])!=1) $preview = $options['preview'] !== null
 
 $root = $doc->createElement( "ezselection" )
 
 $script = eZScript::instance( $scriptSettings )
 
 $scriptSettings = array()
 
 $scriptSettings ['description'] = 'Convert attributes of the type ezenum to ezselection'
 
 $scriptSettings ['use-session'] = true
 
 $scriptSettings ['use-modules'] = true
 
 $scriptSettings ['use-extensions'] = true
 
 $useStandardOptions = true
 
foreach($oldOptions as
$enumValueID=> $name) 
$xml = $doc->saveXML()
 
for($i=0;$i< $count;$i++) if(!$preview) else
 

Variable Documentation

$argumentConfig = '[ATTRIBUTE_ID]'
$arguments = false
$attributes = eZContentObjectAttribute::fetchSameClassAttributeIDList( $classAttribute->attribute( 'id' ) )

Referenced by eZSiteInstaller\addClassAttributes(), eZShopOperationCollection\addToBasket(), eZContentClass\adjustAttributePlacements(), eZContentCacheManager\appendKeywordNodeIDs(), eZInformationCollection\attributeHideList(), eZTemplateSectionIterator\attributes(), eZXMLInputParser\callInputHandler(), eZXMLOutputHandler\callTagInitHandler(), eZRSSExportItem\classAttributes(), eZContentClassPackageHandler\classDOMTree(), eZSimplifiedXMLInputParser\convertCustomAttributes(), ezpRestCacheStorageCluster\countDataItems(), eZContentFunctions\createAndPublishObject(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZContentClass\dataMap(), ezpRestCacheStorageApcCluster\delete(), ezpRestCacheStorageCluster\delete(), eZTemplateOptimizer\fetchClassDeclaration(), eZNamePatternResolver\fetchContentAttributes(), eZObjectRelationListType\fetchObjectAttributeHTTPInput(), eZObjectRelationListType\fixupObjectAttributeHTTPInput(), generateNodeViewTemplate(), generateObjectViewTemplate(), ezpRestCacheStorageCluster\getRemainingLifetime(), eZShopOperationCollection\handleUserCountry(), eZXHTMLXMLOutput\initHandlerCustom(), eZXHTMLXMLOutput\initHandlerEmbed(), eZXHTMLXMLOutput\initHandlerLink(), eZPDFXMLOutput\initHandlerTable(), eZXHTMLXMLOutput\initHandlerTd(), eZContentClass\instantiate(), eZObjectRelationType\metaData(), eZObjectRelationListType\metaData(), eZContentObjectAttribute\metaDataArray(), eZContentObjectVersion\nonTranslatableAttributesToUpdate(), eZSimplifiedXMLEditOutput\outputEmbed(), eZSimplifiedXMLEditOutput\outputHeader(), eZSimplifiedXMLEditOutput\outputLink(), eZSimplifiedXMLEditOutput\outputObject(), eZSimplifiedXMLEditOutput\outputParagraph(), eZSimplifiedXMLEditOutput\outputTag(), eZXMLOutputHandler\outputTag(), eZXMLInputParser\parseAttributes(), eZImageAliasHandler\parseInformationNode(), eZXMLInputParser\parseTag(), eZXMLInputParser\processAttributesBySchema(), eZShopFunctions\productTypeByObject(), eZContentClass\removeTranslation(), eZContentObject\removeTranslation(), eZContentObject\rename(), ezpRestCacheStorageApcCluster\restore(), ezpRestCacheStorageCluster\restore(), ezpKernelTreeMenu\run(), eZContentObjectVersion\serialize(), eZObjectRelationListType\serializeContentObjectAttribute(), eZContentClass\setAlwaysAvailableLanguageID(), eZXMLInputParser\setAttributes(), eZContentObject\setContentObjectAttributes(), eZContentClass\setVersion(), ezpRestCacheStorageCluster\store(), ezpRestCacheStorageApcCluster\store(), eZContentClass\store(), eZContentClass\storeDefined(), eZObjectRelationListType\storeObjectAttribute(), eZContentClass\storeVersioned(), eZSimplifiedXMLInputParser\tagNameHeader(), eZContentOperationCollection\updateNontranslatableAttributes(), eZSiteInstaller\updateObjectAttributeFromString(), eZBasket\updatePrices(), eZObjectRelationListType\validateObjectAttributeHTTPInput(), eZProductCollectionItem\verify(), and eZXMLInputParser\wordMatchSupport().

if (!is_numeric($attributeID)) $classAttribute = eZContentClassAttribute::fetch( $attributeID )

Referenced by eZISBN10To13Converter\addAllClasses(), eZISBN10To13Converter\addAttribute(), eZSearchEngine\addObject(), eZBooleanType\batchInitializeObjectAttributeData(), eZRangeOptionType\batchInitializeObjectAttributeData(), eZDateType\batchInitializeObjectAttributeData(), eZStringType\batchInitializeObjectAttributeData(), eZFloatType\batchInitializeObjectAttributeData(), eZTimeType\batchInitializeObjectAttributeData(), eZOptionType\batchInitializeObjectAttributeData(), eZIntegerType\batchInitializeObjectAttributeData(), eZMatrixType\batchInitializeObjectAttributeData(), eZDateTimeType\batchInitializeObjectAttributeData(), eZMultiOption2Type\batchInitializeObjectAttributeData(), eZPriceType\classAttributeContent(), eZMultiPriceType\classAttributeContent(), eZSelectionType\classAttributeContent(), eZDateTimeType\classAttributeContent(), eZCountryType\classAttributeContent(), eZISBNType\classAttributeContent(), eZObjectRelationListType\classAttributeContent(), eZInformationCollectionAttribute\classContent(), eZContentObjectAttribute\classDisplayInfo(), eZDataType\classDisplayInformation(), eZPriceType\contentActionList(), eZMultiPriceType\contentActionList(), eZDataType\contentActionList(), eZContentObjectAttribute\contentClassAttribute(), eZContentObjectAttribute\contentClassAttributeCanTranslate(), eZContentObjectAttribute\contentClassAttributeIsInformationCollector(), eZContentObjectAttribute\contentClassAttributeIsRequired(), eZContentObjectAttribute\contentClassAttributeName(), eZContentObject\copyVersion(), eZContentObject\createGroupedDataMap(), eZObjectRelationListType\createNewObject(), eZObjectRelationType\customClassAttributeHTTPAction(), eZObjectRelationListType\customClassAttributeHTTPAction(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZISBN10To13Converter\execute(), eZMultiPrice\eZMultiPrice(), eZPrice\eZPrice(), eZSelectionType\fetchClassAttributeHTTPInput(), eZCountryType\fetchClassAttributeHTTPInput(), eZPriceType\fetchClassAttributeHTTPInput(), eZMultiPriceType\fetchClassAttributeHTTPInput(), eZBooleanType\fetchClassAttributeHTTPInput(), eZPackageType\fetchClassAttributeHTTPInput(), eZIdentifierType\fetchClassAttributeHTTPInput(), eZFloatType\fetchClassAttributeHTTPInput(), eZTextType\fetchClassAttributeHTTPInput(), eZIniSettingType\fetchClassAttributeHTTPInput(), eZObjectRelationType\fetchClassAttributeHTTPInput(), eZRangeOptionType\fetchClassAttributeHTTPInput(), eZDateType\fetchClassAttributeHTTPInput(), eZStringType\fetchClassAttributeHTTPInput(), eZMatrixType\fetchClassAttributeHTTPInput(), eZXMLTextType\fetchClassAttributeHTTPInput(), eZISBNType\fetchClassAttributeHTTPInput(), eZTimeType\fetchClassAttributeHTTPInput(), eZOptionType\fetchClassAttributeHTTPInput(), eZIntegerType\fetchClassAttributeHTTPInput(), eZMultiOptionType\fetchClassAttributeHTTPInput(), eZDateTimeType\fetchClassAttributeHTTPInput(), eZImageType\fetchClassAttributeHTTPInput(), eZBinaryFileType\fetchClassAttributeHTTPInput(), eZMediaType\fetchClassAttributeHTTPInput(), eZObjectRelationListType\fetchClassAttributeHTTPInput(), eZTimeType\fetchCollectionAttributeHTTPInput(), eZPackageType\fetchObjectAttributeHTTPInput(), eZObjectRelationType\fetchObjectAttributeHTTPInput(), eZTimeType\fetchObjectAttributeHTTPInput(), eZISBNType\fetchObjectAttributeHTTPInput(), eZMediaType\fetchObjectAttributeHTTPInput(), eZStringType\fixupClassAttributeHTTPInput(), eZFloatType\fixupClassAttributeHTTPInput(), eZIntegerType\fixupClassAttributeHTTPInput(), getClassList(), eZContentUpload\handleUpload(), importRSSItem(), eZContentObjectAttribute\initialize(), eZTextType\initializeClassAttribute(), eZEnumType\initializeClassAttribute(), eZMultiPriceType\initializeClassAttribute(), eZIdentifierType\initializeClassAttribute(), eZPriceType\initializeClassAttribute(), eZXMLTextType\initializeClassAttribute(), eZIniSettingType\initializeClassAttribute(), eZDateType\initializeClassAttribute(), eZTimeType\initializeClassAttribute(), eZDateTimeType\initializeClassAttribute(), eZISBNType\initializeClassAttribute(), eZObjectRelationListType\initializeClassAttribute(), eZStepCreateSites\initializePackage(), eZMediaType\insertHTTPFile(), eZMediaType\insertRegularFile(), eZContentClassPackageHandler\install(), eZDataType\isClassAttributeRemovable(), eZUser\isUserObject(), eZContentObjectAttribute\metaDataArray(), eZPriceType\objectAttributeContent(), eZMultiPriceType\objectAttributeContent(), eZISBNType\objectAttributeContent(), eZObjectRelationType\objectDisplayInformation(), eZEnumType\objectDisplayInformation(), eZContentObjectAttribute\postInitialize(), eZCountryType\preStoreClassAttribute(), eZObjectRelationType\preStoreClassAttribute(), eZISBNType\preStoreClassAttribute(), eZMatrixType\preStoreClassAttribute(), eZObjectRelationListType\preStoreClassAttribute(), eZDataType\preStoreDefinedClassAttribute(), eZDataType\preStoreModifiedClassAttribute(), eZDataType\preStoreVersionedClassAttribute(), eZShopFunctions\priceAttribute(), eZShopFunctions\priceAttributeIdentifier(), eZShopFunctions\productTypeByClass(), eZContentClass\removeAttributes(), eZSiteInstaller\removeClassAttribute(), eZPackageType\serializeContentClassAttribute(), eZBooleanType\serializeContentClassAttribute(), eZRangeOptionType\serializeContentClassAttribute(), eZTextType\serializeContentClassAttribute(), eZPriceType\serializeContentClassAttribute(), eZDateType\serializeContentClassAttribute(), eZStringType\serializeContentClassAttribute(), eZTimeType\serializeContentClassAttribute(), eZSimplePrice\serializeContentClassAttribute(), eZFloatType\serializeContentClassAttribute(), eZMultiPriceType\serializeContentClassAttribute(), eZIdentifierType\serializeContentClassAttribute(), eZOptionType\serializeContentClassAttribute(), eZSelectionType\serializeContentClassAttribute(), eZIniSettingType\serializeContentClassAttribute(), eZMultiOptionType\serializeContentClassAttribute(), eZMatrixType\serializeContentClassAttribute(), eZIntegerType\serializeContentClassAttribute(), eZEnumType\serializeContentClassAttribute(), eZDateTimeType\serializeContentClassAttribute(), eZObjectRelationType\serializeContentClassAttribute(), eZXMLTextType\serializeContentClassAttribute(), eZImageType\serializeContentClassAttribute(), eZBinaryFileType\serializeContentClassAttribute(), eZMultiOption2Type\serializeContentClassAttribute(), eZMediaType\serializeContentClassAttribute(), eZObjectRelationListType\serializeContentClassAttribute(), eZContentObjectAttribute\store(), eZCountryType\storeClassAttributeContent(), eZISBNType\storeClassAttributeContent(), eZObjectRelationListType\storeClassAttributeContent(), eZObjectRelationListType\storeClassDOMDocument(), eZContentObjectAttribute\storeData(), storeRSSImport(), eZDataType\storeVersionedClassAttribute(), eZPackageType\unserializeContentClassAttribute(), eZBooleanType\unserializeContentClassAttribute(), eZRangeOptionType\unserializeContentClassAttribute(), eZTextType\unserializeContentClassAttribute(), eZPriceType\unserializeContentClassAttribute(), eZDateType\unserializeContentClassAttribute(), eZStringType\unserializeContentClassAttribute(), eZTimeType\unserializeContentClassAttribute(), eZSimplePrice\unserializeContentClassAttribute(), eZFloatType\unserializeContentClassAttribute(), eZOptionType\unserializeContentClassAttribute(), eZIdentifierType\unserializeContentClassAttribute(), eZMultiPriceType\unserializeContentClassAttribute(), eZSelectionType\unserializeContentClassAttribute(), eZMultiOptionType\unserializeContentClassAttribute(), eZIniSettingType\unserializeContentClassAttribute(), eZIntegerType\unserializeContentClassAttribute(), eZMatrixType\unserializeContentClassAttribute(), eZEnumType\unserializeContentClassAttribute(), eZDateTimeType\unserializeContentClassAttribute(), eZObjectRelationType\unserializeContentClassAttribute(), eZXMLTextType\unserializeContentClassAttribute(), eZImageType\unserializeContentClassAttribute(), eZBinaryFileType\unserializeContentClassAttribute(), eZMultiOption2Type\unserializeContentClassAttribute(), eZMediaType\unserializeContentClassAttribute(), eZObjectRelationListType\unserializeContentClassAttribute(), eZContentObjectAttribute\updateSortKey(), eZIniSettingType\validateClassAttributeHTTPInput(), eZIdentifierType\validateClassAttributeHTTPInput(), eZObjectRelationType\validateClassAttributeHTTPInput(), eZStringType\validateClassAttributeHTTPInput(), eZFloatType\validateClassAttributeHTTPInput(), eZIntegerType\validateClassAttributeHTTPInput(), eZOptionType\validateCollectionAttributeHTTPInput(), eZTextType\validateCollectionAttributeHTTPInput(), eZEmailType\validateCollectionAttributeHTTPInput(), eZTimeType\validateCollectionAttributeHTTPInput(), eZStringType\validateCollectionAttributeHTTPInput(), eZDateType\validateCollectionAttributeHTTPInput(), eZIntegerType\validateCollectionAttributeHTTPInput(), eZIntegerType\validateIntegerHTTPInput(), eZContentObjectAttribute\validateIsRequired(), eZAuthorType\validateObjectAttributeHTTPInput(), eZRangeOptionType\validateObjectAttributeHTTPInput(), eZISBNType\validateObjectAttributeHTTPInput(), eZPriceType\validateObjectAttributeHTTPInput(), eZTimeType\validateObjectAttributeHTTPInput(), eZObjectRelationType\validateObjectAttributeHTTPInput(), eZMultiOptionType\validateObjectAttributeHTTPInput(), eZDateType\validateObjectAttributeHTTPInput(), eZUserType\validateObjectAttributeHTTPInput(), eZOptionType\validateObjectAttributeHTTPInput(), eZBooleanType\validateObjectAttributeHTTPInput(), eZEmailType\validateObjectAttributeHTTPInput(), eZKeywordType\validateObjectAttributeHTTPInput(), eZTextType\validateObjectAttributeHTTPInput(), eZDateTimeType\validateObjectAttributeHTTPInput(), eZStringType\validateObjectAttributeHTTPInput(), eZFloatType\validateObjectAttributeHTTPInput(), eZIntegerType\validateObjectAttributeHTTPInput(), eZSelectionType\validateObjectAttributeHTTPInput(), eZMediaType\validateObjectAttributeHTTPInput(), eZEnumType\validateObjectAttributeHTTPInput(), eZImageType\validateObjectAttributeHTTPInput(), eZBinaryFileType\validateObjectAttributeHTTPInput(), eZStringType\validateStringHTTPInput(), and eZContentObjectAttribute\viewTemplateName().

$cli = eZCLI::instance()
$config = '[preview]'
$count = count( $attributes )

Referenced by eZContentObject\addContentObjectRelation(), eZShopOperationCollection\addToBasket(), eZCodeMapper\appendDirectMapping(), eZCodeMapper\appendReplaceMapping(), eZCodeMapper\appendTransposeMapping(), eZTemplateArrayOperator\arrayTrans(), eZStepInstaller\checkDatabaseRequirements(), eZTipafriendRequest\checkReceiver(), eZXHTMLXMLOutput\childTagCount(), eZTemplateLogicOperator\chooseTransformation(), eZContentLanguage\classCount(), eZOrder\customerList(), eZSOAPResponse\decodeDataTypes(), eZMediaType\deleteStoredObjectAttribute(), eZBinaryFileType\deleteStoredObjectAttribute(), eZModuleOperationInfo\executeBody(), eZPDFTable\eZCalculateColumnWidth(), eZSetupPrvtVersionCompare(), eZPDFTable\ezTable(), eZXMLInputHandler\eZXMLInputHandler(), eZUserFunctionCollection\fetchAnonymousCount(), eZUser\fetchAnonymousCount(), eZInfocollectorFunctionCollection\fetchCollectedInfoCount(), eZInfocollectorFunctionCollection\fetchCollectedInfoCountList(), eZCollaborationFunctionCollection\fetchItemCount(), eZUserFunctionCollection\fetchLoggedInCount(), eZUser\fetchLoggedInCount(), eZContentObject\fetchObjectCountByUserID(), eZShopFunctionCollection\fetchOrderStatusHistoryCount(), eZShopFunctionCollection\fetchWishListCount(), eZPackage\fileCount(), eZContentObject\fillNodeListAttributes(), eZOptionType\fromString(), eZMultiOptionType\fromString(), eZMatrixType\hasObjectAttributeContent(), eZViewCounter\increase(), eZTemplateTextOperator\indentTransformation(), eZContentClass\initializeCopy(), eZDBTool\isEmpty(), ezpContentPublishingProcess\isProcessing(), eZBasket\items(), eZWishList\items(), eZSelectionType\metaData(), eZTemplateArrayOperator\modify(), Cpdf\o_page(), eZContentLanguage\objectCount(), eZContentLanguage\objectInitialCount(), eZOrder\orderStatistics(), eZXMLInputParser\process(), eZTemplateSectionFunction\process(), eZTemplateCompiler\processElementTransformationChild(), eZOrder\productItems(), eZOrder\productList(), eZFSFileHandler\purge(), eZDFSFileHandler\purge(), eZCache\purgeImageAlias(), ezpContentRepository\queryCount(), eZRSSImport\recursiveFieldMap(), eZPostgreSQLDB\relationCount(), eZMySQLiDB\relationCount(), eZPostgreSQLDB\relationCounts(), eZPostgreSQLDB\relationList(), eZCacheHelper\reportProgress(), eZURLAliasML\reverseTranslate(), ezpNativeUserAuthFilter\run(), eZScript\showHelp(), eZNotificationFunctionCollection\subscribedNodesCount(), eZEnumType\title(), eZISBN10To13Converter\updateContentFromClassAttribute(), eZMatrixType\validateObjectAttributeHTTPInput(), eZMultiOptionType\validateObjectAttributeHTTPInput(), eZOptionType\validateObjectAttributeHTTPInput(), eZContentObjectTreeNode\viewCount(), and eZPHPCreator\writeChunks().

$db = eZDB::instance()
foreach ($enumValues as $enumValue) $doc = new DOMDocument( '1.0', 'utf-8' )

Referenced by eZExtensionPackageHandler\addExtension(), eZXMLTextType\batchInitializeObjectAttributeData(), eZDateTimeType\classAttributeContent(), eZObjectRelationListType\classAttributeContent(), convertCustomAlign(), convertEmbedAlign(), eZObjectRelationListType\createClassContentStructure(), eZObjectRelationListType\createClassDOMDocument(), eZMultiOption2\createDomElementForGroup(), eZObjectRelationListType\createObjectContentStructure(), eZObjectRelationListType\createObjectDOMDocument(), eZMultiPrice\DOMDocument(), eZSOAPCodec\encodeValue(), eZSelectionType\fetchClassAttributeHTTPInput(), eZDateTimeType\fetchClassAttributeHTTPInput(), eZImageAliasHandler\generateXMLData(), eZImageAliasHandler\initialize(), eZXMLTextType\initializeObjectAttribute(), eZTSTranslator\loadTranslationFile(), eZObjectRelationListType\objectAttributeContent(), eZSOAPRequest\payload(), eZSOAPResponse\payload(), eZXMLTextType\postUnserializeContentObjectAttribute(), eZObjectRelationListType\postUnserializeContentObjectAttribute(), eZImageAliasHandler\purgeAllAliases(), eZImageAliasHandler\recreateDOMTree(), eZImageAliasHandler\removeAliases(), eZObjectRelationListType\removeRelatedObjectItem(), eZXMLTextType\serializeContentObjectAttribute(), eZObjectRelationListType\storeClassAttributeContent(), eZObjectRelationListType\storeClassDOMDocument(), eZObjectRelationListType\storeObjectAttributeContent(), eZObjectRelationListType\storeObjectDOMDocument(), eZSelectionType\unserializeContentClassAttribute(), eZMatrixDefinition\xmlString(), eZRangeOption\xmlString(), eZOption\xmlString(), eZAuthor\xmlString(), eZMultiOption\xmlString(), eZMultiOption2\xmlString(), and eZMatrix\xmlString().

$enumValues = $enum->attribute( 'enum_list' )
$i = 0

Referenced by eZDFSFileHandlerMySQLiBackend\__mkdir_p(), eZDFSFileHandlerMySQLiBackend\_purgeByLike(), Cpdf\addPngFromFile(), eZMatrix\addRow(), Cpdf\addText(), Cpdf\addTextWrap(), eZContentClass\adjustAttributePlacements(), eZWorkflow\adjustEventPlacements(), eZCharsetInfo\aliasTable(), Cezpdf\alink(), eZCodeTemplate\apply(), Cpdf\ARC4(), Cpdf\ARC4_init(), eZPostgreSQLDB\arrayQuery(), eZMySQLiDB\arrayQuery(), eZTemplateArrayOperator\arrayTrans(), eZMultiplexerType\attribute(), eZDBInterface\begin(), eZContentBrowse\browse(), eZSearchEngine\buildPhraseSqlQueryPart(), eZSearch\buildSearchArray(), eZSearchEngine\buildSearchPartArrayForPhrases(), eZSearchEngine\buildSearchPartArrayForWords(), eZSearchEngine\buildTempTablesForFullTextSearch(), eZSearchEngine\buildWordIDArray(), eZMultiOption\changeMultiOptionId(), eZMultiOption2\changeMultiOptionId(), eZMySQLiDB\checkCharsetPriv(), checkEnteredData(), eZTemplateTypeOperator\checkType(), eZTemplateLogicOperator\chooseTransformation(), eZDir\cleanupEmptyDirectories(), eZDBInterface\commit(), eZTemplateArrayOperator\compareTrans(), eZPersistentObject\conditionTextByRow(), eZTemplateControlOperator\condTransform(), eZSimplifiedXMLInputParser\convertCustomAttributes(), eZISBNType\convertISBN10toISBN13(), eZCodePage\convertString(), eZCodePageMapper\convertString(), eZCodePage\convertStringToUnicode(), copySubtree(), eZContentObjectTreeNode\createClassFilteringSQLString(), eZUser\createPassword(), eZSearchEngine\createTemporaryTable(), eZTemplateStringOperator\customMapTransformation(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZContentLanguage\decodeLanguageMask(), eZRangeOption\decodeXML(), eZMatrix\decodeXML(), eZRSSImport\destinationPath(), eZDiscount\discountPercent(), eZDiffTextEngine\dumpMatrix(), Cpdf\ellipse(), eZURI\encodeIRI(), eZSOAPCodec\encodeValue(), updateNodeAssignment\execute(), eZTemplate\expandAttributes(), eZMatrix\eZMatrix(), Cezpdf\ezPRVTaddPageNumbers(), Cezpdf\ezPRVTpageNumberSearch(), eZSetupLanguageList(), eZSetupPrvtVersionCompare(), Cezpdf\ezStartPageNumbers(), Cezpdf\ezStopPageNumbers(), eZPDFTable\ezTable(), Cezpdf\ezWhatPageNumber(), eZHTTPPersistence\fetch(), eZURLAliasML\fetchByPath(), eZMatrixType\fetchClassAttributeHTTPInput(), eZMultiOption2Type\fetchHTTPInputForGroup(), eZEnumType\fetchObjectAttributeHTTPInput(), eZOptionType\fetchObjectAttributeHTTPInput(), eZMultiOptionType\fetchObjectAttributeHTTPInput(), eZAuthorType\fetchObjectAttributeHTTPInput(), eZPersistentObject\fetchObjectList(), eZURLAliasML\fetchPathByActionList(), eZUser\fetchUserClassList(), eZFilePackageHandler\fileExists(), eZDir\filenamePath(), eZContentObject\fillNodeListAttributes(), eZNamePatternResolver\filterNamePattern(), eZStepInstaller\findAppropriateCharset(), eZStepInstaller\findAppropriateCharsetsList(), eZPolicyLimitation\findByType(), findErrors(), eZTranslatorManager\findKey(), eZTranslatorManager\findMessage(), eZObjectRelationListType\fixupObjectAttributeHTTPInput(), eZImageObject\flatten(), eZOptionType\fromString(), eZMultiOptionType\fromString(), eZCodePageCodec\fromUnicode(), eZMysqlSchema\generateAddIndexSql(), eZPgsqlSchema\generateAddIndexSql(), eZURLAliasML\generateCond(), eZDBSchemaInterface\generateDataFile(), eZDBInterface\generateFailedTransactionStackEntry(), eZURLAliasML\generateGlobCond(), eZDBSchemaInterface\generateSchemaFile(), eZPgsqlSchema\generateSchemaFile(), eZURLAliasML\generateSelect(), eZCodeMapper\generateSimpleMappingTable(), eZPackageCreationHandler\generateStepMap(), eZPackageInstallationHandler\generateStepMap(), eZContentObjectAttribute\generateValidationErrorText(), eZWebDAVContentBackend\getNodes(), eZCLI\getOptions(), eZDir\getPathFromFilename(), eZSearchEngine\getPhrases(), ezpRestMvcController\getResponseGroups(), Cpdf\getTextWidth(), eZLDAPUser\getUserGroupsTree(), eZTSTranslator\handleContextNode(), eZTSTranslator\handleMessageNode(), handleNodeTemplate(), eZDBPackageHandler\handleParameters(), eZFilePackageHandler\handleParameters(), eZTOCOperator\handleSection(), eZRSSExport\imagePath(), eZSearchEngine\indexWords(), eZXHTMLXMLOutput\initHandlerHeader(), eZEnumType\initializeObjectAttribute(), eZTemplateCompiler\inspectVariableData(), eZTranslatorManager\keyTranslate(), eZLintSchema\lintCheckSchema(), eZCodePageMapper\load(), eZCodePage\load(), eZDBSchemaInterface\loadSchemaTransformationRules(), eZTSTranslator\loadTranslationFile(), eZLDAPUser\loginUser(), eZContentOperationCollection\loopNodeAssignment(), eZTemplateLocaleOperator\makeDateTimeTransformation(), eZURLAliasQuery\makeList(), eZURI\matchBase(), Cpdf\md5_16(), eZTemplateArrayOperator\mergeTrans(), eZDateOperatorCollection\modify(), eZTreeMenuOperator\modify(), eZSimpleTagsOperator\modify(), eZTemplateControlOperator\modify(), eZTemplateTextOperator\modify(), eZTemplateArithmeticOperator\modify(), eZTemplateLogicOperator\modify(), eZTemplateArrayOperator\modify(), Cpdf\newPage(), Cpdf\o_pages(), Cpdf\openFont(), eZContentObjectTreeNode\parentDepthLimitationList(), eZPackage\parseDependencyTree(), eZCLI\parseOptionString(), eZXMLInputParser\parseTag(), eZCodeMapper\parseTransformationFile(), Cpdf\polygon(), eZObjectRelationListType\postUnserializeContentObjectAttribute(), eZSearchEngine\prepareWordIDArrays(), eZDebug\printReportInternal(), eZTemplateOperatorElement\process(), eZTemplateForFunction\process(), eZTemplateForeachFunction\process(), eZTemplateSectionFunction\process(), eZXMLInputParser\processAttributesBySchema(), eZTemplateSectionFunction\processChildren(), eZTemplateCompiler\processElementTransformationChild(), eZTemplate\processOperator(), eZTemplateCompiler\processRemoveNodePlacement(), Cpdf\PRVT_getBytes(), Cpdf\PRVTcheckTextDirective(), Cpdf\PRVTcheckTextDirective1(), eZNodeAssignment\purgeByID(), eZMySQLiDB\query(), eZPostgreSQLDB\relationCounts(), eZXMLInputParser\removeAllAttributes(), eZNodeAssignment\removeByID(), eZMultiOption\removeOptions(), eZMultiOption2\removeOptions(), eZContentObjectStateGroup\removeStatesByID(), eZContentObjectStateGroup\reorderStates(), eZLog\rotateLog(), eZDebug\rotateLog(), eZModule\run(), eZINI\save(), eZSearchEngine\search(), eZSearchEngine\searchAttributePatternText(), Cpdf\selectFont(), eZObjectRelationListType\serializeContentObjectAttribute(), eZMail\setExtraHeader(), eZEnum\setValue(), eZScript\showHelp(), eZShuffleTranslator\shuffleText(), eZRSSExportItem\sourcePath(), eZPersistentObject\storeObject(), eZURLAliasML\storePath(), Cezpdf\strike(), eZCodePage\strlen(), eZUTF8Codec\strlen(), eZSimplifiedXMLInputParser\structHandlerHeader(), eZContentObjectTreeNode\subTreeCountByNodeID(), eZPersistentObject\swapRow(), eZFileHandler\symlink(), eZTemplateForeachFunction\templateNodeTransformation(), eZPHPCreator\thisVariableText(), eZCodePageCodec\toUnicode(), eZTranslatorManager\translate(), eZURLAliasML\translate(), Cezpdf\uline(), eZTemplateElementParser\unescapeCharacters(), eZContentObjectTreeNode\unhideSubTree(), eZContentObjectPackageHandler\uninstall(), eZDir\unlinkWildcard(), eZShopOperationCollection\updateBasket(), eZISBN10To13Converter\updateContentFromClassAttribute(), eZPersistentObject\updateObjectList(), eZContentOperationCollection\updatePriority(), eZISBN13\validateISBN13Checksum(), eZISBNType\validateISBNChecksum(), eZAuthorType\validateObjectAttributeHTTPInput(), eZMatrixType\validateObjectAttributeHTTPInput(), eZMultiOptionType\validateObjectAttributeHTTPInput(), eZOptionType\validateObjectAttributeHTTPInput(), eZPHPCreator\variableText(), eZTemplateStringOperator\washTransformation(), eZImageHandler\wildcardToRegexp(), eZPHPCreator\writeChunks(), eZPHPCreator\writeMethodCall(), and eZMatrix\xmlString().

$oldOptions = array()
$oldToNewIDMap = array()
$optionHelp = array( 'preview' => 'show a preview, do not really make changes' )
$options = $script->getOptions( $config, $argumentConfig, $optionHelp, $arguments, $useStandardOptions )
if (count($options['arguments'])!=1) $preview = $options['preview'] !== null
$root = $doc->createElement( "ezselection" )

Referenced by eZTemplateMultiPassParser\appendChild(), eZTemplate\appendDebugNodes(), eZAutoloadGenerator\buildPHPUnitConfigurationFile(), eZTemplateTreeCache\cachedTree(), eZDateTimeType\classAttributeContent(), eZTemplate\compileTemplateFile(), eZObjectRelationListType\createClassContentStructure(), eZObjectRelationListType\createClassDOMDocument(), eZMultiOption2\createDomElementForGroup(), eZObjectRelationListType\createObjectContentStructure(), eZObjectRelationListType\createObjectDOMDocument(), eZMultiOption\decodeXML(), eZMultiOption2\decodeXML(), eZMultiPrice\DOMDocument(), eZPackage\domStructure(), eZExtensionPackageHandler\explainInstallItem(), eZTemplate\fetch(), eZSelectionType\fetchClassAttributeHTTPInput(), eZDateTimeType\fetchClassAttributeHTTPInput(), eZTemplateCompiler\generatePHPCodeChildren(), eZRSSImport\getRSSVersion(), eZMultiOption2\initFromXMLCompat(), eZMultiOption2\initGroupFromDom(), eZTSTranslator\loadTranslationFile(), eZPackage\parseDOMTree(), eZSOAPRequest\payload(), eZSOAPResponse\payload(), eZTemplate\process(), eZObjectRelationListType\removeRelatedObjectItem(), eZStepSiteTypes\retrieveRemotePackagesList(), rssImport1(), rssImport2(), eZTemplateFileResource\setCachedTemplateTree(), eZTemplateTreeCache\setCachedTree(), eZXMLTextType\title(), eZSelectionType\unserializeContentClassAttribute(), eZSimplifiedXMLInput\validateInput(), eZTemplate\validateTemplateFile(), eZMatrixDefinition\xmlString(), eZRangeOption\xmlString(), eZOption\xmlString(), eZAuthor\xmlString(), eZMultiOption\xmlString(), eZMultiOption2\xmlString(), and eZMatrix\xmlString().

$script = eZScript::instance( $scriptSettings )
$scriptSettings = array()
$scriptSettings['description'] = 'Convert attributes of the type ezenum to ezselection'
$scriptSettings['use-session'] = true
$scriptSettings['use-modules'] = true
$scriptSettings['use-extensions'] = true
$useStandardOptions = true
for ($i=0;$i< $count;$i++) if (!$preview) else
Initial value:
{
$db->rollback()
$db
Definition: adddefaultstates.php:36