]> git.mjollnir.org Git - s9y.git/commitdiff
php5 compat
authorPenny Leach <penny@catalyst.net.nz>
Fri, 27 Jun 2008 13:15:48 +0000 (15:15 +0200)
committerPenny Leach <penny@catalyst.net.nz>
Fri, 27 Jun 2008 13:15:48 +0000 (15:15 +0200)
bundled-libs/XML/Tree.php
bundled-libs/XML/Tree/Node.php

index da50d71c382a84f5813faae1fea21c48c5b69ec3..6c1ef6e4fce92a66c239adf37dd8777d410fce1a 100644 (file)
@@ -293,7 +293,6 @@ class XML_Tree extends XML_Parser
     *
     * @return object XML_Tree
     * @access public
-    */
     function clone() {
         $clone=new XML_Tree($this->filename,$this->version);
         $clone->root=$this->root->clone();
@@ -306,6 +305,7 @@ class XML_Tree extends XML_Parser
 
         return($clone);
     }
+    */
 
     /**
     * Print text representation of XML tree.
index 7b5e318477f1bc1e33709ee131e2e51bb884d905..d0d56eb209047e827d2454ea9f8e54375de05629 100644 (file)
@@ -108,7 +108,6 @@ class XML_Tree_Node {
     * clone node and all its children (recursive)
     *
     * @return object reference to the clone-node
-    */
     function &clone() {
         $clone=new XML_Tree_Node($this->name,$this->content,$this->attributes);
 
@@ -123,11 +122,10 @@ class XML_Tree_Node {
             foreach($temp as $varname => $value)
                 if (!in_array($varname,array('name','content','attributes','children')))
                     $clone->$varname=$value;
-        */
 
         return($clone);
     }
-
+    */
     /**
     * inserts child ($child) to a specified child-position ($pos)
     *