php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
DOMText Class Reference
Inheritance diagram for DOMText:
DOMCharacterData DOMNode DOMChildNode DOMCdataSection

Public Member Functions

 __construct (string $data="")
 
 isWhitespaceInElementContent ()
 
 isElementContentWhitespace ()
 
 splitText (int $offset)
 
- Public Member Functions inherited from DOMCharacterData
 appendData (string $data)
 
 substringData (int $offset, int $count)
 
 insertData (int $offset, string $data)
 
 deleteData (int $offset, int $count)
 
 replaceData (int $offset, int $count, string $data)
 
 replaceWith (... $nodes)
 
 remove ()
 
 before (... $nodes)
 
 after (... $nodes)
 
- Public Member Functions inherited from DOMNode
 appendChild (DOMNode $node)
 
 C14N (bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
 
 C14NFile (string $uri, bool $exclusive=false, bool $withComments=false, ?array $xpath=null, ?array $nsPrefixes=null)
 
 cloneNode (bool $deep=false)
 
 getLineNo ()
 
 getNodePath ()
 
 hasAttributes ()
 
 hasChildNodes ()
 
 insertBefore (DOMNode $node, ?DOMNode $child=null)
 
 isDefaultNamespace (string $namespace)
 
 isSameNode (DOMNode $otherNode)
 
 isEqualNode (?DOMNode $otherNode)
 
 isSupported (string $feature, string $version)
 
 lookupNamespaceURI (?string $prefix)
 
 lookupPrefix (string $namespace)
 
 normalize ()
 
 removeChild (DOMNode $child)
 
 replaceChild (DOMNode $node, DOMNode $child)
 
 contains (DOMNode|DOMNameSpaceNode|null $other)
 
 getRootNode (?array $options=null)
 
 compareDocumentPosition (DOMNode $other)
 
 __sleep ()
 
 __wakeup ()
 

Data Fields

string $wholeText
 
- Data Fields inherited from DOMCharacterData
string $data
 
int $length
 
DOMElement $previousElementSibling
 
DOMElement $nextElementSibling
 
- Data Fields inherited from DOMNode
const int DOCUMENT_POSITION_DISCONNECTED = 0x01
 
const int DOCUMENT_POSITION_PRECEDING = 0x02
 
const int DOCUMENT_POSITION_FOLLOWING = 0x04
 
const int DOCUMENT_POSITION_CONTAINS = 0x08
 
const int DOCUMENT_POSITION_CONTAINED_BY = 0x10
 
const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
 
string $nodeName
 
string $nodeValue
 
int $nodeType
 
DOMNode $parentNode
 
DOMElement $parentElement
 
DOMNodeList $childNodes
 
DOMNode $firstChild
 
DOMNode $lastChild
 
DOMNode $previousSibling
 
DOMNode $nextSibling
 
DOMNamedNodeMap $attributes
 
bool $isConnected
 
DOMDocument $ownerDocument
 
string $namespaceURI
 
string $prefix
 
string $localName
 
string $baseURI
 
string $textContent
 

Detailed Description

Definition at line 1081 of file php_dom.stub.php.

Constructor & Destructor Documentation

◆ __construct()

DOMText::__construct ( string $data = "")

Reimplemented in DOMCdataSection.

Definition at line 1089 of file php_dom.stub.php.

Member Function Documentation

◆ isElementContentWhitespace()

DOMText::isElementContentWhitespace ( )

@tentative-return-type @alias DOMText\isWhitespaceInElementContent

Definition at line 1098 of file php_dom.stub.php.

◆ isWhitespaceInElementContent()

DOMText::isWhitespaceInElementContent ( )

@tentative-return-type

Definition at line 1092 of file php_dom.stub.php.

◆ splitText()

DOMText::splitText ( int $offset)
Returns
DOMText|false

Definition at line 1101 of file php_dom.stub.php.

Field Documentation

◆ $wholeText

string DOMText::$wholeText

@readonly @virtual

Definition at line 1087 of file php_dom.stub.php.


The documentation for this class was generated from the following file: