summaryrefslogtreecommitdiff
path: root/ext/simplexml
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-05-17 00:07:28 +0000
committerMarcus Boerger <helly@php.net>2006-05-17 00:07:28 +0000
commit09b741ff478637c46aca7f0ac4f40e7b67cc3041 (patch)
tree93b86e6b5504ad74fc2f3809f0f650080edfb7c5 /ext/simplexml
parent216049bb27bf9e048035be20c6248e8d81e26b64 (diff)
downloadphp-git-09b741ff478637c46aca7f0ac4f40e7b67cc3041.tar.gz
- MFH Proto fix/add
Diffstat (limited to 'ext/simplexml')
-rw-r--r--ext/simplexml/simplexml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index fffd049e49..85ea8edebe 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -1049,7 +1049,7 @@ static int sxe_objects_compare(zval *object1, zval *object2 TSRMLS_DC) /* {{{ */
}
/* }}} */
-/* {{{ array SimpleXMLElement::xpath(string path)
+/* {{{ proto array SimpleXMLElement::xpath(string path)
Runs XPath query on the XML data */
SXE_METHOD(xpath)
{
@@ -1136,6 +1136,8 @@ SXE_METHOD(xpath)
xmlXPathFreeObject(retval);
}
+/* {{{ proto bool SimpleXMLElement::registerXPathNamespace(string prefix, string ns)
+ Creates a prefix/ns context for the next XPath query */
SXE_METHOD(registerXPathNamespace)
{
php_sxe_object *sxe;