XML_Util::apiVersion (Previous) (Next) XML_Util::collapseEmptyTags

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

XML_Util::attributesToString()

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

Descripción

create string representation of an attribute list

Parámetro

  • array $attributes - assoc array containg attributes

  • boolean $sort - whether to sort the attributes alphabetically

  • boolean $multiline - whether to display the attributes on more than one line (makes it easier to read)

  • string $indent - indentation characters, only used when multiline is set to TRUE

  • string $linebreak - linebreak character, only used when multiline is set to TRUE

  • integer $entities - define, which entities should be replaced in the attribute values. One of XML_UTIL_ENTITIES_NONE, XML_UTIL_ENTITIES_XML, XML_UTIL_ENTITIES_XML_REQUIRED or XML_UTIL_ENTITIES_HTML

Valor devuelto

string string representation of the attributes

Nota

Esta función debe ser llamada estáticamente.

XML_Util::apiVersion (Previous) (Next) XML_Util::collapseEmptyTags

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.