diff options
author | James L Parry <jim_parry@bcit.ca> | 2014-12-16 11:14:52 +0100 |
---|---|---|
committer | James L Parry <jim_parry@bcit.ca> | 2014-12-16 11:14:52 +0100 |
commit | 7830173a28dc8e3959ea9a78a334ad10c668f13f (patch) | |
tree | 5bd3dd41a55ec58f163d8478bce0b8ff94566d76 /system | |
parent | eceebe3bedfd635c41ce2d849bcb32766d1e6cb9 (diff) |
User Guide - DB Driver Reference
First stab at DB driver reference. Methods are listed in order encountered in the source file.
Parameter or return types in DB_driver updated as needed, and reflected here.
TOC entry added to bottom of database index page.
Signed-off-by:James L Parry <jim_parry@bcit.ca>
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_driver.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 7c3df42b8..fdd99167f 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -964,7 +964,7 @@ abstract class CI_DB_driver { * Calculate the aggregate query elapsed time * * @param int The number of decimal places - * @return int + * @return string */ public function elapsed_time($decimals = 6) { @@ -1034,7 +1034,7 @@ abstract class CI_DB_driver { /** * Escape String * - * @param string $str + * @param string|string[] $str * @param bool $like Whether or not the string will be used in a LIKE condition * @return string */ @@ -1103,7 +1103,7 @@ abstract class CI_DB_driver { * position is the primary key * * @param string the table name - * @return string + * @return mixed */ public function primary($table = '') { @@ -1146,7 +1146,7 @@ abstract class CI_DB_driver { * Returns an array of table names * * @param string $constrain_by_prefix = FALSE - * @return array + * @return mixed */ public function list_tables($constrain_by_prefix = FALSE) { @@ -1214,7 +1214,7 @@ abstract class CI_DB_driver { * Fetch Field Names * * @param string the table name - * @return array + * @return mixed */ public function list_fields($table = '') { |