eZ Publish  [4.0]
changelog2xmltext.php File Reference

Go to the source code of this file.

Functions

 addListItem (&$listLines, $changeText)
 createList (&$newLines, &$listLines)
if($lastSection!==null) dumpToText ($nodes)
 isChangeEntry ($line, &$changeText)
 isEmptyLine ($line)

Variables

if(count($options['arguments'])< 1) $changelogFilename = $options['arguments'][0]
 $cli = eZCLI::instance()
 $currentListEntry = false
 $fd = fopen( $changelogFilename, 'r' ) or $script->shutdown( 1, "Couldn't not open file $changelogFilename" )
 $lastSection = null
 $lineNumber = 0
 $lines = explode( "\n", $text )
 $listCounter = 0
 $listLines = array()
 $newLines = array()
 $newText = dumpToText( $newLines )
 $options
 $script
 $text = fread( $fd, filesize( $changelogFilename ) )

Function Documentation

addListItem ( &$  listLines,
changeText 
)

Definition at line 76 of file changelog2xmltext.php.

createList ( &$  newLines,
&$  listLines 
)

Definition at line 142 of file changelog2xmltext.php.

if ($lastSection!==null) dumpToText ( nodes)

Definition at line 221 of file changelog2xmltext.php.

isChangeEntry ( line,
&$  changeText 
)

Definition at line 66 of file changelog2xmltext.php.

isEmptyLine ( line)

Definition at line 153 of file changelog2xmltext.php.


Variable Documentation

if (count($options['arguments'])< 1) $changelogFilename = $options['arguments'][0]

Definition at line 58 of file changelog2xmltext.php.

$cli = eZCLI::instance()

Definition at line 35 of file changelog2xmltext.php.

Referenced by eZDBPackageHandler\add(), eZInstallScriptPackageHandler\add(), eZFilePackageHandler\add(), eZExtensionPackageHandler\add(), eZContentClassPackageHandler\add(), eZContentObjectPackageHandler\add(), backupTables(), changeSiteAccessSetting(), clearItems(), copyBinaryfilesToDB(), copyFilesFromDB(), copyImagesToDB(), copyMediafilesToDB(), copyPublishContentObject(), eZPackage\createDependencyText(), currencyForLocale(), displayProgress(), downloadPackages(), dumpToText(), eZCodeMapper\error(), eZFatalError(), eZISBN10To13Converter\eZISBN10To13Converter(), eZStaticCache\generateAlwaysUpdatedCache(), eZStaticCache\generateCache(), eZScript\getOptions(), eZDBPackageHandler\handleAddParameters(), eZInstallScriptPackageHandler\handleAddParameters(), eZFilePackageHandler\handleAddParameters(), eZExtensionPackageHandler\handleAddParameters(), eZContentClassPackageHandler\handleAddParameters(), eZContentObjectPackageHandler\handleAddParameters(), handleContextNode(), handleMessageNode(), eZDBPackageHandler\handleParameters(), eZFilePackageHandler\handleParameters(), eZContentClassPackageHandler\handleParameters(), eZContentObjectPackageHandler\handleParameters(), help(), importRSSItem(), eZScript\initialize(), installPackages(), eZScript\iterate(), loadDatabaseSchema(), purgeItems(), reportProgress(), resetLogFile(), rssImport1(), rssImport2(), eZRunCronjobs\runScript(), setEZXMLAttribute(), eZScript\setIsQuiet(), showError(), eZScript\showHelp(), showMessage(), showMessage2(), showNotice(), showWarning(), eZScript\shutdown(), eZScript\startup(), eZRunCronjobs\stealMutex(), eZScript\updateDebugSettings(), verifyDataInternal(), and eZCodeMapper\warning().

$currentListEntry = false

Definition at line 162 of file changelog2xmltext.php.

$lastSection = null

Definition at line 163 of file changelog2xmltext.php.

$lineNumber = 0

Definition at line 159 of file changelog2xmltext.php.

$listCounter = 0

Definition at line 160 of file changelog2xmltext.php.

$listLines = array()

Definition at line 161 of file changelog2xmltext.php.

Referenced by addListItem(), and createList().

$newLines = array()

Definition at line 158 of file changelog2xmltext.php.

Referenced by createList().

$newText = dumpToText( $newLines )
Initial value:
 eZScript::instance( array( 'description' => ( "eZ Publish Changelog converter\n\n" .
                                                        "Converts a Changelog into XML text format usable in eZ Publish\n" .
                                                        "The result is printed to the standard output" ),
                                     'use-session' => false,
                                     'use-modules' => true,
                                     'use-extensions' => true ) )

