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

Public Member Functions

string getNamespaceURI ()
 
string getPrefix ()
 
string getLocalName ()
 
string getName ()
 
string getValue ()
 
 setValue (string $val)
 
Element null getOwnerElement ()
 
bool getSpecified ()
 
- Public Member Functions inherited from Wikimedia\IDLeDOM\Node
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)
 

Additional Inherited Members

- Public Attributes inherited from Wikimedia\IDLeDOM\Node
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

◆ getLocalName()

string Wikimedia\IDLeDOM\Attr::getLocalName ( )
Returns
string

◆ getName()

string Wikimedia\IDLeDOM\Attr::getName ( )
Returns
string

◆ getNamespaceURI()

string Wikimedia\IDLeDOM\Attr::getNamespaceURI ( )
Returns
?string

◆ getOwnerElement()

Element null Wikimedia\IDLeDOM\Attr::getOwnerElement ( )
Returns
Element|null

◆ getPrefix()

string Wikimedia\IDLeDOM\Attr::getPrefix ( )
Returns
?string

◆ getSpecified()

bool Wikimedia\IDLeDOM\Attr::getSpecified ( )
Returns
bool

◆ getValue()

string Wikimedia\IDLeDOM\Attr::getValue ( )
Returns
string

◆ setValue()

Wikimedia\IDLeDOM\Attr::setValue ( string $val)
Parameters
string$val

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