]> granicus.if.org Git - php/commitdiff
add a note, and implement this properly later
authorSterling Hughes <sterling@php.net>
Sun, 25 May 2003 22:03:47 +0000 (22:03 +0000)
committerSterling Hughes <sterling@php.net>
Sun, 25 May 2003 22:03:47 +0000 (22:03 +0000)
ext/simplexml/simplexml.c

index f5049181f68fc7af75c17458bf737024fdc6f170..05e6fcf1b786f22894f196de5b5dd29afc99c335 100644 (file)
@@ -293,20 +293,13 @@ sxe_properties_get(zval *object TSRMLS_DC)
 
        GET_NODE(sxe, node);
 
-       node = node->xmlChildrenNode;
-       if (!sxe->node) {
-               sxe->node = node;
-       }
-
-       while (node) {
-               MAKE_STD_ZVAL(value);
-               _node_as_zval(sxe, node, value);
-
-               zend_hash_next_index_insert(rv, &value, sizeof(zval *), NULL);
-
-               node = node->next;
-       }
-
+       /* 
+        * XXX: TODO
+        * Recurse from the current node through the XML document
+        * and build an array return value.  Expensive? sure.  But
+        * if you ask for it, you get it :)
+        */
+       
        return rv;
 }
 /* }}} */