Parsoid
A bidirectional parser between wikitext and HTML5
|
Utility transformation manager for expanding attributes whose keys and/or values are not plain strings. More...
Public Member Functions | |
__construct (Frame $frame, array $options) | |
process (array $attributes) | |
Expand both key and values of all key/value pairs. | |
Utility transformation manager for expanding attributes whose keys and/or values are not plain strings.
Wikimedia\Parsoid\Wt2Html\TT\AttributeTransformManager::__construct | ( | Frame | $frame, |
array | $options ) |
Frame | $frame | |
array | $options |
|
Wikimedia\Parsoid\Wt2Html\TT\AttributeTransformManager::process | ( | array | $attributes | ) |
Expand both key and values of all key/value pairs.
Used for generic (non-template) tokens in the AttributeExpander handler, which runs after templates are already expanded.
KV[] | $attributes |