Definition at line 36 of file changelog2xmltext.php.

Referenced by dumpToText(), eZISBN10To13Converter\eZISBN10To13Converter(), eZInstallScriptPackageHandler\handleAddParameters(), eZTemplate\loadAndRegisterFunctions(), eZTemplate\loadAndRegisterOperators(), eZRunCronjobs\runScript(), and showError().

$text = fread( $fd, filesize( $changelogFilename ) )

Definition at line 61 of file changelog2xmltext.php.

Referenced by eZDBFileHandlerMysqlBackend\_fail(), eZDBFileHandlerMysqlBackend\_sqlList(), eZPDFTable\addDocSpecification(), eZDiffTextEngine\addNewLine(), eZPHPCreator\addText(), Cpdf\addText(), Cpdf\addTextWrap(), eZAutoLinkOperator\addURILinks(), eZTemplate\appendElement(), eZWebDAVServer\appendLogEntry(), eZCodeTemplate\apply(), eZURLOperator\applyQuotes(), Cpdf\ARC4(), eZMail\blankNewlines(), eZBorkTranslator\borkify(), eZTemplateCompiler\calculateVariableStatisticsChildren(), eZPDFTable\callBlockFrame(), eZPDFTable\callFrame(), eZPDFTable\callFrontpage(), eZPDFTable\callTable(), eZPDFTable\callTextBox(), eZPDFTable\callTextFrame(), eZCharTransform\commandUrlCleanup(), eZCharTransform\commandUrlCleanupCompat(), eZCharTransform\commandUrlCleanupIRI(), eZMail\composeEmailItems(), eZMail\composeEmailName(), eZTextTool\concat(), eZTextTool\concatDelimited(), eZImageHandler\convertFilterToText(), eZMail\convertHeaderText(), eZXMLInputParser\convertNumericEntities(), eZCodePage\convertStringFromUTF8(), eZMail\convertText(), eZUTF8Codec\convertUnicodeToString(), eZCodePage\convertUnicodeToString(), eZCollaborationSimpleMessage\create(), eZDOMDocument\createCDATANode(), eZPackage\createDependencyText(), eZDOMDocument\createElementCDATANode(), eZDOMDocument\createElementTextNode(), eZTemplateNodeTool\createErrorNode(), eZImageTextLayer\createForText(), eZDiffTextEngine\createOutput(), eZUser\createPassword(), eZSys\createShellArgument(), eZDOMDocument\createTextNode(), eZTemplateNodeTool\createTextNode(), eZTemplateNodeTool\createWarningNode(), eZImageAliasHandler\displayText(), eZImageInterface\drawText(), dumpToText(), eZXMLInputParser\entitiesDecode(), eZCodeMapper\error(), eZCharTransform\executeCacheFile(), eZCodeMapper\executeCommandCode(), eZTemplateCompiler\executeCompilation(), eZMail\extractEmail(), eZPDFTable\extractFunction(), eZPDFTable\extractParameters(), Cezpdf\eZGetMaxWordWidth(), eZImageTextLayer\eZImageTextLayer(), ezinsertarguments(), eZPDFTable\ezInsertBlockFrame(), eZPDFTable\ezInsertFrame(), eZMySQLBackendError\eZMySQLBackendError(), Cezpdf\ezProcessText(), Cezpdf\ezPrvtGetTextWidth(), eZTemplateTextElement\eZTemplateTextElement(), Cezpdf\ezText(), eZPDFTable\ezText(), eZTemplate\fetch(), eZPHPCreator\fetch(), eZURLType\fetchObjectAttributeHTTPInput(), eZTemplateCompiler\fetchTemplatePiece(), Cpdf\filterText(), eZURLAliasML\findUniqueText(), eZRegExpValidator\fixup(), eZFloatValidator\fixup(), eZIntegerValidator\fixup(), eZPDFTable\fixupTableCellText(), eZPDFTable\fixWhitespace(), eZLocale\formatCleanCurrency(), eZLocale\formatDateTimeType(), eZLocale\formatDateType(), eZLocale\formatNumber(), eZLocale\formatTimeType(), eZAutoLinkOperator\formatUri(), eZURLType\fromString(), eZObjectRelationType\fuzzyTextMatch(), eZContentObjectAttribute\generateValidationErrorText(), Cpdf\getTextWidth(), eZTemplateMultiPassParser\gotoEndPosition(), eZWebDAVServer\handle(), eZTemplateFileResource\handleResourceData(), eZMail\headerText(), eZTemplateElementParser\identifierEndPosition(), eZImageAliasHandler\imageAlias(), eZSys\indexFile(), eZPDFTable\insertFrontpage(), eZPDFTable\insertTextBox(), eZPDFTable\insertTextFrame(), eZTemplateElementParser\isWhitespace(), eZScript\iterate(), eZ1337Translator\leetify(), eZURLAliasML\md5(), eZXMLTextType\metaData(), eZPDF\modify(), eZSimpleTagsOperator\modify(), eZSearch\normalizeText(), eZTemplateElementParser\numericEndPos(), eZWebDAVServer\outputCollectionContent(), eZWebDAVServer\outputSendDataToClient(), eZSimplifiedXMLEditOutput\outputText(), eZTemplateMultiPassParser\parseBlockFunction(), eZTemplateMultiPassParser\parseDefFunction(), eZTemplateMultiPassParser\parseForeachFunction(), eZTemplateMultiPassParser\parseForFunction(), eZTemplateMultiPassParser\parseIntoTree(), eZCLI\parseOptionString(), eZTemplateMultiPassParser\parseSectionFunction(), eZTemplateMultiPassParser\parseSequenceParameter(), eZTemplateMultiPassParser\parseSetFunction(), eZTextInputParser\parseText(), eZTemplateMultiPassParser\parseUnnamedCondition(), eZTemplateElementParser\parseVariableTag(), eZTemplateMultiPassParser\parseWhileFunction(), eZTemplateMultiPassParser\parseWhitespaceRemoval(), eZSimplifiedXMLInputParser\parsingHandlerLiteral(), eZTemplateStringOperator\phpMapTransformation(), eZSys\phpVersion(), eZPHPCreator\prependSpacing(), eZURLAliasFilter\process(), eZTemplateTextElement\process(), eZTemplateVariableElement\process(), eZTemplateRoot\process(), eZTemplateFunctionElement\process(), eZTemplateCacheFunction\process(), eZTemplateBlockFunction\process(), eZXMLInputParser\process(), eZTemplate\process(), eZTemplateSectionFunction\process(), eZURLAliasFilter\processFilters(), eZTemplateCompiler\processNodeCombiningChildren(), eZTemplateCompiler\processStaticOptimizations(), eZTemplateCacheFunction\processUncached(), eZTemplate\processURI(), Cpdf\PRVTadjustWrapText(), Cpdf\PRVTcheckTextDirective(), Cpdf\PRVTcheckTextDirective1(), Cpdf\PRVTgetTextPosition(), eZMySQLiDB\query(), eZMySQLDB\query(), eZTemplateElementParser\quoteEndPos(), eZXMLTextType\rawXMLText(), removeIllegalUTF8Characters(), eZXHTMLXMLOutput\renderText(), eZSiteInstaller\reportError(), reportProgress(), eZMail\senderText(), eZImageInterface\setAlternativeText(), eZImageAliasHandler\setAttribute(), eZTemplate\setIncludeText(), eZMail\setReceiverText(), eZMail\setSenderText(), eZImageTextLayer\setText(), eZContentObjectAttribute\setValidationError(), eZContentObjectAttribute\setValidationLog(), eZTemplateMultiPassParser\showParseErrorMessage(), eZShuffleTranslator\shuffleText(), eZURLAliasML\strtolower(), eZCLI\stylize(), eZContentObjectTreeNode\subTreeGroupByDateField(), eZPersistentObject\swapRow(), eZImageHandler\textForFilter(), eZPHPCreator\thisVariableText(), eZXMLTextType\title(), eZURLType\toString(), eZDOMDocument\toString(), eZCharTransform\transform(), eZCharTransform\transformByGroup(), eZURLAliasML\translate(), eZContentObjectTreeNode\updateSubTreePath(), eZRegExpValidator\validate(), eZFloatValidator\validate(), eZIntegerValidator\validate(), eZSimplifiedXMLInput\validateInput(), eZURLType\validateObjectAttributeHTTPInput(), eZCharTransform\varExportInternal(), eZTemplateElementParser\variableEndPos(), eZPHPCreator\variableNameText(), eZPHPCreator\variableText(), eZCodeMapper\warning(), eZTemplateElementParser\whitespaceEndPos(), eZPHPCreator\write(), eZPHPCreator\writeChunks(), eZPHPCreator\writeCodePiece(), eZPHPCreator\writeComment(), eZDOMNode\writeDebug(), eZDOMNode\writeDebugStr(), eZPHPCreator\writeDefine(), eZPHPCreator\writeInclude(), eZPHPCreator\writeMethodCall(), eZPHPCreator\writeSpace(), eZPHPCreator\writeText(), eZPHPCreator\writeVariable(), eZPHPCreator\writeVariableUnset(), and eZPHPCreator\writeVariableUnsetList().