/[cvs]/nfo/php/libs/org.netfrag.flib/utils/Array_Manip.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/utils/Array_Manip.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by joko, Tue Nov 12 05:42:31 2002 UTC revision 1.2 by joko, Wed Dec 11 00:22:23 2002 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.2  2002/12/11 00:22:23  joko
7    //    +  function getModified()
8    //
9  //    Revision 1.1  2002/11/12 05:42:31  joko  //    Revision 1.1  2002/11/12 05:42:31  joko
10  //    + initial checkin  //    + initial checkin
11  //  //
# Line 50  class Array_Manip { Line 53  class Array_Manip {
53    function Array_Manip(&$haystack, $args = array()) {    function Array_Manip(&$haystack, $args = array()) {
54      $this->haystack = $haystack;      $this->haystack = $haystack;
55    }    }
56      
57      function getModified() {
58        return $this->haystack;
59      }
60    
61    function remove($needle, $level) {    function remove($needle, $level) {
62      return $this->_rm_needle_bylevel($needle, $level);      $res = $this->_rm_needle_bylevel($needle, $level);
63        return $res;
64    }    }
65    
66    // ------------------------------------------------------------------    // ------------------------------------------------------------------

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed