eZ Publish  [4.2]
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 73 of file changelog2xmltext.php.

createList ( &$  newLines,
&$  listLines 
)

Definition at line 139 of file changelog2xmltext.php.

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

Definition at line 218 of file changelog2xmltext.php.

isChangeEntry ( line,
&$  changeText 
)

Definition at line 63 of file changelog2xmltext.php.

isEmptyLine ( line)

Definition at line 150 of file changelog2xmltext.php.


Variable Documentation

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

Definition at line 55 of file changelog2xmltext.php.

$cli = eZCLI::instance()

Definition at line 32 of file changelog2xmltext.php.

$currentListEntry = false

Definition at line 159 of file changelog2xmltext.php.

$lastSection = null

Definition at line 160 of file changelog2xmltext.php.

$lineNumber = 0

Definition at line 156 of file changelog2xmltext.php.

$listCounter = 0

Definition at line 157 of file changelog2xmltext.php.

$listLines = array()

Definition at line 158 of file changelog2xmltext.php.

Referenced by addListItem(), and createList().

$newLines = array()

Definition at line 155 of file changelog2xmltext.php.

Referenced by createList().

$newText = dumpToText( $newLines )
$options
Initial value:
 $script->getOptions( "",
                                "[changelog]",
                                false, false,
                                array( 'log' => false,
                                       'siteaccess' => false ) )

Definition at line 42 of file changelog2xmltext.php.

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 33 of file changelog2xmltext.php.

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

Definition at line 58 of file changelog2xmltext.php.

Referenced by eZDFSFileHandlerMySQLBackend\_fail(), eZDBFileHandlerMysqlBackend\_fail(), eZDBFileHandlerMysqlBackend\_sqlList(), eZDFSFileHandlerMySQLBackend\_sqlList(), eZPDFTable\addDocSpecification(), eZDiffTextEngine\addNewLine(), eZPHPCreator\addText(), Cpdf\addText(), Cpdf\addTextWrap(), eZAutoLinkOperator\addURILinks(), eZTemplate\appendElement(), eZWebDAVServer\appendLogEntry(), eZWebDAVContentBackend\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(), eZPackage\createDependencyText(), eZTemplateNodeTool\createErrorNode(), eZImageTextLayer\createForText(), eZDiffTextEngine\createOutput(), eZUser\createPassword(), eZSys\createShellArgument(), 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(), eZDFSMySQLBackendError\eZDFSMySQLBackendError(), 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(), 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(), eZPHPCreator\writeDefine(), eZPHPCreator\writeInclude(), eZPHPCreator\writeMethodCall(), eZPHPCreator\writeSpace(), eZPHPCreator\writeText(), eZPHPCreator\writeVariable(), eZPHPCreator\writeVariableUnset(), and eZPHPCreator\writeVariableUnsetList().