XML_Util::isValidName (Previous) (Next) XML_Util::reverseEntities

View this page in Last updated: Sun, 24 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

XML_Util::replaceEntities()

XML_Util::replaceEntities() -- replace XML entities

Description

In XML documents you are not allowed to use & and <. The have to be replaced with their respective entities. This method does this for you and furthermore replaces all other predefined XML entities.

Parameter

  • string $string - string, in which entities have to be replaced

Return value

string string with entities replaced

Note

This function should be called statically.

XML_Util::isValidName (Previous) (Next) XML_Util::reverseEntities

Download Documentation Last updated: Sun, 24 Aug 2008
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.