_adapter->foldCase('zend_db_rownum'); foreach ($data as $row) { if (is_array($row) && array_key_exists($remove, $row)) { unset($row[$remove]); } $results[] = $row; } return $results; } /** * Fetches a row from the result set. * * @param int $style OPTIONAL Fetch mode for this fetch operation. * @param int $cursor OPTIONAL Absolute, relative, or other. * @param int $offset OPTIONAL Number for absolute or relative cursors. * @return mixed Array, object, or scalar depending on fetch mode. * @throws Zend_Db_Statement_Exception */ public function fetch($style = null, $cursor = null, $offset = null) { $row = parent::fetch($style, $cursor, $offset); $remove = $this->_adapter->foldCase('zend_db_rownum'); if (is_array($row) && array_key_exists($remove, $row)) { unset($row[$remove]); } return $row; } }