note 47981 added to ref.dom
| From: | anthony at ectrolinux dot com | Date: | Wed, 08 Dec 2004 03:55:56 +0000 |
| Subject: | note 47981 added to ref.dom | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81508@lists.php.net to get a copy of this message | ||
To help alleviate some of the confusion regarding the available class attributes for the DOM
extension, here is a complete listing of every attribute, by class, straight from the source
(5.0.2):
DOMStringList
->length
DOMNameList
->length
DOMImplementationList
->length
DOMNode
->nodeName
->nodeValue
->nodeType
->parentNode
->childNodes
->firstChild
->lastChild
->previousSibling
->nextSibling
->attributes
->ownerDocument
->namespaceURI
->prefix
->localName
->baseURI
->textContent
DOMNamespaceNode
->nodeName
->nodeValue
->nodeType
->prefix
->localName
->namespaceURI
->ownerDocument
->parentNode
DOMDocument
->doctype
->implementation
->documentElement
->actualEncoding
->encoding
->standalone
->version
->strictErrorChecking
->documentURI
->config
->formatOutput
->validateOnParse
->resolveExternals
->preserveWhiteSpace
->substituteEntities
->length
DOMNamedNodeMap
->length
DOMCharacterData
->data
->length
DOMAttr
->name
->specified
->value
->ownerElement
->schemaTypeInfo
DOMElement
->tagName
->schemaTypeInfo
DOMText
->wholeText
DOMTypeInfo
->typeName
->typeNamespace
DOMError
->severity
->message
->type
->relatedException
->related_data
->location
DOMLocator
->lineNumber
->columnNumber
->offset
->relatedNode
->uri
DOMDocumentType
->name
->entities
->notations
->publicId
->systemId
->internalSubset
DOMNotation
->publicId
->systemId
->nodeName
->nodeValue
->attributes
DOMEntity
->publicId
->systemId
->notationName
->actualEncoding
->encoding
->version
DOMProcessingIntruction
->target
->data
DOMXPath
->document
Please note that this information was extracted from the source code using a grep expression match
(/dom_register_prop_handler/). I make no assurances regarding the accuracy or usability of these
attributes.
----
Manual Page -- http://www.php.net/manual/en/ref.dom.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47981
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47981&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47981&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47981&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47981&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47981&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47981&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47981&report=yes
Search -- http://master.php.net/manage/user-notes.php