summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_result.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-12 01:48:41 +0200
committeradmin <devnull@localhost>2006-10-12 01:48:41 +0200
commit606f99c043272f96f21911d89c21cd36c2ef59e4 (patch)
tree4f73881300630f26dbc2940a11177aceabc82878 /system/database/drivers/odbc/odbc_result.php
parent4c1ab6c826c3f5c3158a38443c2d3c30203f0f5a (diff)
Diffstat (limited to 'system/database/drivers/odbc/odbc_result.php')
-rw-r--r--system/database/drivers/odbc/odbc_result.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_result.php b/system/database/drivers/odbc/odbc_result.php
index 9204d8680..ea834f9b4 100644
--- a/system/database/drivers/odbc/odbc_result.php
+++ b/system/database/drivers/odbc/odbc_result.php
@@ -60,7 +60,7 @@ class CI_DB_odbc_result extends CI_DB_result {
* @access public
* @return array
*/
- function field_names()
+ function list_fields()
{
$field_names = array();
for ($i = 0; $i < $this->num_fields(); $i++)
@@ -71,6 +71,12 @@ class CI_DB_odbc_result extends CI_DB_result {
return $field_names;
}
+ // Deprecated
+ function field_names()
+ {
+ return $this->list_fields();
+ }
+
// --------------------------------------------------------------------
/**