XML_Util::createTagFromArray

XML_Util::createTagFromArray()

XML_Util::createTagFromArray() -- create a tag from an array

Description

create a tag from an array. This is similar to XML_Util::createTag(), but more flexible.

Parameter

  • array $tag - array containing information about the tag

  • integer $replaceEntities - whether to replace XML entities in content, embedd it in a CData section or leave it untouched. Possible values are FALSE, XML_UTIL_REPLACE_ENTITIES or XML_UTIL_CDATA_SECTION.

Return value

string xml tag

Note

This function should be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.