ArrayWrapper::fetchAll() shortcut
This commit is contained in:
parent
18fe1ac524
commit
dc7099aa5a
@ -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)
|
function __set($name, $value)
|
||||||
{
|
{
|
||||||
$item =& $this->_items[$this->_i];
|
$item =& $this->_items[$this->_i];
|
||||||
|
Loading…
Reference in New Issue
Block a user