| 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 |
// |
// |
| 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 |
// ------------------------------------------------------------------ |
// ------------------------------------------------------------------ |