Returns attribute string to insert in any XML tag
static
string
createAttributeStringFromArray
(string $attribArray, [string $excludeAttribs = NULL])
-
string
$attribArray: associative array with attributes
-
string
$excludeAttribs: comma separated list of attributes which should not be included in generated string
Returns XML tag with given tagName and attributes
static
string
createStartTag
(string $tagName, [string $attribArray = array()], [string $excludeAttribs = NULL], [boolean $endSlash = false])
-
string
$tagName: name of tag
-
string
$attribArray: associative array with attributes
-
string
$excludeAttribs: comma separated list of attributes which should not be included in generated string
-
boolean
$endSlash: flag which controls if tag should have an end slash or not