cvs: pecl /domxml php_domxml.c
| From: | Rob Richards | Date: | Thu, 02 Sep 2004 10:23:55 +0000 |
| Subject: | cvs: pecl /domxml php_domxml.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1770@lists.php.net to get a copy of this message | ||
rrichards Thu Sep 2 06:23:55 2004 EDT
Modified files:
/pecl/domxml php_domxml.c
Log:
prototype fixes (Mehdi Achour)
http://cvs.php.net/diff.php/pecl/domxml/php_domxml.c?r1=1.260&r2=1.261&ty=u
Index: pecl/domxml/php_domxml.c
diff -u pecl/domxml/php_domxml.c:1.260 pecl/domxml/php_domxml.c:1.261
--- pecl/domxml/php_domxml.c:1.260 Wed Jun 30 16:39:39 2004
+++ pecl/domxml/php_domxml.c Thu Sep 2 06:23:55 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.260 2004/06/30 20:39:39 fmk Exp $ */
+/* $Id: php_domxml.c,v 1.261 2004/09/02 10:23:55 rrichards Exp $ */
/* TODO
* - Support Notation Nodes
@@ -1814,7 +1814,7 @@
/* {{{ Methods of Class DomAttribute */
-/* {{{ proto array domxml_attr_name(void)
+/* {{{ proto string domxml_attr_name(void)
Returns list of attribute names
Notice: domxml_node_name() does exactly the same for attribute-nodes,
is this function here still needed, or would an alias be enough? */
@@ -1831,7 +1831,7 @@
}
/* }}} */
-/* {{{ proto array domxml_attr_value(void)
+/* {{{ proto string domxml_attr_value(void)
Returns list of attribute names */
PHP_FUNCTION(domxml_attr_value)
{
@@ -1897,7 +1897,7 @@
/* {{{ Methods of Class DomProcessingInstruction */
-/* {{{ proto array domxml_pi_target(void)
+/* {{{ proto string domxml_pi_target(void)
Returns target of pi */
PHP_FUNCTION(domxml_pi_target)
{
@@ -1912,7 +1912,7 @@
}
/* }}} */
-/* {{{ proto array domxml_pi_data(void)
+/* {{{ proto string domxml_pi_data(void)
Returns data of pi */
PHP_FUNCTION(domxml_pi_data)
{
@@ -1939,7 +1939,7 @@
/* {{{ Methods of Class DomCData */
-/* {{{ proto array domxml_cdata_length(void)
+/* {{{ proto int domxml_cdata_length(void)
Returns list of attribute names */
PHP_FUNCTION(domxml_cdata_length)
{
@@ -1986,7 +1986,7 @@
}
/* }}} */
-/* {{{ proto object domxml_node_name(void)
+/* {{{ proto string domxml_node_name(void)
Returns name of node */
PHP_FUNCTION(domxml_node_name)
{
@@ -2060,7 +2060,7 @@
}
/* }}} */
-/* {{{ proto object domxml_node_value(void)
+/* {{{ proto string domxml_node_value(void)
Returns name of value */
PHP_FUNCTION(domxml_node_value)
{
@@ -2258,7 +2258,7 @@
}
/* }}} */
-/* {{{ proto object domxml_node_has_child_nodes(void)
+/* {{{ proto bool domxml_node_has_child_nodes(void)
Returns true if node has children */
PHP_FUNCTION(domxml_node_has_child_nodes)
{
@@ -2277,7 +2277,7 @@
}
/* }}} */
-/* {{{ proto object domxml_node_has_attributes(void)
+/* {{{ proto bool domxml_node_has_attributes(void)
Returns true if node has attributes */
PHP_FUNCTION(domxml_node_has_attributes)
{
@@ -3236,7 +3236,7 @@
}
}
-/* {{{ proto string domxml_doc_get_element_by_id(string id)
+/* {{{ proto object domxml_doc_get_element_by_id(string id)
Returns element for given id or false if not found */
PHP_FUNCTION(domxml_doc_get_element_by_id)
{
@@ -3264,7 +3264,7 @@
}
/* }}} */
-/* {{{ proto string domxml_elem_get_elements_by_tagname(string tagname)
+/* {{{ proto array domxml_elem_get_elements_by_tagname(string tagname)
Returns array with nodes with given tagname in element or empty array, if not found */
PHP_FUNCTION(domxml_elem_get_elements_by_tagname)
{
@@ -3304,7 +3304,7 @@
/* {{{ Methods of Class DomDocumentType */
-/* {{{ proto array domxml_doctype_name(void)
+/* {{{ proto string domxml_doctype_name(void)
Returns name of DocumentType */
PHP_FUNCTION(domxml_doctype_name)
{
@@ -3319,7 +3319,7 @@
}
/* }}} */
-/* {{{ proto array domxml_doctype_system_id(void)
+/* {{{ proto string domxml_doctype_system_id(void)
Returns system id of DocumentType */
PHP_FUNCTION(domxml_doctype_system_id)
{
@@ -3338,7 +3338,7 @@
}
/* }}} */
-/* {{{ proto array domxml_doctype_public_id(void)
+/* {{{ proto string domxml_doctype_public_id(void)
Returns public id of DocumentType */
PHP_FUNCTION(domxml_doctype_public_id)
{