Your IP : 172.28.240.42


Current Path : /var/www/html/clients/biblio.e-nkama.ru/bitrix/modules/main/lib/web/dom/
Upload File :
Current File : /var/www/html/clients/biblio.e-nkama.ru/bitrix/modules/main/lib/web/dom/comment.php

<?php
namespace Bitrix\Main\Web\DOM;

class Comment extends Node
{
	public function __construct($comment)
	{
		$this->init();
		$this->nodeType = self::COMMENT_NODE;

		$this->nodeValue = $comment;
		$this->nodeName = '#comment';
	}

	public function setNodeValue($comment)
	{
		$this->nodeValue = $comment;
	}

	public function getTextContent()
	{
		return $this->nodeValue;
	}
}