IDLeDOM
DOM interfaces automatically generated from WebIDL
Loading...
Searching...
No Matches
Wikimedia\IDLeDOM\Node Interface Reference
+ Inheritance diagram for Wikimedia\IDLeDOM\Node:

Public Member Functions

int getNodeType ()
 
string getNodeName ()
 
string getBaseURI ()
 
bool getIsConnected ()
 
Document null getOwnerDocument ()
 
Wikimedia IDLeDOM Node getRootNode ($options=null)
 
Node null getParentNode ()
 
Element null getParentElement ()
 
bool hasChildNodes ()
 
NodeList getChildNodes ()
 
Node null getFirstChild ()
 
Node null getLastChild ()
 
Node null getPreviousSibling ()
 
Node null getNextSibling ()
 
string getNodeValue ()
 
 setNodeValue (?string $val)
 
string getTextContent ()
 
 setTextContent (?string $val)
 
void normalize ()
 
Wikimedia IDLeDOM Node cloneNode (bool $deep=false)
 
bool isEqualNode ($otherNode)
 
bool isSameNode ($otherNode)
 
int compareDocumentPosition ($other)
 
bool contains ($other)
 
string lookupPrefix (?string $namespace)
 
string lookupNamespaceURI (?string $prefix)
 
bool isDefaultNamespace (?string $namespace)
 
Wikimedia IDLeDOM Node insertBefore ($node, $child=null)
 
Wikimedia IDLeDOM Node appendChild ($node)
 
Wikimedia IDLeDOM Node replaceChild ($node, $child)
 
Wikimedia IDLeDOM Node removeChild ($child)
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\EventTarget
void addEventListener (string $type, $callback, $options=null)
 
void removeEventListener (string $type, $callback, $options=null)
 
bool dispatchEvent ($event)
 

Public Attributes

const ELEMENT_NODE = 1
 
const ATTRIBUTE_NODE = 2
 
const TEXT_NODE = 3
 
const CDATA_SECTION_NODE = 4
 
const ENTITY_REFERENCE_NODE = 5
 
const ENTITY_NODE = 6
 
const PROCESSING_INSTRUCTION_NODE = 7
 
const COMMENT_NODE = 8
 
const DOCUMENT_NODE = 9
 
const DOCUMENT_TYPE_NODE = 10
 
const DOCUMENT_FRAGMENT_NODE = 11
 
const NOTATION_NODE = 12
 
const DOCUMENT_POSITION_DISCONNECTED = 0x01
 
const DOCUMENT_POSITION_PRECEDING = 0x02
 
const DOCUMENT_POSITION_FOLLOWING = 0x04
 
const DOCUMENT_POSITION_CONTAINS = 0x08
 
const DOCUMENT_POSITION_CONTAINED_BY = 0x10
 
const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
 

Member Function Documentation

◆ appendChild()

Wikimedia IDLeDOM Node Wikimedia\IDLeDOM\Node::appendChild ( $node)
Parameters
\Wikimedia\IDLeDOM\Node$node
Returns
\Wikimedia\IDLeDOM\Node

◆ cloneNode()

Wikimedia IDLeDOM Node Wikimedia\IDLeDOM\Node::cloneNode ( bool $deep = false)
Parameters
bool$deep
Returns
\Wikimedia\IDLeDOM\Node

◆ compareDocumentPosition()

int Wikimedia\IDLeDOM\Node::compareDocumentPosition ( $other)
Parameters
\Wikimedia\IDLeDOM\Node$other
Returns
int

◆ contains()

bool Wikimedia\IDLeDOM\Node::contains ( $other)
Parameters
\Wikimedia\IDLeDOM\Node | null$other
Returns
bool

◆ getBaseURI()

string Wikimedia\IDLeDOM\Node::getBaseURI ( )
Returns
string

◆ getChildNodes()

NodeList Wikimedia\IDLeDOM\Node::getChildNodes ( )
Returns
NodeList

◆ getFirstChild()

Node null Wikimedia\IDLeDOM\Node::getFirstChild ( )
Returns
Node|null

