public function fetchAll($where = null,
$order = null,
$count = null,
$offset = null
) { if (!
($where instanceof Zend_Db_Table_Select
)) { $select =
$this->
select();
if ($where !== null
) { $this->
_where($select,
$where);
} if ($order !== null
) { $this->
_order($select,
$order);
} if ($count !== null ||
$offset !== null
) { $select->
limit($count,
$offset);
} } else { $select =
$where;
} $rows =
$this->
_fetch($select);