[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch




/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/ -> OptimizeChooseText.php (summary)

(no description)

File Size: 142 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

OptimizeChooseText:: (6 methods):

Class: OptimizeChooseText  - X-Ref

adjustTextNodes($childType, $pos, $len = PHP_INT_MAX)   X-Ref
Adjust length of the text nodes of current xsl:choose element's branches

return: void
param: string  $childType Either firstChild or lastChild
param: integer $pos
param: integer $len

getPrefixLength(array $strings)   X-Ref
Compute the number of leading characters common to all strings

return: integer
param: string[] $strings

getTextContent($childType)   X-Ref
Get the text content of the firstChild/lastChild of each branch if they are all text nodes

return: string[]            List of strings or an empty array
param: string   $childType Either firstChild or lastChild

optimizeChoose()   X-Ref

optimizeLeadingText()   X-Ref
Move common leading text outside of current choose

return: void

optimizeTrailingText()   X-Ref
Move common trailing text outside of current choose

return: void

Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1