XML_Util::replaceEntities()

XML_Util::replaceEntities() -- replace XML entities

Synopsis

require_once 'XML/Util.php';

string XML_Util::replaceEntities (string $string)

Описание

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.

Параметр

Возвращаемое значение

string string with entities replaced

Заметка

Эта функция должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