git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit dc7099aa authored by Evan Prodromou's avatar Evan Prodromou

ArrayWrapper::fetchAll() shortcut

parent 18fe1ac5
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment