AttributesString
Create a string of attributes for a html tag.
Table of Contents
- createAttributesString() : string
- Create a string of all attribute/value pairs.
Methods
createAttributesString()
Create a string of all attribute/value pairs.
public
createAttributesString(array<string|int, mixed> $attributes) : string
Escapes all attribute keys and values
Parameters
- $attributes : array<string|int, mixed>