|
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 () |
|
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) |
|
◆ _unimplemented()
Exception Wikimedia\IDLeDOM\Stub\Document::_unimplemented |
( |
| ) |
|
|
abstractprotected |
◆ adoptNode()
Node Wikimedia\IDLeDOM\Stub\Document::adoptNode |
( |
| $node | ) |
|
◆ captureEvents()
void Wikimedia\IDLeDOM\Stub\Document::captureEvents |
( |
| ) |
|
◆ clear()
void Wikimedia\IDLeDOM\Stub\Document::clear |
( |
| ) |
|
◆ close()
void Wikimedia\IDLeDOM\Stub\Document::close |
( |
| ) |
|
◆ createAttribute()
Attr Wikimedia\IDLeDOM\Stub\Document::createAttribute |
( |
string | $localName | ) |
|
◆ createAttributeNS()
Attr Wikimedia\IDLeDOM\Stub\Document::createAttributeNS |
( |
?string | $namespace, |
|
|
string | $qualifiedName ) |
- Parameters
-
?string | $namespace | |
string | $qualifiedName | |
- Returns
- Attr
◆ createCDATASection()
CDATASection Wikimedia\IDLeDOM\Stub\Document::createCDATASection |
( |
string | $data | ) |
|
- Parameters
-
- Returns
- CDATASection
◆ createComment()
Comment Wikimedia\IDLeDOM\Stub\Document::createComment |
( |
string | $data | ) |
|
- Parameters
-
- Returns
- Comment
◆ createDocumentFragment()
◆ createElement()
Element Wikimedia\IDLeDOM\Stub\Document::createElement |
( |
string | $localName, |
|
|
| $options = null ) |
- Parameters
-
string | $localName | |
string | ElementCreationOptions | associative-array | null | $options | |
- Returns
- Element
◆ createElementNS()
Element Wikimedia\IDLeDOM\Stub\Document::createElementNS |
( |
?string | $namespace, |
|
|
string | $qualifiedName, |
|
|
| $options = null ) |
- Parameters
-
?string | $namespace | |
string | $qualifiedName | |
string | ElementCreationOptions | associative-array | null | $options | |
- Returns
- Element
◆ createEvent()
Event Wikimedia\IDLeDOM\Stub\Document::createEvent |
( |
string | $interface | ) |
|
◆ createNodeIterator()
NodeIterator Wikimedia\IDLeDOM\Stub\Document::createNodeIterator |
( |
| $root, |
|
|
int | $whatToShow = -1, |
|
|
| $filter = null ) |
- Parameters
-
Node | $root | |
int | $whatToShow | |
NodeFilter | callable | null | $filter | |
- Returns
- NodeIterator
◆ createProcessingInstruction()
ProcessingInstruction Wikimedia\IDLeDOM\Stub\Document::createProcessingInstruction |
( |
string | $target, |
|
|
string | $data ) |
- Parameters
-
string | $target | |
string | $data | |
- Returns
- ProcessingInstruction
◆ createRange()
Range Wikimedia\IDLeDOM\Stub\Document::createRange |
( |
| ) |
|
◆ createTextNode()
Text Wikimedia\IDLeDOM\Stub\Document::createTextNode |
( |
string | $data | ) |
|
◆ createTreeWalker()
TreeWalker Wikimedia\IDLeDOM\Stub\Document::createTreeWalker |
( |
| $root, |
|
|
int | $whatToShow = -1, |
|
|
| $filter = null ) |
- Parameters
-
Node | $root | |
int | $whatToShow | |
NodeFilter | callable | null | $filter | |
- Returns
- TreeWalker
◆ getAnchors()
◆ getApplets()
◆ getBody()
HTMLElement null Wikimedia\IDLeDOM\Stub\Document::getBody |
( |
| ) |
|
◆ getCharacterSet()
string Wikimedia\IDLeDOM\Stub\Document::getCharacterSet |
( |
| ) |
|
◆ getCharset()
string Wikimedia\IDLeDOM\Stub\Document::getCharset |
( |
| ) |
|
◆ getCompatMode()
string Wikimedia\IDLeDOM\Stub\Document::getCompatMode |
( |
| ) |
|
◆ getContentType()
string Wikimedia\IDLeDOM\Stub\Document::getContentType |
( |
| ) |
|
◆ getCookie()
string Wikimedia\IDLeDOM\Stub\Document::getCookie |
( |
| ) |
|
◆ getCurrentScript()
- Returns
- HTMLScriptElement|null
◆ getDir()
string Wikimedia\IDLeDOM\Stub\Document::getDir |
( |
| ) |
|
◆ getDoctype()
DocumentType null Wikimedia\IDLeDOM\Stub\Document::getDoctype |
( |
| ) |
|
◆ getDocumentElement()
Element null Wikimedia\IDLeDOM\Stub\Document::getDocumentElement |
( |
| ) |
|
◆ getDocumentURI()
string Wikimedia\IDLeDOM\Stub\Document::getDocumentURI |
( |
| ) |
|
◆ getElementsByClassName()
HTMLCollection Wikimedia\IDLeDOM\Stub\Document::getElementsByClassName |
( |
string | $classNames | ) |
|
- Parameters
-
- Returns
- HTMLCollection
◆ getElementsByName()
NodeList Wikimedia\IDLeDOM\Stub\Document::getElementsByName |
( |
string | $elementName | ) |
|
- Parameters
-
- Returns
- NodeList
◆ getElementsByTagName()
HTMLCollection Wikimedia\IDLeDOM\Stub\Document::getElementsByTagName |
( |
string | $qualifiedName | ) |
|
- Parameters
-
- Returns
- HTMLCollection
◆ getElementsByTagNameNS()
HTMLCollection Wikimedia\IDLeDOM\Stub\Document::getElementsByTagNameNS |
( |
?string | $namespace, |
|
|
string | $localName ) |
- Parameters
-
?string | $namespace | |
string | $localName | |
- Returns
- HTMLCollection
◆ getEmbeds()
◆ getEncoding()
string Wikimedia\IDLeDOM\Stub\Document::getEncoding |
( |
| ) |
|
◆ getFormatOutput()
bool Wikimedia\IDLeDOM\Stub\Document::getFormatOutput |
( |
| ) |
|
◆ getForms()
◆ getHead()
- Returns
- HTMLHeadElement|null
◆ getHidden()
bool Wikimedia\IDLeDOM\Stub\Document::getHidden |
( |
| ) |
|
◆ getImages()
◆ getImplementation()
◆ getInputEncoding()
string Wikimedia\IDLeDOM\Stub\Document::getInputEncoding |
( |
| ) |
|
◆ getLastModified()
string Wikimedia\IDLeDOM\Stub\Document::getLastModified |
( |
| ) |
|
◆ getLinks()
◆ getLocation()
Location null Wikimedia\IDLeDOM\Stub\Document::getLocation |
( |
| ) |
|
◆ getOnreadystatechange()
- Returns
- EventHandlerNonNull|callable|null
◆ getOnvisibilitychange()
- Returns
- EventHandlerNonNull|callable|null
◆ getPlugins()
◆ getPreserveWhiteSpace()
bool Wikimedia\IDLeDOM\Stub\Document::getPreserveWhiteSpace |
( |
| ) |
|
◆ getReferrer()
string Wikimedia\IDLeDOM\Stub\Document::getReferrer |
( |
| ) |
|
◆ getScripts()
◆ getStrictErrorChecking()
bool Wikimedia\IDLeDOM\Stub\Document::getStrictErrorChecking |
( |
| ) |
|
◆ getTitle()
string Wikimedia\IDLeDOM\Stub\Document::getTitle |
( |
| ) |
|
◆ getURL()
string Wikimedia\IDLeDOM\Stub\Document::getURL |
( |
| ) |
|
◆ getValidateOnParse()
bool Wikimedia\IDLeDOM\Stub\Document::getValidateOnParse |
( |
| ) |
|
◆ getVisibilityState()
string Wikimedia\IDLeDOM\Stub\Document::getVisibilityState |
( |
| ) |
|
◆ hasFocus()
bool Wikimedia\IDLeDOM\Stub\Document::hasFocus |
( |
| ) |
|
◆ importNode()
Node Wikimedia\IDLeDOM\Stub\Document::importNode |
( |
| $node, |
|
|
bool | $deep = false ) |
◆ loadHTML()
bool Wikimedia\IDLeDOM\Stub\Document::loadHTML |
( |
string | $source, |
|
|
int | $options = 0 ) |
- Parameters
-
string | $source | |
int | $options | |
- Returns
- bool
◆ loadXML()
bool Wikimedia\IDLeDOM\Stub\Document::loadXML |
( |
string | $source, |
|
|
int | $options = 0 ) |
- Parameters
-
string | $source | |
int | $options | |
- Returns
- bool
◆ open()
Wikimedia IDLeDOM Document Wikimedia\IDLeDOM\Stub\Document::open |
( |
string | $type = 'text/html', |
|
|
string | $replace = '' ) |
- Parameters
-
string | $type | |
string | $replace | |
- Returns
- \Wikimedia\IDLeDOM\Document
◆ releaseEvents()
void Wikimedia\IDLeDOM\Stub\Document::releaseEvents |
( |
| ) |
|
◆ saveHTML()
string bool Wikimedia\IDLeDOM\Stub\Document::saveHTML |
( |
| $node = null | ) |
|
- Parameters
-
- Returns
- string|bool
◆ saveXML()
string bool Wikimedia\IDLeDOM\Stub\Document::saveXML |
( |
| $node = null, |
|
|
int | $options = 0 ) |
- Parameters
-
Node | null | $node | |
int | $options | |
- Returns
- string|bool
◆ setBody()
Wikimedia\IDLeDOM\Stub\Document::setBody |
( |
| $val | ) |
|
◆ setCookie()
Wikimedia\IDLeDOM\Stub\Document::setCookie |
( |
string | $val | ) |
|
◆ setDir()
Wikimedia\IDLeDOM\Stub\Document::setDir |
( |
string | $val | ) |
|
◆ setEncoding()
Wikimedia\IDLeDOM\Stub\Document::setEncoding |
( |
string | $val | ) |
|
◆ setFormatOutput()
Wikimedia\IDLeDOM\Stub\Document::setFormatOutput |
( |
bool | $val | ) |
|
◆ setOnreadystatechange()
Wikimedia\IDLeDOM\Stub\Document::setOnreadystatechange |
( |
| $val | ) |
|
- Parameters
-
EventHandlerNonNull | callable | null | $val | |
◆ setOnvisibilitychange()
Wikimedia\IDLeDOM\Stub\Document::setOnvisibilitychange |
( |
| $val | ) |
|
- Parameters
-
EventHandlerNonNull | callable | null | $val | |
◆ setPreserveWhiteSpace()
Wikimedia\IDLeDOM\Stub\Document::setPreserveWhiteSpace |
( |
bool | $val | ) |
|
◆ setStrictErrorChecking()
Wikimedia\IDLeDOM\Stub\Document::setStrictErrorChecking |
( |
bool | $val | ) |
|
◆ setTitle()
Wikimedia\IDLeDOM\Stub\Document::setTitle |
( |
string | $val | ) |
|
◆ setValidateOnParse()
Wikimedia\IDLeDOM\Stub\Document::setValidateOnParse |
( |
bool | $val | ) |
|
◆ write()
void Wikimedia\IDLeDOM\Stub\Document::write |
( |
string ... | $text | ) |
|
◆ writeln()
void Wikimedia\IDLeDOM\Stub\Document::writeln |
( |
string ... | $text | ) |
|
The documentation for this class was generated from the following file: