Calling empty() on a rowset (Zend_Db_Table_Rowset) always returns false, even if the rowset has zero rows. Is there a way to make rowsets (or any iterator) work with empty()? Or is !count($rowset) the only way to test for an empty rowset?
-- Hector
Calling empty() on a rowset (Zend_Db_Table_Rowset) always returns false, even if the rowset has zero rows. Is there a way to make rowsets (or any iterator) work with empty()? Or is !count($rowset) the only way to test for an empty rowset?
-- Hector