1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
comment.php
См. документацию.
1<?php
2
3namespace Bitrix\Main\Web\DOM;
4
5class Comment extends Node
6{
7 public function __construct($comment)
8 {
9 $this->init();
10 $this->nodeType = self::COMMENT_NODE;
11
12 $this->nodeValue = $comment;
13 $this->nodeName = '#comment';
14 }
15
16 public function setNodeValue($comment)
17 {
18 $this->nodeValue = $comment;
19 }
20
21 public function getTextContent()
22 {
23 return $this->nodeValue;
24 }
25}
setNodeValue($comment)
Определения comment.php:16
getTextContent()
Определения comment.php:21
__construct($comment)
Определения comment.php:7
Определения node.php:5
init()
Определения node.php:58
$nodeValue
Определения node.php:31
$comment
Определения template.php:15