Xml::encode()
Converts a string to an XML-safe string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |null |
– | |
$html | bool |
true |
True = Convert to HTML-safe first |
Return type
string
Converts a string to an XML-safe string
Name | Type | Default | Description |
---|---|---|---|
$string * | string |null |
– | |
$html | bool |
true |
True = Convert to HTML-safe first |
string