From: cajus Date: Mon, 17 Aug 2009 08:48:58 +0000 (+0000) Subject: Updated filters X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f926687f254ba9d2da8e89665afe01e3356a9e42;p=gosa.git Updated filters git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14073 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_filter.inc b/gosa-core/include/class_filter.inc index 3dca983e0..108eb8ee0 100644 --- a/gosa-core/include/class_filter.inc +++ b/gosa-core/include/class_filter.inc @@ -1,4 +1,24 @@ data= $data; + } + + function rewind() { + return reset($this->data); + } + + function current() { + return current($this->data); + } + + function key() { + return key($this->data); + } + + function next() { + return next($this->data); + } + + function valid() { + return key($this->data) !== null; + } +} + +?>