]> granicus.if.org Git - php/commitdiff
- MFH Proto fix/add
authorMarcus Boerger <helly@php.net>
Wed, 17 May 2006 00:07:28 +0000 (00:07 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 17 May 2006 00:07:28 +0000 (00:07 +0000)
ext/simplexml/simplexml.c

index fffd049e49f24be0fcd070a373e9647406699be7..85ea8edebe703eaa3e3cb50530ca272c11895d3e 100644 (file)
@@ -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;