[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

Copyright: Copyright (c) 2010-2022 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: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1