logo       

cvs: pear /Tree/Memory XML.php: msg#00548

Subject: cvs: pear /Tree/Memory XML.php
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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe