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

index 68c6cbe18400d6d0941e79a8a2fa9245a5cc4c9d..66572b06323352e9b06ad52d8b42747dc30338a1 100644 (file)
@@ -1055,7 +1055,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)
 {
@@ -1142,6 +1142,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;