string XML_Util::getXMLDeclaration (
string $version = "1.0"
, string $encoding
= null
, boolean $standalone
= null
)
Returns an XML declaration based on parameters.
string $version
- XML version
string $encoding
- XML encoding
boolean $standalone
- whether document is standalone
string XML declaration
This function should be called statically.