◆ getIsConnected()

bool Wikimedia\IDLeDOM\Node::getIsConnected ( )
Returns
bool

◆ getLastChild()

Node null Wikimedia\IDLeDOM\Node::getLastChild ( )
Returns
Node|null

◆ getNextSibling()

Node null Wikimedia\IDLeDOM\Node::getNextSibling ( )
Returns
Node|null

◆ getNodeName()

string Wikimedia\IDLeDOM\Node::getNodeName ( )
Returns
string

◆ getNodeType()

int Wikimedia\IDLeDOM\Node::getNodeType ( )
Returns
int

◆ getNodeValue()

string Wikimedia\IDLeDOM\Node::getNodeValue ( )
Returns
?string

◆ getOwnerDocument()

Document null Wikimedia\IDLeDOM\Node::getOwnerDocument ( )
Returns
Document|null

◆ getParentElement()

Element null Wikimedia\IDLeDOM\Node::getParentElement ( )
Returns
Element|null

◆ getParentNode()

Node null Wikimedia\IDLeDOM\Node::getParentNode ( )
Returns
Node|null

◆ getPreviousSibling()

Node null Wikimedia\IDLeDOM\Node::getPreviousSibling ( )
Returns
Node|null

◆ getRootNode()

Wikimedia IDLeDOM Node Wikimedia\IDLeDOM\Node::getRootNode ( $options = null)
Parameters
GetRootNodeOptions | associative-array | null$options
Returns
\Wikimedia\IDLeDOM\Node

◆ getTextContent()

string Wikimedia\IDLeDOM\Node::getTextContent ( )
Returns
?string

◆ hasChildNodes()

bool Wikimedia\IDLeDOM\Node::hasChildNodes ( )
Returns
bool

◆ insertBefore()

Wikimedia IDLeDOM Node Wikimedia\IDLeDOM\Node::insertBefore ( $node,
$child = null )
Parameters
\Wikimedia\IDLeDOM\Node$node
\Wikimedia\IDLeDOM\Node | null$child
Returns
\Wikimedia\IDLeDOM\Node

◆ isDefaultNamespace()

bool Wikimedia\IDLeDOM\Node::isDefaultNamespace ( ?string $namespace)
Parameters
?string$namespace
Returns
bool

◆ isEqualNode()

bool Wikimedia\IDLeDOM\Node::isEqualNode ( $otherNode)
Parameters
\Wikimedia\IDLeDOM\Node | null$otherNode
Returns
bool

◆ isSameNode()

bool Wikimedia\IDLeDOM\Node::isSameNode ( $otherNode)
Parameters
\Wikimedia\IDLeDOM\Node | null$otherNode
Returns
bool

◆ lookupNamespaceURI()

string Wikimedia\IDLeDOM\Node::lookupNamespaceURI ( ?string $prefix)
Parameters
?string$prefix
Returns
?string

◆ lookupPrefix()

string Wikimedia\IDLeDOM\Node::lookupPrefix ( ?string $namespace)
Parameters
?string$namespace
Returns
?string

◆ normalize()

void Wikimedia\IDLeDOM\Node::normalize ( )
Returns
void

◆ removeChild()

Wikimedia IDLeDOM Node Wikimedia\IDLeDOM\Node::removeChild ( $child)
Parameters
\Wikimedia\IDLeDOM\Node$child
Returns
\Wikimedia\IDLeDOM\Node

◆ replaceChild()

Wikimedia IDLeDOM Node Wikimedia\IDLeDOM\Node::replaceChild ( $node,
$child )
Parameters
\Wikimedia\IDLeDOM\Node$node
\Wikimedia\IDLeDOM\Node$child
Returns
\Wikimedia\IDLeDOM\Node

◆ setNodeValue()

Wikimedia\IDLeDOM\Node::setNodeValue ( ?string $val)
Parameters
?string$val

◆ setTextContent()

Wikimedia\IDLeDOM\Node::setTextContent ( ?string $val)
Parameters
?string$val

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