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

Public Member Functions

 __construct (string $name, string $value="")
 
 isId ()
 
- 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 $name
 
bool $specified
 
string $value
 
DOMElement $ownerElement
 
mixed $schemaTypeInfo
 
- 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 683 of file php_dom.stub.php.

Constructor & Destructor Documentation

◆ __construct()

DOMAttr::__construct ( string $name,
string $value = "" )

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

Member Function Documentation

◆ isId()

DOMAttr::isId ( )

@tentative-return-type

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

Field Documentation

◆ $name

string DOMAttr::$name

@readonly @virtual

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

◆ $ownerElement

DOMElement DOMAttr::$ownerElement

@readonly @virtual

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

◆ $schemaTypeInfo

mixed DOMAttr::$schemaTypeInfo

@readonly @virtual

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

◆ $specified

bool DOMAttr::$specified

@readonly @virtual

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

◆ $value

string DOMAttr::$value

@virtual

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


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