XMLWriter
Methods
- attributes() : array<int, string>
- elements() : array<int, string>
- write() : string
Methods
attributes()
public
attributes(string $name, array<int, string|null> $values) : array<int, string>
Parameters
- $name : string
- $values : array<int, string|null>
Return values
array<int, string> — name="value" per value
elements()
public
elements(string $name, array<int, string|null> $values) : array<int, string>
Parameters
- $name : string
- $values : array<int, string|null>
Return values
array<int, string> —<name>value</name> per value; null and '' give <name></name>
write()
public
write(XMLNode $node) : string
Parameters
- $node : XMLNode