php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Dom\Attr Class Reference
Inheritance diagram for Dom\Attr:
Dom\Node

Public Member Functions

 isId ()
 
 rename (?string $namespaceURI, string $qualifiedName)
 
- Public Member Functions inherited from Dom\Node
 getRootNode (array $options=[])
 
 hasChildNodes ()
 
 normalize ()
 
 cloneNode (bool $deep=false)
 
 isEqualNode (?Node $otherNode)
 
 isSameNode (?Node $otherNode)
 
 compareDocumentPosition (Node $other)
 
 contains (?Node $other)
 
 lookupPrefix (?string $namespace)
 
 lookupNamespaceURI (?string $prefix)
 
 isDefaultNamespace (?string $namespace)
 
 insertBefore (Node $node, ?Node $child)
 
 appendChild (Node $node)
 
 replaceChild (Node $node, Node $child)
 
 removeChild (Node $child)
 
 getLineNo ()
 
 getNodePath ()
 
 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)
 
 __sleep ()
 
 __wakeup ()
 

Data Fields

string $namespaceURI
 
string $prefix
 
string $localName
 
string $name
 
string $value
 
Element $ownerElement
 
bool $specified
 
- Data Fields inherited from Dom\Node
int $nodeType
 
string $nodeName
 
string $baseURI
 
bool $isConnected
 
Document $ownerDocument
 
Node $parentNode
 
Element $parentElement
 
NodeList $childNodes
 
Node $firstChild
 
Node $lastChild
 
Node $previousSibling
 
Node $nextSibling
 
string $nodeValue
 
string $textContent
 
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
 

Detailed Description

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

Member Function Documentation

◆ isId()

Dom\Attr::isId ( )

@implementation-alias DOMAttr\isId

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

◆ rename()

Dom\Attr::rename ( ?string $namespaceURI,
string $qualifiedName )

@implementation-alias Dom\Elementrename

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

Field Documentation

◆ $localName

string Dom\Attr::$localName

@readonly @virtual

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

◆ $name

string Dom\Attr::$name

@readonly @virtual

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

◆ $namespaceURI

string Dom\Attr::$namespaceURI

@readonly @virtual

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

◆ $ownerElement

Element Dom\Attr::$ownerElement

@readonly @virtual

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

◆ $prefix

string Dom\Attr::$prefix

@readonly @virtual

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

◆ $specified

bool Dom\Attr::$specified

@readonly @virtual

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

◆ $value

string Dom\Attr::$value

@virtual

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


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