Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
comment.php
1
<?php
2
namespace
Bitrix\Main\Web\DOM
;
3
4
class
Comment
extends
Node
5
{
6
public
function
__construct
($comment)
7
{
8
$this->
init
();
9
$this->nodeType =
self::COMMENT_NODE
;
10
11
$this->nodeValue = $comment;
12
$this->nodeName =
'#comment'
;
13
}
14
15
public
function
setNodeValue
($comment)
16
{
17
$this->nodeValue = $comment;
18
}
19
20
public
function
getTextContent
()
21
{
22
return
$this->nodeValue
;
23
}
24
}
Bitrix\Main\Web\DOM\Comment
Definition
comment.php:5
Bitrix\Main\Web\DOM\Comment\setNodeValue
setNodeValue($comment)
Definition
comment.php:15
Bitrix\Main\Web\DOM\Comment\getTextContent
getTextContent()
Definition
comment.php:20
Bitrix\Main\Web\DOM\Comment\__construct
__construct($comment)
Definition
comment.php:6
Bitrix\Main\Web\DOM\Node
Definition
node.php:5
Bitrix\Main\Web\DOM\Node\init
init()
Definition
node.php:57
Bitrix\Main\Web\DOM\Node\$nodeValue
$nodeValue
Definition
node.php:31
Bitrix\Main\Web\DOM\Node\COMMENT_NODE
const COMMENT_NODE
Definition
node.php:13
Bitrix\Main\Web\DOM
Definition
attr.php:2
modules
main
lib
web
dom
comment.php
Создано системой
1.10.0