@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | * Execute the query |
| 267 | 267 | * |
| 268 | 268 | * @param string $sql an SQL query |
| 269 | - * @return resource |
|
| 269 | + * @return boolean |
|
| 270 | 270 | */ |
| 271 | 271 | protected function _execute($sql) |
| 272 | 272 | { |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | /** |
| 431 | 431 | * Insert ID |
| 432 | 432 | * |
| 433 | - * @return int |
|
| 433 | + * @return string|null |
|
| 434 | 434 | */ |
| 435 | 435 | public function insert_id() |
| 436 | 436 | { |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * Create database |
| 78 | 78 | * |
| 79 | 79 | * @param string $db_name |
| 80 | - * @return string |
|
| 80 | + * @return boolean |
|
| 81 | 81 | */ |
| 82 | 82 | public function create_database($db_name) |
| 83 | 83 | { |
@@ -483,7 +483,7 @@ |
||
| 483 | 483 | * @param string $orderby |
| 484 | 484 | * @param string $direction ASC, DESC or RANDOM |
| 485 | 485 | * @param bool $escape |
| 486 | - * @return object |
|
| 486 | + * @return CI_DB_query_builder |
|
| 487 | 487 | */ |
| 488 | 488 | public function order_by($orderby, $direction = '', $escape = NULL) |
| 489 | 489 | { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * |
| 98 | 98 | * @param string |
| 99 | 99 | * @param int |
| 100 | - * @return int |
|
| 100 | + * @return string |
|
| 101 | 101 | */ |
| 102 | 102 | function mdate($datestr = '', $time = '') |
| 103 | 103 | { |
@@ -220,6 +220,7 @@ discard block |
||
| 220 | 220 | * @param string path to source |
| 221 | 221 | * @param bool Look only at the top level directory specified? |
| 222 | 222 | * @param bool internal variable to determine recursion status - do not use in calls |
| 223 | + * @param string $source_dir |
|
| 223 | 224 | * @return array |
| 224 | 225 | */ |
| 225 | 226 | function get_dir_file_info($source_dir, $top_level_only = TRUE, $_recursion = FALSE) |
@@ -272,6 +273,7 @@ discard block |
||
| 272 | 273 | * |
| 273 | 274 | * @param string path to file |
| 274 | 275 | * @param mixed array or comma separated string of information returned |
| 276 | + * @param string $file |
|
| 275 | 277 | * @return array |
| 276 | 278 | */ |
| 277 | 279 | function get_file_info($file, $returned_values = array('name', 'server_path', 'size', 'date')) |
@@ -326,10 +326,10 @@ |
||
| 326 | 326 | /** |
| 327 | 327 | * Drop-down Menu |
| 328 | 328 | * |
| 329 | - * @param mixed $data |
|
| 329 | + * @param string $data |
|
| 330 | 330 | * @param mixed $options |
| 331 | 331 | * @param mixed $selected |
| 332 | - * @param mixed $extra |
|
| 332 | + * @param string|false $extra |
|
| 333 | 333 | * @return string |
| 334 | 334 | */ |
| 335 | 335 | function form_dropdown($data = '', $options = array(), $selected = array(), $extra = '') |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * @param mixed alias name or array of alias->field_id pairs |
| 62 | 62 | * @param string field_id if alias name was passed in |
| 63 | 63 | * @param bool |
| 64 | - * @return array |
|
| 64 | + * @return string |
|
| 65 | 65 | */ |
| 66 | 66 | function smiley_js($alias = '', $field_id = '', $inline = TRUE) |
| 67 | 67 | { |
@@ -275,6 +275,7 @@ |
||
| 275 | 275 | * @param string the email address |
| 276 | 276 | * @param string the link title |
| 277 | 277 | * @param mixed any attributes |
| 278 | + * @param string $email |
|
| 278 | 279 | * @return string |
| 279 | 280 | */ |
| 280 | 281 | function safe_mailto($email, $title = '', $attributes = '') |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * |
| 80 | 80 | * @param string $id Cache ID |
| 81 | 81 | * @param mixed $data Data to store |
| 82 | - * @param int $ttol Length of time (in seconds) to cache the data |
|
| 82 | + * @param int $ttl Length of time (in seconds) to cache the data |
|
| 83 | 83 | * @param bool $raw Whether to store the raw value |
| 84 | 84 | * @return bool TRUE on success, FALSE on failure |
| 85 | 85 | */ |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * |
| 115 | 115 | * @param string $id Cache ID |
| 116 | 116 | * @param int $offset Step/value to add |
| 117 | - * @return mixed New value on success or FALSE on failure |
|
| 117 | + * @return integer New value on success or FALSE on failure |
|
| 118 | 118 | */ |
| 119 | 119 | public function increment($id, $offset = 1) |
| 120 | 120 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * |
| 129 | 129 | * @param string $id Cache ID |
| 130 | 130 | * @param int $offset Step/value to reduce by |
| 131 | - * @return mixed New value on success or FALSE on failure |
|
| 131 | + * @return integer New value on success or FALSE on failure |
|
| 132 | 132 | */ |
| 133 | 133 | public function decrement($id, $offset = 1) |
| 134 | 134 | { |