]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/arraywrapper.php
Last type-hint is an array, added.
[quix0rs-gnu-social.git] / lib / arraywrapper.php
index f9d3c3cf946313d14b35b2ee4cfca2fd1e59a706..30cb6cfdc79da2647580d89aa32d20f6ff8a6c47 100644 (file)
@@ -48,6 +48,16 @@ class ArrayWrapper
         }
     }
 
+       function fetchAll($k= false, $v = false, $method = false)
+       {
+               if ($k !== false || $v !== false || $method !== false)
+               {
+                       $item =& $this->_items[$this->_i];
+                       return $item->fetchAll($k, $v, $method);
+               }
+               return $this->_items;
+       }
+       
     function __set($name, $value)
     {
         $item =& $this->_items[$this->_i];