IDLeDOM
DOM interfaces automatically generated from WebIDL
|
Public Member Functions | |
DOMImplementation | getImplementation () |
string | getURL () |
string | getDocumentURI () |
string | getCompatMode () |
string | getCharacterSet () |
string | getCharset () |
string | getInputEncoding () |
string | getContentType () |
DocumentType null | getDoctype () |
Element null | getDocumentElement () |
HTMLCollection | getElementsByTagName (string $qualifiedName) |
HTMLCollection | getElementsByTagNameNS (?string $namespace, string $localName) |
HTMLCollection | getElementsByClassName (string $classNames) |
Element | createElement (string $localName, $options=null) |
Element | createElementNS (?string $namespace, string $qualifiedName, $options=null) |
DocumentFragment | createDocumentFragment () |
Text | createTextNode (string $data) |
CDATASection | createCDATASection (string $data) |
Comment | createComment (string $data) |
ProcessingInstruction | createProcessingInstruction (string $target, string $data) |
Node | importNode ($node, bool $deep=false) |
Node | adoptNode ($node) |
Attr | createAttribute (string $localName) |
Attr | createAttributeNS (?string $namespace, string $qualifiedName) |
Event | createEvent (string $interface) |
Range | createRange () |
NodeIterator | createNodeIterator ($root, int $whatToShow=-1, $filter=null) |
TreeWalker | createTreeWalker ($root, int $whatToShow=-1, $filter=null) |
Location null | getLocation () |
setLocation (string $val) | |
string | getReferrer () |
string | getCookie () |
setCookie (string $val) | |
string | getLastModified () |
string | getTitle () |
setTitle (string $val) | |
string | getDir () |
setDir (string $val) | |
HTMLElement null | getBody () |
setBody ($val) | |
HTMLHeadElement null | getHead () |
HTMLCollection | getImages () |
HTMLCollection | getEmbeds () |
HTMLCollection | getPlugins () |
HTMLCollection | getLinks () |
HTMLCollection | getForms () |
HTMLCollection | getScripts () |
NodeList | getElementsByName (string $elementName) |
HTMLScriptElement null | getCurrentScript () |
Wikimedia IDLeDOM Document | open (string $type='text/html', string $replace='') |
void | close () |
void | write (string ... $text) |
void | writeln (string ... $text) |
bool | hasFocus () |
EventHandlerNonNull callable null | getOnreadystatechange () |
setOnreadystatechange ($val) | |
HTMLCollection | getAnchors () |
HTMLCollection | getApplets () |
void | clear () |
void | captureEvents () |
void | releaseEvents () |
bool | getHidden () |
string | getVisibilityState () |
EventHandlerNonNull callable null | getOnvisibilitychange () |
setOnvisibilitychange ($val) | |
string | getEncoding () |
setEncoding (string $val) | |
bool | getPreserveWhiteSpace () |
setPreserveWhiteSpace (bool $val) | |
bool | getFormatOutput () |
setFormatOutput (bool $val) | |
bool | getValidateOnParse () |
setValidateOnParse (bool $val) | |
bool | getStrictErrorChecking () |
setStrictErrorChecking (bool $val) | |
bool | loadHTML (string $source, int $options=0) |
bool | loadXML (string $source, int $options=0) |
string bool | saveHTML ($node=null) |
string bool | saveXML ($node=null, int $options=0) |
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) |
Public Member Functions inherited from Wikimedia\IDLeDOM\DocumentOrShadowRoot | |
StyleSheetList | getStyleSheets () |
Public Member Functions inherited from Wikimedia\IDLeDOM\GlobalEventHandlers | |
EventHandlerNonNull callable null | getOnload () |
setOnload ($val) | |
Public Member Functions inherited from Wikimedia\IDLeDOM\NonElementParentNode | |
Element null | getElementById (string $elementId) |
Public Member Functions inherited from Wikimedia\IDLeDOM\ParentNode | |
HTMLCollection | getChildren () |
Element null | getFirstElementChild () |
Element null | getLastElementChild () |
int | getChildElementCount () |
void | prepend (... $nodes) |
void | append (... $nodes) |
void | replaceChildren (... $nodes) |
Element null | querySelector (string $selectors) |
NodeList | querySelectorAll (string $selectors) |
Public Member Functions inherited from Wikimedia\IDLeDOM\XPathEvaluatorBase | |
XPathExpression | createExpression (string $expression, $resolver=null) |
XPathNSResolver callable | createNSResolver ($nodeResolver) |
XPathResult | evaluate (string $expression, $contextNode, $resolver=null, int $type=0, $result=null) |
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 |
Node Wikimedia\IDLeDOM\Document::adoptNode | ( | $node | ) |
Node | $node |
void Wikimedia\IDLeDOM\Document::captureEvents | ( | ) |
void Wikimedia\IDLeDOM\Document::clear | ( | ) |
void Wikimedia\IDLeDOM\Document::close | ( | ) |
Attr Wikimedia\IDLeDOM\Document::createAttribute | ( | string | $localName | ) |
string | $localName |
Attr Wikimedia\IDLeDOM\Document::createAttributeNS | ( | ?string | $namespace, |
string | $qualifiedName ) |
?string | $namespace | |
string | $qualifiedName |
CDATASection Wikimedia\IDLeDOM\Document::createCDATASection | ( | string | $data | ) |
string | $data |
Comment Wikimedia\IDLeDOM\Document::createComment | ( | string | $data | ) |
string | $data |
DocumentFragment Wikimedia\IDLeDOM\Document::createDocumentFragment | ( | ) |
Element Wikimedia\IDLeDOM\Document::createElement | ( | string | $localName, |
$options = null ) |
string | $localName | |
string | ElementCreationOptions | associative-array | null | $options |
Element Wikimedia\IDLeDOM\Document::createElementNS | ( | ?string | $namespace, |
string | $qualifiedName, | ||
$options = null ) |
?string | $namespace | |
string | $qualifiedName | |
string | ElementCreationOptions | associative-array | null | $options |
Event Wikimedia\IDLeDOM\Document::createEvent | ( | string | $interface | ) |
string | $interface |
NodeIterator Wikimedia\IDLeDOM\Document::createNodeIterator | ( | $root, | |
int | $whatToShow = -1, | ||
$filter = null ) |
Node | $root | |
int | $whatToShow | |
NodeFilter | callable | null | $filter |
ProcessingInstruction Wikimedia\IDLeDOM\Document::createProcessingInstruction | ( | string | $target, |
string | $data ) |
string | $target | |
string | $data |
Range Wikimedia\IDLeDOM\Document::createRange | ( | ) |
Text Wikimedia\IDLeDOM\Document::createTextNode | ( | string | $data | ) |
string | $data |
TreeWalker Wikimedia\IDLeDOM\Document::createTreeWalker | ( | $root, | |
int | $whatToShow = -1, | ||
$filter = null ) |
Node | $root | |
int | $whatToShow | |
NodeFilter | callable | null | $filter |
HTMLCollection Wikimedia\IDLeDOM\Document::getAnchors | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getApplets | ( | ) |
HTMLElement null Wikimedia\IDLeDOM\Document::getBody | ( | ) |
string Wikimedia\IDLeDOM\Document::getCharacterSet | ( | ) |
string Wikimedia\IDLeDOM\Document::getCharset | ( | ) |
string Wikimedia\IDLeDOM\Document::getCompatMode | ( | ) |
string Wikimedia\IDLeDOM\Document::getContentType | ( | ) |
string Wikimedia\IDLeDOM\Document::getCookie | ( | ) |
HTMLScriptElement null Wikimedia\IDLeDOM\Document::getCurrentScript | ( | ) |
string Wikimedia\IDLeDOM\Document::getDir | ( | ) |
DocumentType null Wikimedia\IDLeDOM\Document::getDoctype | ( | ) |
Element null Wikimedia\IDLeDOM\Document::getDocumentElement | ( | ) |
string Wikimedia\IDLeDOM\Document::getDocumentURI | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getElementsByClassName | ( | string | $classNames | ) |
string | $classNames |
NodeList Wikimedia\IDLeDOM\Document::getElementsByName | ( | string | $elementName | ) |
string | $elementName |
HTMLCollection Wikimedia\IDLeDOM\Document::getElementsByTagName | ( | string | $qualifiedName | ) |
string | $qualifiedName |
HTMLCollection Wikimedia\IDLeDOM\Document::getElementsByTagNameNS | ( | ?string | $namespace, |
string | $localName ) |
?string | $namespace | |
string | $localName |
HTMLCollection Wikimedia\IDLeDOM\Document::getEmbeds | ( | ) |
string Wikimedia\IDLeDOM\Document::getEncoding | ( | ) |
bool Wikimedia\IDLeDOM\Document::getFormatOutput | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getForms | ( | ) |
HTMLHeadElement null Wikimedia\IDLeDOM\Document::getHead | ( | ) |
bool Wikimedia\IDLeDOM\Document::getHidden | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getImages | ( | ) |
DOMImplementation Wikimedia\IDLeDOM\Document::getImplementation | ( | ) |
string Wikimedia\IDLeDOM\Document::getInputEncoding | ( | ) |
string Wikimedia\IDLeDOM\Document::getLastModified | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getLinks | ( | ) |
Location null Wikimedia\IDLeDOM\Document::getLocation | ( | ) |
EventHandlerNonNull callable null Wikimedia\IDLeDOM\Document::getOnreadystatechange | ( | ) |
EventHandlerNonNull callable null Wikimedia\IDLeDOM\Document::getOnvisibilitychange | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getPlugins | ( | ) |
bool Wikimedia\IDLeDOM\Document::getPreserveWhiteSpace | ( | ) |
string Wikimedia\IDLeDOM\Document::getReferrer | ( | ) |
HTMLCollection Wikimedia\IDLeDOM\Document::getScripts | ( | ) |
bool Wikimedia\IDLeDOM\Document::getStrictErrorChecking | ( | ) |
string Wikimedia\IDLeDOM\Document::getTitle | ( | ) |
string Wikimedia\IDLeDOM\Document::getURL | ( | ) |
bool Wikimedia\IDLeDOM\Document::getValidateOnParse | ( | ) |
string Wikimedia\IDLeDOM\Document::getVisibilityState | ( | ) |
bool Wikimedia\IDLeDOM\Document::hasFocus | ( | ) |
Node Wikimedia\IDLeDOM\Document::importNode | ( | $node, | |
bool | $deep = false ) |
Node | $node | |
bool | $deep |
bool Wikimedia\IDLeDOM\Document::loadHTML | ( | string | $source, |
int | $options = 0 ) |
string | $source | |
int | $options |
bool Wikimedia\IDLeDOM\Document::loadXML | ( | string | $source, |
int | $options = 0 ) |
string | $source | |
int | $options |
Wikimedia IDLeDOM Document Wikimedia\IDLeDOM\Document::open | ( | string | $type = 'text/html', |
string | $replace = '' ) |
string | $type | |
string | $replace |
void Wikimedia\IDLeDOM\Document::releaseEvents | ( | ) |
string bool Wikimedia\IDLeDOM\Document::saveHTML | ( | $node = null | ) |
Node | null | $node |
string bool Wikimedia\IDLeDOM\Document::saveXML | ( | $node = null, | |
int | $options = 0 ) |
Node | null | $node | |
int | $options |
Wikimedia\IDLeDOM\Document::setBody | ( | $val | ) |
HTMLElement | null | $val |
Wikimedia\IDLeDOM\Document::setCookie | ( | string | $val | ) |
string | $val |
Wikimedia\IDLeDOM\Document::setDir | ( | string | $val | ) |
string | $val |
Wikimedia\IDLeDOM\Document::setEncoding | ( | string | $val | ) |
string | $val |
Wikimedia\IDLeDOM\Document::setFormatOutput | ( | bool | $val | ) |
bool | $val |
Wikimedia\IDLeDOM\Document::setLocation | ( | string | $val | ) |
string | $val |
Wikimedia\IDLeDOM\Document::setOnreadystatechange | ( | $val | ) |
EventHandlerNonNull | callable | null | $val |
Wikimedia\IDLeDOM\Document::setOnvisibilitychange | ( | $val | ) |
EventHandlerNonNull | callable | null | $val |
Wikimedia\IDLeDOM\Document::setPreserveWhiteSpace | ( | bool | $val | ) |
bool | $val |
Wikimedia\IDLeDOM\Document::setStrictErrorChecking | ( | bool | $val | ) |
bool | $val |
Wikimedia\IDLeDOM\Document::setTitle | ( | string | $val | ) |
string | $val |
Wikimedia\IDLeDOM\Document::setValidateOnParse | ( | bool | $val | ) |
bool | $val |
void Wikimedia\IDLeDOM\Document::write | ( | string ... | $text | ) |
string | ...$text |
void Wikimedia\IDLeDOM\Document::writeln | ( | string ... | $text | ) |
string | ...$text |