[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/ -> AddAttributeValueToElements.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: 63 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AddAttributeValueToElements:: (3 methods):
  __construct()
  getValues()
  normalizeElement()


Class: AddAttributeValueToElements  - X-Ref

Add a value to a list of space-separated value

__construct(string $query, string $attrName, string $value)   X-Ref

param: string $query    XPath query used to locate elements
param: string $attrName Name of the attribute to modify
param: string $value    Value to be added to the attribute

getValues(string $attrValue)   X-Ref
Explode a string of space-separated values into an array

param: string   $attrValue Attribute's value
return: string[]

normalizeElement(DOMElement $element)   X-Ref
{@inheritdoc}




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