Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

xml_entities()

Description

Returns an xml compliant string in UTF-8

Built upon a code snippet from steve at mcdragonsoftware dot com
@link https://php.net/manual/en/function.htmlentities.php#106535

@access public

Parameters

ColumnTypeDefaultDescription
$string string A string to be made xml compliant.
$fromcharset string "" The charset of $string.

Return

string Returns the xml compliant UTF-8 encoded string.

This article was last updated 29th June 2020 14:35 Europe/London time based on the source file dated 26th June 2020 16:32 Europe/London time.