@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * |
30 | 30 | * @access private |
31 | 31 | * @param string the database name |
32 | - * @return bool |
|
32 | + * @return string |
|
33 | 33 | */ |
34 | 34 | function _create_database($name) |
35 | 35 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * |
44 | 44 | * @access private |
45 | 45 | * @param string the database name |
46 | - * @return bool |
|
46 | + * @return string |
|
47 | 47 | */ |
48 | 48 | function _drop_database($name) |
49 | 49 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * @param mixed primary key(s) |
141 | 141 | * @param mixed key(s) |
142 | 142 | * @param boolean should 'IF NOT EXISTS' be added to the SQL |
143 | - * @return bool |
|
143 | + * @return string |
|
144 | 144 | */ |
145 | 145 | function _create_table($table, $fields, $primary_keys, $keys, $if_not_exists) |
146 | 146 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * @param string the column name |
213 | 213 | * @param array fields |
214 | 214 | * @param string the field after which we should add the new field |
215 | - * @return object |
|
215 | + * @return string |
|
216 | 216 | */ |
217 | 217 | function _alter_table($alter_type, $table, $fields, $after_field = '') |
218 | 218 | { |
@@ -130,7 +130,7 @@ |
||
130 | 130 | * result set starts at zero |
131 | 131 | * |
132 | 132 | * @access private |
133 | - * @return array |
|
133 | + * @return boolean |
|
134 | 134 | */ |
135 | 135 | function _data_seek($n = 0) |
136 | 136 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * List databases |
29 | 29 | * |
30 | 30 | * @access private |
31 | - * @return bool |
|
31 | + * @return string |
|
32 | 32 | */ |
33 | 33 | function _list_databases() |
34 | 34 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @access private |
46 | 46 | * @param string the table name |
47 | - * @return object |
|
47 | + * @return string |
|
48 | 48 | */ |
49 | 49 | function _optimize_table($table) |
50 | 50 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @access private |
62 | 62 | * @param string the table name |
63 | - * @return object |
|
63 | + * @return string |
|
64 | 64 | */ |
65 | 65 | function _repair_table($table) |
66 | 66 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * Select the database |
117 | 117 | * |
118 | 118 | * @access private called by the base class |
119 | - * @return resource |
|
119 | + * @return boolean |
|
120 | 120 | */ |
121 | 121 | public function db_select() |
122 | 122 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * @access public |
133 | 133 | * @param string |
134 | 134 | * @param string |
135 | - * @return resource |
|
135 | + * @return boolean |
|
136 | 136 | */ |
137 | 137 | public function db_set_charset($charset, $collation) |
138 | 138 | { |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | * getCursor. Returns a cursor from the datbase |
210 | 210 | * |
211 | 211 | * @access public |
212 | - * @return cursor id |
|
212 | + * @return resource id |
|
213 | 213 | */ |
214 | 214 | public function get_cursor() |
215 | 215 | { |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | * |
454 | 454 | * @access public |
455 | 455 | * @param string |
456 | - * @return string |
|
456 | + * @return integer |
|
457 | 457 | */ |
458 | 458 | public function count_all($table = '') |
459 | 459 | { |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | * |
523 | 523 | * @access public |
524 | 524 | * @param string the table name |
525 | - * @return object |
|
525 | + * @return string |
|
526 | 526 | */ |
527 | 527 | protected function _field_data($table) |
528 | 528 | { |
@@ -611,7 +611,7 @@ discard block |
||
611 | 611 | * |
612 | 612 | * @access protected |
613 | 613 | * @param type |
614 | - * @return type |
|
614 | + * @return string |
|
615 | 615 | */ |
616 | 616 | protected function _from_tables($tables) |
617 | 617 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * @param mixed primary key(s) |
62 | 62 | * @param mixed key(s) |
63 | 63 | * @param boolean should 'IF NOT EXISTS' be added to the SQL |
64 | - * @return bool |
|
64 | + * @return string |
|
65 | 65 | */ |
66 | 66 | function _create_table($table, $fields, $primary_keys, $keys, $if_not_exists) |
67 | 67 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | * @param string the default value |
187 | 187 | * @param boolean should 'NOT NULL' be added |
188 | 188 | * @param string the field after which we should add the new field |
189 | - * @return object |
|
189 | + * @return string |
|
190 | 190 | */ |
191 | 191 | function _alter_table($alter_type, $table, $column_name, $column_definition = '', $default_value = '', $null = '', $after_field = '') |
192 | 192 | { |
@@ -205,7 +205,7 @@ |
||
205 | 205 | * result set starts at zero |
206 | 206 | * |
207 | 207 | * @access protected |
208 | - * @return array |
|
208 | + * @return boolean |
|
209 | 209 | */ |
210 | 210 | protected function _data_seek($n = 0) |
211 | 211 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @access private |
46 | 46 | * @param string the table name |
47 | - * @return object |
|
47 | + * @return boolean |
|
48 | 48 | */ |
49 | 49 | function _optimize_table($table) |
50 | 50 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @access private |
62 | 62 | * @param string the table name |
63 | - * @return object |
|
63 | + * @return boolean |
|
64 | 64 | */ |
65 | 65 | function _repair_table($table) |
66 | 66 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * Select the database |
102 | 102 | * |
103 | 103 | * @access private called by the base class |
104 | - * @return resource |
|
104 | + * @return boolean |
|
105 | 105 | */ |
106 | 106 | function db_select() |
107 | 107 | { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * @access public |
118 | 118 | * @param string |
119 | 119 | * @param string |
120 | - * @return resource |
|
120 | + * @return boolean |
|
121 | 121 | */ |
122 | 122 | function db_set_charset($charset, $collation) |
123 | 123 | { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | * |
323 | 323 | * @access public |
324 | 324 | * @param string |
325 | - * @return string |
|
325 | + * @return integer |
|
326 | 326 | */ |
327 | 327 | function count_all($table = '') |
328 | 328 | { |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | * |
393 | 393 | * @access public |
394 | 394 | * @param string the table name |
395 | - * @return object |
|
395 | + * @return string |
|
396 | 396 | */ |
397 | 397 | function _field_data($table) |
398 | 398 | { |
@@ -418,7 +418,7 @@ discard block |
||
418 | 418 | * The error message number |
419 | 419 | * |
420 | 420 | * @access private |
421 | - * @return integer |
|
421 | + * @return string |
|
422 | 422 | */ |
423 | 423 | function _error_number() |
424 | 424 | { |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | * |
478 | 478 | * @access public |
479 | 479 | * @param type |
480 | - * @return type |
|
480 | + * @return string |
|
481 | 481 | */ |
482 | 482 | function _from_tables($tables) |
483 | 483 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * @param mixed primary key(s) |
74 | 74 | * @param mixed key(s) |
75 | 75 | * @param boolean should 'IF NOT EXISTS' be added to the SQL |
76 | - * @return bool |
|
76 | + * @return string |
|
77 | 77 | */ |
78 | 78 | function _create_table($table, $fields, $primary_keys, $keys, $if_not_exists) |
79 | 79 | { |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * @param string the default value |
204 | 204 | * @param boolean should 'NOT NULL' be added |
205 | 205 | * @param string the field after which we should add the new field |
206 | - * @return object |
|
206 | + * @return string |
|
207 | 207 | */ |
208 | 208 | function _alter_table($alter_type, $table, $column_name, $column_definition = '', $default_value = '', $null = '', $after_field = '') |
209 | 209 | { |