Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
text.php
1<?php
2namespace Bitrix\Main\Web\DOM;
3
4class Text extends Node
5{
6 public function __construct($text)
7 {
8 $this->init();
9
10 $this->nodeType = self::TEXT_NODE;
11 $this->nodeValue = $text;
12 $this->nodeName = '#text';
13 }
14
15 public function setNodeValue($text)
16 {
17 $this->nodeValue = $text;
18 }
19}