XML_Util::attributesToString()

XML_Util::attributesToString() -- create XML attribute string

Synopsis

require_once 'XML/Util.php';

string XML_Util::attributesToString (array $attributes [, boolean $sort = TRUE [, boolean $multiline = FALSE [, string $indent = ' ' [, string $linebreak = "\n" [, integer $entities = XML_UTIL_ENTITIES_XML]]]]])

Description

create string representation of an attribute list

Parameter

Return value

string string representation of the attributes

Note

This function should be called statically.