cain Thu Aug 29 19:10:38 2002 EDT
Modified files:
/pear/Tree/Memory XML.php
Log:
- commented not implemented methods, in order to be able to detect it and
return the proper error
Index: pear/Tree/Memory/XML.php
diff -u pear/Tree/Memory/XML.php:1.4 pear/Tree/Memory/XML.php:1.5
--- pear/Tree/Memory/XML.php:1.4 Sun Jun 2 14:00:22 2002
+++ pear/Tree/Memory/XML.php Thu Aug 29 19:10:38 2002
@@ -16,7 +16,7 @@
// | Authors: Wolfram Kriesing <wolfram@xxxxxxxxxxx> |
// +----------------------------------------------------------------------+
//
-// $Id: XML.php,v 1.4 2002/06/02 18:00:22 cain Exp $
+// $Id: XML.php,v 1.5 2002/08/29 23:10:38 cain Exp $
require_once "XML/Parser.php";
@@ -226,7 +226,7 @@
* @param array $newValues this array contains the values that shall
be inserted in the db-table
* @return mixed either boolean false on failure or the id of the
inserted row
*/
- function add( $newValues )
+/* function add( $newValues )
{
// add the data in the internal structure $this->data
$this->data[sizeof($this->data)] = $newValues;
@@ -237,12 +237,12 @@
# but that means writing the entire file every time any method that
# changes the xml-file's structure the entire file is written,
# can that not be done somehow better ???
-/*
- // and regenerate the xml file
- $this->_writeFile();
-*/
- } // end of function
+# // and regenerate the xml file
+# $this->_writeFile();
+
+ } // end of function
+*/
/**
* TO BE IMPLEMNTED
* removes the given node
@@ -253,14 +253,14 @@
* @param mixed $id the id of the node to be removed
* @return boolean true on success
*/
- function remove( $id )
+/* function remove( $id )
{
// remove the data from this->data
unset($this->data[$id]);
# see comment in "add"-method
} // end of function
-
+*/
/**
* TO BE IMPLEMNTED
* move an entry under a given parent or behind a given entry
@@ -274,14 +274,14 @@
* before would be easier, but then no element could
be inserted at the end :-/
* @return boolean true for success
*/
- function move( $idToMove , $newParentId , $prevId=0 )
+/* function move( $idToMove , $newParentId , $prevId=0 )
{
$this->data[$idToMove]['parentId'] = $newParentId;
$this->data[$idToMove]['prevId'] = $prevId;
# see comment in "add"-method
} // end of function
-
+*/
}
?>
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|