@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * This method is called once in CI_Controller. |
141 | 141 | * |
142 | 142 | * @param array |
143 | - * @return object |
|
143 | + * @return CI_Loader |
|
144 | 144 | */ |
145 | 145 | public function initialize() |
146 | 146 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | * @param string the name of the class |
190 | 190 | * @param mixed the optional parameters |
191 | 191 | * @param string an optional object name |
192 | - * @return void |
|
192 | + * @return null|false |
|
193 | 193 | */ |
194 | 194 | public function library($library = '', $params = NULL, $object_name = NULL) |
195 | 195 | { |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | * @param string |
413 | 413 | * @param array |
414 | 414 | * @param bool |
415 | - * @return void |
|
415 | + * @return string|null |
|
416 | 416 | */ |
417 | 417 | public function view($view, $vars = array(), $return = FALSE) |
418 | 418 | { |
@@ -606,7 +606,7 @@ discard block |
||
606 | 606 | * @param string the name of the class |
607 | 607 | * @param mixed the optional parameters |
608 | 608 | * @param string an optional object name |
609 | - * @return void |
|
609 | + * @return false|null |
|
610 | 610 | */ |
611 | 611 | public function driver($library = '', $params = NULL, $object_name = NULL) |
612 | 612 | { |
@@ -736,7 +736,7 @@ discard block |
||
736 | 736 | * variables made available to view files |
737 | 737 | * |
738 | 738 | * @param array |
739 | - * @return void |
|
739 | + * @return string|null |
|
740 | 740 | */ |
741 | 741 | protected function _ci_load($_ci_data) |
742 | 742 | { |
@@ -874,6 +874,7 @@ discard block |
||
874 | 874 | * @param string the item that is being loaded |
875 | 875 | * @param mixed any additional parameters |
876 | 876 | * @param string an optional object name |
877 | + * @param string $class |
|
877 | 878 | * @return void |
878 | 879 | */ |
879 | 880 | protected function _ci_load_class($class, $params = NULL, $object_name = NULL) |
@@ -1002,6 +1003,7 @@ discard block |
||
1002 | 1003 | * @param string |
1003 | 1004 | * @param bool |
1004 | 1005 | * @param string an optional object name |
1006 | + * @param string $class |
|
1005 | 1007 | * @return null |
1006 | 1008 | */ |
1007 | 1009 | protected function _ci_init_class($class, $prefix = '', $config = FALSE, $object_name = NULL) |
@@ -1109,7 +1111,7 @@ discard block |
||
1109 | 1111 | * libraries, and helpers to be loaded automatically. |
1110 | 1112 | * |
1111 | 1113 | * @param array |
1112 | - * @return void |
|
1114 | + * @return false|null |
|
1113 | 1115 | */ |
1114 | 1116 | private function _ci_autoloader() |
1115 | 1117 | { |
@@ -1207,6 +1209,7 @@ discard block |
||
1207 | 1209 | * Get a reference to a specific library or model |
1208 | 1210 | * |
1209 | 1211 | * @param string |
1212 | + * @param string $component |
|
1210 | 1213 | * @return bool |
1211 | 1214 | */ |
1212 | 1215 | protected function &_ci_get_component($component) |
@@ -1224,6 +1227,7 @@ discard block |
||
1224 | 1227 | * |
1225 | 1228 | * @param mixed |
1226 | 1229 | * @param string |
1230 | + * @param string $extension |
|
1227 | 1231 | * @return array |
1228 | 1232 | */ |
1229 | 1233 | protected function _ci_prep_filename($filename, $extension) |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * |
134 | 134 | * @access public |
135 | 135 | * @param string |
136 | - * @return void |
|
136 | + * @return CI_Output |
|
137 | 137 | */ |
138 | 138 | function set_output($output) |
139 | 139 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * |
152 | 152 | * @access public |
153 | 153 | * @param string |
154 | - * @return void |
|
154 | + * @return CI_Output |
|
155 | 155 | */ |
156 | 156 | function append_output($output) |
157 | 157 | { |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * @access public |
181 | 181 | * @param string |
182 | 182 | * @param bool |
183 | - * @return void |
|
183 | + * @return null|CI_Output |
|
184 | 184 | */ |
185 | 185 | function set_header($header, $replace = TRUE) |
186 | 186 | { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | * |
207 | 207 | * @access public |
208 | 208 | * @param string extension of the file we're outputting |
209 | - * @return void |
|
209 | + * @return CI_Output |
|
210 | 210 | */ |
211 | 211 | function set_content_type($mime_type) |
212 | 212 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | * @access public |
243 | 243 | * @param int the status code |
244 | 244 | * @param string |
245 | - * @return void |
|
245 | + * @return CI_Output |
|
246 | 246 | */ |
247 | 247 | function set_status_header($code = 200, $text = '') |
248 | 248 | { |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | * |
259 | 259 | * @access public |
260 | 260 | * @param bool |
261 | - * @return void |
|
261 | + * @return CI_Output |
|
262 | 262 | */ |
263 | 263 | function enable_profiler($val = TRUE) |
264 | 264 | { |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | * |
277 | 277 | * @access public |
278 | 278 | * @param array |
279 | - * @return void |
|
279 | + * @return CI_Output |
|
280 | 280 | */ |
281 | 281 | function set_profiler_sections($sections) |
282 | 282 | { |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | * |
296 | 296 | * @access public |
297 | 297 | * @param integer |
298 | - * @return void |
|
298 | + * @return CI_Output |
|
299 | 299 | */ |
300 | 300 | function cache($time) |
301 | 301 | { |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | * |
320 | 320 | * @access public |
321 | 321 | * @param string |
322 | - * @return mixed |
|
322 | + * @return boolean|null |
|
323 | 323 | */ |
324 | 324 | function _display($output = '') |
325 | 325 | { |
@@ -456,6 +456,7 @@ discard block |
||
456 | 456 | * |
457 | 457 | * @access public |
458 | 458 | * @param string |
459 | + * @param string $output |
|
459 | 460 | * @return void |
460 | 461 | */ |
461 | 462 | function _write_cache($output) |
@@ -509,7 +510,7 @@ discard block |
||
509 | 510 | * @access public |
510 | 511 | * @param object config class |
511 | 512 | * @param object uri class |
512 | - * @return void |
|
513 | + * @return boolean |
|
513 | 514 | */ |
514 | 515 | function _display_cache(&$CFG, &$URI) |
515 | 516 | { |
@@ -576,7 +576,7 @@ |
||
576 | 576 | * things like j a v a s c r i p t |
577 | 577 | * |
578 | 578 | * @param type |
579 | - * @return type |
|
579 | + * @return string |
|
580 | 580 | */ |
581 | 581 | protected function _compact_exploded_words($matches) |
582 | 582 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * Generates the SELECT portion of the query |
71 | 71 | * |
72 | 72 | * @param string |
73 | - * @return object |
|
73 | + * @return CI_DB_active_record |
|
74 | 74 | */ |
75 | 75 | public function select($select = '*', $escape = NULL) |
76 | 76 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * |
109 | 109 | * @param string the field |
110 | 110 | * @param string an alias |
111 | - * @return object |
|
111 | + * @return CI_DB_active_record |
|
112 | 112 | */ |
113 | 113 | public function select_max($select = '', $alias = '') |
114 | 114 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @param string the field |
126 | 126 | * @param string an alias |
127 | - * @return object |
|
127 | + * @return CI_DB_active_record |
|
128 | 128 | */ |
129 | 129 | public function select_min($select = '', $alias = '') |
130 | 130 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * |
141 | 141 | * @param string the field |
142 | 142 | * @param string an alias |
143 | - * @return object |
|
143 | + * @return CI_DB_active_record |
|
144 | 144 | */ |
145 | 145 | public function select_avg($select = '', $alias = '') |
146 | 146 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * |
157 | 157 | * @param string the field |
158 | 158 | * @param string an alias |
159 | - * @return object |
|
159 | + * @return CI_DB_active_record |
|
160 | 160 | */ |
161 | 161 | public function select_sum($select = '', $alias = '') |
162 | 162 | { |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | * |
176 | 176 | * @param string the field |
177 | 177 | * @param string an alias |
178 | - * @return object |
|
178 | + * @return CI_DB_active_record |
|
179 | 179 | */ |
180 | 180 | protected function _max_min_avg_sum($select = '', $alias = '', $type = 'MAX') |
181 | 181 | { |
@@ -215,6 +215,7 @@ discard block |
||
215 | 215 | * Determines the alias name based on the table |
216 | 216 | * |
217 | 217 | * @param string |
218 | + * @param string $item |
|
218 | 219 | * @return string |
219 | 220 | */ |
220 | 221 | protected function _create_alias_from_table($item) |
@@ -235,7 +236,7 @@ discard block |
||
235 | 236 | * Sets a flag which tells the query string compiler to add DISTINCT |
236 | 237 | * |
237 | 238 | * @param bool |
238 | - * @return object |
|
239 | + * @return CI_DB_active_record |
|
239 | 240 | */ |
240 | 241 | public function distinct($val = TRUE) |
241 | 242 | { |
@@ -251,7 +252,8 @@ discard block |
||
251 | 252 | * Generates the FROM portion of the query |
252 | 253 | * |
253 | 254 | * @param mixed can be a string or array |
254 | - * @return object |
|
255 | + * @param string $from |
|
256 | + * @return CI_DB_active_record |
|
255 | 257 | */ |
256 | 258 | public function from($from) |
257 | 259 | { |
@@ -305,7 +307,7 @@ discard block |
||
305 | 307 | * @param string |
306 | 308 | * @param string the join condition |
307 | 309 | * @param string the type of join |
308 | - * @return object |
|
310 | + * @return CI_DB_active_record |
|
309 | 311 | */ |
310 | 312 | public function join($table, $cond, $type = '') |
311 | 313 | { |
@@ -359,7 +361,7 @@ discard block |
||
359 | 361 | * |
360 | 362 | * @param mixed |
361 | 363 | * @param mixed |
362 | - * @return object |
|
364 | + * @return CI_DB_active_record |
|
363 | 365 | */ |
364 | 366 | public function where($key, $value = NULL, $escape = TRUE) |
365 | 367 | { |
@@ -376,7 +378,7 @@ discard block |
||
376 | 378 | * |
377 | 379 | * @param mixed |
378 | 380 | * @param mixed |
379 | - * @return object |
|
381 | + * @return CI_DB_active_record |
|
380 | 382 | */ |
381 | 383 | public function or_where($key, $value = NULL, $escape = TRUE) |
382 | 384 | { |
@@ -393,7 +395,8 @@ discard block |
||
393 | 395 | * @param mixed |
394 | 396 | * @param mixed |
395 | 397 | * @param string |
396 | - * @return object |
|
398 | + * @param boolean $escape |
|
399 | + * @return CI_DB_active_record |
|
397 | 400 | */ |
398 | 401 | protected function _where($key, $value = NULL, $type = 'AND ', $escape = NULL) |
399 | 402 | { |
@@ -460,7 +463,7 @@ discard block |
||
460 | 463 | * |
461 | 464 | * @param string The field to search |
462 | 465 | * @param array The values searched on |
463 | - * @return object |
|
466 | + * @return null|CI_DB_active_record |
|
464 | 467 | */ |
465 | 468 | public function where_in($key = NULL, $values = NULL) |
466 | 469 | { |
@@ -477,7 +480,7 @@ discard block |
||
477 | 480 | * |
478 | 481 | * @param string The field to search |
479 | 482 | * @param array The values searched on |
480 | - * @return object |
|
483 | + * @return null|CI_DB_active_record |
|
481 | 484 | */ |
482 | 485 | public function or_where_in($key = NULL, $values = NULL) |
483 | 486 | { |
@@ -494,7 +497,7 @@ discard block |
||
494 | 497 | * |
495 | 498 | * @param string The field to search |
496 | 499 | * @param array The values searched on |
497 | - * @return object |
|
500 | + * @return null|CI_DB_active_record |
|
498 | 501 | */ |
499 | 502 | public function where_not_in($key = NULL, $values = NULL) |
500 | 503 | { |
@@ -511,7 +514,7 @@ discard block |
||
511 | 514 | * |
512 | 515 | * @param string The field to search |
513 | 516 | * @param array The values searched on |
514 | - * @return object |
|
517 | + * @return null|CI_DB_active_record |
|
515 | 518 | */ |
516 | 519 | public function or_where_not_in($key = NULL, $values = NULL) |
517 | 520 | { |
@@ -529,7 +532,7 @@ discard block |
||
529 | 532 | * @param array The values searched on |
530 | 533 | * @param boolean If the statement would be IN or NOT IN |
531 | 534 | * @param string |
532 | - * @return object |
|
535 | + * @return null|CI_DB_active_record |
|
533 | 536 | */ |
534 | 537 | protected function _where_in($key = NULL, $values = NULL, $not = FALSE, $type = 'AND ') |
535 | 538 | { |
@@ -576,7 +579,7 @@ discard block |
||
576 | 579 | * |
577 | 580 | * @param mixed |
578 | 581 | * @param mixed |
579 | - * @return object |
|
582 | + * @return CI_DB_active_record |
|
580 | 583 | */ |
581 | 584 | public function like($field, $match = '', $side = 'both') |
582 | 585 | { |
@@ -593,7 +596,7 @@ discard block |
||
593 | 596 | * |
594 | 597 | * @param mixed |
595 | 598 | * @param mixed |
596 | - * @return object |
|
599 | + * @return CI_DB_active_record |
|
597 | 600 | */ |
598 | 601 | public function not_like($field, $match = '', $side = 'both') |
599 | 602 | { |
@@ -610,7 +613,7 @@ discard block |
||
610 | 613 | * |
611 | 614 | * @param mixed |
612 | 615 | * @param mixed |
613 | - * @return object |
|
616 | + * @return CI_DB_active_record |
|
614 | 617 | */ |
615 | 618 | public function or_like($field, $match = '', $side = 'both') |
616 | 619 | { |
@@ -627,7 +630,7 @@ discard block |
||
627 | 630 | * |
628 | 631 | * @param mixed |
629 | 632 | * @param mixed |
630 | - * @return object |
|
633 | + * @return CI_DB_active_record |
|
631 | 634 | */ |
632 | 635 | public function or_not_like($field, $match = '', $side = 'both') |
633 | 636 | { |
@@ -645,7 +648,7 @@ discard block |
||
645 | 648 | * @param mixed |
646 | 649 | * @param mixed |
647 | 650 | * @param string |
648 | - * @return object |
|
651 | + * @return CI_DB_active_record |
|
649 | 652 | */ |
650 | 653 | protected function _like($field, $match = '', $type = 'AND ', $side = 'both', $not = '') |
651 | 654 | { |
@@ -698,7 +701,7 @@ discard block |
||
698 | 701 | * GROUP BY |
699 | 702 | * |
700 | 703 | * @param string |
701 | - * @return object |
|
704 | + * @return CI_DB_active_record |
|
702 | 705 | */ |
703 | 706 | public function group_by($by) |
704 | 707 | { |
@@ -734,7 +737,7 @@ discard block |
||
734 | 737 | * |
735 | 738 | * @param string |
736 | 739 | * @param string |
737 | - * @return object |
|
740 | + * @return CI_DB_active_record |
|
738 | 741 | */ |
739 | 742 | public function having($key, $value = '', $escape = TRUE) |
740 | 743 | { |
@@ -750,7 +753,7 @@ discard block |
||
750 | 753 | * |
751 | 754 | * @param string |
752 | 755 | * @param string |
753 | - * @return object |
|
756 | + * @return CI_DB_active_record |
|
754 | 757 | */ |
755 | 758 | public function or_having($key, $value = '', $escape = TRUE) |
756 | 759 | { |
@@ -766,7 +769,7 @@ discard block |
||
766 | 769 | * |
767 | 770 | * @param string |
768 | 771 | * @param string |
769 | - * @return object |
|
772 | + * @return CI_DB_active_record |
|
770 | 773 | */ |
771 | 774 | protected function _having($key, $value = '', $type = 'AND ', $escape = TRUE) |
772 | 775 | { |
@@ -812,7 +815,7 @@ discard block |
||
812 | 815 | * |
813 | 816 | * @param string |
814 | 817 | * @param string direction: asc or desc |
815 | - * @return object |
|
818 | + * @return CI_DB_active_record |
|
816 | 819 | */ |
817 | 820 | public function order_by($orderby, $direction = '') |
818 | 821 | { |
@@ -867,7 +870,7 @@ discard block |
||
867 | 870 | * |
868 | 871 | * @param integer the limit value |
869 | 872 | * @param integer the offset value |
870 | - * @return object |
|
873 | + * @return CI_DB_active_record |
|
871 | 874 | */ |
872 | 875 | public function limit($value, $offset = '') |
873 | 876 | { |
@@ -887,7 +890,7 @@ discard block |
||
887 | 890 | * Sets the OFFSET value |
888 | 891 | * |
889 | 892 | * @param integer the offset value |
890 | - * @return object |
|
893 | + * @return CI_DB_active_record |
|
891 | 894 | */ |
892 | 895 | public function offset($offset) |
893 | 896 | { |
@@ -903,7 +906,7 @@ discard block |
||
903 | 906 | * @param mixed |
904 | 907 | * @param string |
905 | 908 | * @param boolean |
906 | - * @return object |
|
909 | + * @return CI_DB_active_record |
|
907 | 910 | */ |
908 | 911 | public function set($key, $value = '', $escape = TRUE) |
909 | 912 | { |
@@ -969,7 +972,7 @@ discard block |
||
969 | 972 | * returned by an Active Record query. |
970 | 973 | * |
971 | 974 | * @param string |
972 | - * @return string |
|
975 | + * @return integer |
|
973 | 976 | */ |
974 | 977 | public function count_all_results($table = '') |
975 | 978 | { |
@@ -1096,7 +1099,7 @@ discard block |
||
1096 | 1099 | * @param mixed |
1097 | 1100 | * @param string |
1098 | 1101 | * @param boolean |
1099 | - * @return object |
|
1102 | + * @return null|CI_DB_active_record |
|
1100 | 1103 | */ |
1101 | 1104 | public function set_insert_batch($key, $value = '', $escape = TRUE) |
1102 | 1105 | { |
@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | * |
33 | 33 | * Grabs the CI super object instance so we can access it. |
34 | 34 | * |
35 | + * @param CI_DB_driver $db |
|
35 | 36 | */ |
36 | 37 | function __construct(&$db) |
37 | 38 | { |
@@ -115,6 +116,7 @@ discard block |
||
115 | 116 | * |
116 | 117 | * @access public |
117 | 118 | * @return bool |
119 | + * @param CI_DB_result $object |
|
118 | 120 | */ |
119 | 121 | function write($sql, $object) |
120 | 122 | { |
@@ -156,7 +158,7 @@ discard block |
||
156 | 158 | * Delete cache files within a particular directory |
157 | 159 | * |
158 | 160 | * @access public |
159 | - * @return bool |
|
161 | + * @return boolean|null |
|
160 | 162 | */ |
161 | 163 | function delete($segment_one = '', $segment_two = '') |
162 | 164 | { |
@@ -181,7 +183,7 @@ discard block |
||
181 | 183 | * Delete all existing cache files |
182 | 184 | * |
183 | 185 | * @access public |
184 | - * @return bool |
|
186 | + * @return boolean|null |
|
185 | 187 | */ |
186 | 188 | function delete_all() |
187 | 189 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * |
99 | 99 | * @access private Called by the constructor |
100 | 100 | * @param mixed |
101 | - * @return void |
|
101 | + * @return boolean |
|
102 | 102 | */ |
103 | 103 | function initialize() |
104 | 104 | { |
@@ -164,7 +164,9 @@ discard block |
||
164 | 164 | * @access public |
165 | 165 | * @param string |
166 | 166 | * @param string |
167 | - * @return resource |
|
167 | + * @param string $charset |
|
168 | + * @param string $collation |
|
169 | + * @return boolean |
|
168 | 170 | */ |
169 | 171 | function db_set_charset($charset, $collation) |
170 | 172 | { |
@@ -490,7 +492,7 @@ discard block |
||
490 | 492 | * Start Transaction |
491 | 493 | * |
492 | 494 | * @access public |
493 | - * @return void |
|
495 | + * @return false|null |
|
494 | 496 | */ |
495 | 497 | function trans_start($test_mode = FALSE) |
496 | 498 | { |
@@ -573,6 +575,7 @@ discard block |
||
573 | 575 | * @access public |
574 | 576 | * @param string the sql statement |
575 | 577 | * @param array an array of bind data |
578 | + * @param boolean $binds |
|
576 | 579 | * @return string |
577 | 580 | */ |
578 | 581 | function compile_binds($sql, $binds) |
@@ -633,7 +636,7 @@ discard block |
||
633 | 636 | * |
634 | 637 | * @access public |
635 | 638 | * @param integer The number of decimal places |
636 | - * @return integer |
|
639 | + * @return string |
|
637 | 640 | */ |
638 | 641 | function elapsed_time($decimals = 6) |
639 | 642 | { |
@@ -1040,7 +1043,7 @@ discard block |
||
1040 | 1043 | * Enable Query Caching |
1041 | 1044 | * |
1042 | 1045 | * @access public |
1043 | - * @return void |
|
1046 | + * @return boolean |
|
1044 | 1047 | */ |
1045 | 1048 | function cache_on() |
1046 | 1049 | { |
@@ -1054,7 +1057,7 @@ discard block |
||
1054 | 1057 | * Disable Query Caching |
1055 | 1058 | * |
1056 | 1059 | * @access public |
1057 | - * @return void |
|
1060 | + * @return boolean |
|
1058 | 1061 | */ |
1059 | 1062 | function cache_off() |
1060 | 1063 | { |
@@ -1069,7 +1072,7 @@ discard block |
||
1069 | 1072 | * Delete the cache files associated with a particular URI |
1070 | 1073 | * |
1071 | 1074 | * @access public |
1072 | - * @return void |
|
1075 | + * @return boolean|null |
|
1073 | 1076 | */ |
1074 | 1077 | function cache_delete($segment_one = '', $segment_two = '') |
1075 | 1078 | { |
@@ -1086,7 +1089,7 @@ discard block |
||
1086 | 1089 | * Delete All cache files |
1087 | 1090 | * |
1088 | 1091 | * @access public |
1089 | - * @return void |
|
1092 | + * @return boolean|null |
|
1090 | 1093 | */ |
1091 | 1094 | function cache_delete_all() |
1092 | 1095 | { |
@@ -1104,7 +1107,7 @@ discard block |
||
1104 | 1107 | * Initialize the Cache Class |
1105 | 1108 | * |
1106 | 1109 | * @access private |
1107 | - * @return void |
|
1110 | + * @return boolean |
|
1108 | 1111 | */ |
1109 | 1112 | function _cache_init() |
1110 | 1113 | { |
@@ -229,6 +229,7 @@ |
||
229 | 229 | * |
230 | 230 | * @access public |
231 | 231 | * @return object |
232 | + * @param string $type |
|
232 | 233 | */ |
233 | 234 | public function custom_row_object($n, $type) |
234 | 235 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * @access public |
150 | 150 | * @param string |
151 | 151 | * @param string |
152 | - * @return resource |
|
152 | + * @return boolean |
|
153 | 153 | */ |
154 | 154 | function db_set_charset($charset, $collation) |
155 | 155 | { |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | * |
382 | 382 | * @access public |
383 | 383 | * @param string |
384 | - * @return string |
|
384 | + * @return integer |
|
385 | 385 | */ |
386 | 386 | function count_all($table = '') |
387 | 387 | { |
@@ -450,7 +450,7 @@ discard block |
||
450 | 450 | * |
451 | 451 | * @access public |
452 | 452 | * @param string the table name |
453 | - * @return object |
|
453 | + * @return string |
|
454 | 454 | */ |
455 | 455 | function _field_data($table) |
456 | 456 | { |
@@ -535,7 +535,7 @@ discard block |
||
535 | 535 | * |
536 | 536 | * @access public |
537 | 537 | * @param type |
538 | - * @return type |
|
538 | + * @return string |
|
539 | 539 | */ |
540 | 540 | function _from_tables($tables) |
541 | 541 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * List databases |
29 | 29 | * |
30 | 30 | * @access private |
31 | - * @return array |
|
31 | + * @return string|false |
|
32 | 32 | */ |
33 | 33 | function _list_databases() |
34 | 34 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @access private |
58 | 58 | * @param string the table name |
59 | - * @return object |
|
59 | + * @return boolean |
|
60 | 60 | * @link http://www.cubrid.org/manual/840/en/Optimize%20Database |
61 | 61 | */ |
62 | 62 | function _optimize_table($table) |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * |
77 | 77 | * @access private |
78 | 78 | * @param string the table name |
79 | - * @return object |
|
79 | + * @return boolean |
|
80 | 80 | * @link http://www.cubrid.org/manual/840/en/Checking%20Database%20Consistency |
81 | 81 | */ |
82 | 82 | function _repair_table($table) |