PHP Conference Japan 2024

DOMCdataSection 类

(PHP 5、PHP 7、PHP 8)

简介

DOMCdataSection 继承自 DOMText 用于 CData 结构的文本表示。

类概要

class DOMCdataSection extends DOMText {
/* 继承的常量 */
/* 继承的属性 */
public readonly string $wholeText;
public string $data;
public readonly int $length;
public readonly string $nodeName;
public readonly int $nodeType;
public readonly ?DOMNode $parentNode;
public readonly ?DOMElement $parentElement;
public readonly DOMNodeList $childNodes;
public readonly ?DOMNode $firstChild;
public readonly ?DOMNode $lastChild;
public readonly ?DOMNode $previousSibling;
public readonly ?DOMNode $nextSibling;
public readonly ?DOMNamedNodeMap $attributes;
public readonly bool $isConnected;
public readonly ?DOMDocument $ownerDocument;
public readonly ?string $namespaceURI;
public string $prefix;
public readonly ?string $localName;
public readonly ?string $baseURI;
/* 方法 */
public __construct(字符串 $data)
/* 继承的方法 */
public DOMNode::C14N(
    布尔值 $exclusive = false,
    布尔值 $withComments = false,
    ?数组 $xpath = null,
    ?数组 $nsPrefixes = null
): 字符串|false
public DOMNode::C14NFile(
    字符串 $uri,
    布尔值 $exclusive = false,
    布尔值 $withComments = false,
    ?数组 $xpath = null,
    ?数组 $nsPrefixes = null
): 整数|false
}

目录

添加注释

用户贡献注释

此页面没有用户贡献的注释。
To Top