[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/s9e/text-formatter/src/Configurator/Helpers/ -> AVTHelper.php (summary)

(no description)

Copyright: Copyright (c) 2010-2021 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 119 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions


Functions that are not part of a class:

parse($attrValue)   X-Ref
Parse an attribute value template

param: string $attrValue Attribute value
return: array             Array of tokens

replace(DOMAttr $attribute, callable $callback)   X-Ref
Replace the value of an attribute via the provided callback

The callback will receive an array containing the type and value of each token in the AVT.
Its return value should use the same format

param: DOMAttr  $attribute
param: callable $callback
return: void

serialize(array $tokens)   X-Ref
Serialize an array of AVT tokens back into an attribute value

param: array  $tokens
return: string

toXSL($attrValue)   X-Ref
Transform given attribute value template into an XSL fragment

param: string $attrValue
return: string

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1