XML_Util::createTag | XML_Util::createStartElement |
XML_Util | |
PEAR Manual | |
require_once 'XML/Util.php'; |
string XML_Util::createTagFromArray (
array $tag
, integer $replaceEntities = XML_UTIL_REPLACE_ENTITIES
)
create a tag from an array. This is similar to XML_Util::createTag(), but more flexible.
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.
string xml tag
This function should be called statically.
Creating a tag with XML_Util::createTagFromArray()
|
XML_Util::createTag | XML_Util::createStartElement |
XML_Util | |
PEAR Manual | |