• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/update_class.php
  • Класс: CUpdatesXMLDocument
  • Вызов: CUpdatesXMLDocument::__toString
function __toString()
{
	$ret = "<"."?xml";
	if ($this->version <> '')
		$ret .= " version="".$this->version.""";
	if ($this->encoding <> '')
		$ret .= " encoding="".$this->encoding.""";
	$ret .= "?".">";

	if (!empty($this->children))
	{
		foreach ($this->children as $child)
		{
			$ret .= $child->__toString();
		}
	}

	return $ret;
}