包 core

包 mvc

包 orm

包 form

包 database

包 helper

包 cache

包 webcontrols

包 behavior

包 exception

包 debug

类 - QDom_Document

helper
类层次 QDom_Document » DOMDocument » DOMNode
版本 $Id: dom_document.php 2424 2009-04-22 03:48:20Z yangyi $

QDom_Document 类对PHP5自带的DOMDocument进行了自己的扩展

公共方法

隐藏继承的方法

方法描述定义于
__construct() 构造函数 QDom_Document
select() xpath查询 QDom_Document
xpath() 生成当前document的xpath查询handle QDom_Document
__toString() 返回当前document的xml字符串内容 QDom_Document
createElement() DOMDocument
createDocumentFragment() DOMDocument
createTextNode() DOMDocument
createComment() DOMDocument
createCDATASection() DOMDocument
createProcessingInstruction() DOMDocument
createAttribute() DOMDocument
createEntityReference() DOMDocument
getElementsByTagName() DOMDocument
importNode() DOMDocument
createElementNS() DOMDocument
createAttributeNS() DOMDocument
getElementsByTagNameNS() DOMDocument
getElementById() DOMDocument
adoptNode() DOMDocument
normalizeDocument() DOMDocument
renameNode() DOMDocument
load() DOMDocument
save() DOMDocument
loadXML() DOMDocument
saveXML() DOMDocument
validate() DOMDocument
xinclude() DOMDocument
loadHTML() DOMDocument
loadHTMLFile() DOMDocument
saveHTML() DOMDocument
saveHTMLFile() DOMDocument
schemaValidate() DOMDocument
schemaValidateSource() DOMDocument
relaxNGValidate() DOMDocument
relaxNGValidateSource() DOMDocument
registerNodeClass() DOMDocument
insertBefore() DOMNode
replaceChild() DOMNode
removeChild() DOMNode
appendChild() DOMNode
hasChildNodes() DOMNode
cloneNode() DOMNode
normalize() DOMNode
isSupported() DOMNode
hasAttributes() DOMNode
compareDocumentPosition() DOMNode
isSameNode() DOMNode
lookupPrefix() DOMNode
isDefaultNamespace() DOMNode
lookupNamespaceUri() DOMNode
isEqualNode() DOMNode
getFeature() DOMNode
setUserData() DOMNode
getUserData() DOMNode
getNodePath() DOMNode
C14N() DOMNode
C14NFile() DOMNode

属性详细说明

$_xpath_handle 属性

xpath查询handle

方法详细说明

__construct() 方法

public void __construct($version, $encoding)

$version string
$encoding string
{return}

构造函数


select() 方法

public mixed select($query, $return_first)

$query string
$return_first boolean
{return} mixed

xpath查询


xpath() 方法

public DOMXPath xpath()

生成当前document的xpath查询handle


__toString() 方法

public string __toString()

返回当前document的xml字符串内容