@@ -103,6 +103,7 @@ discard block |
||
103 | 103 | * |
104 | 104 | * @access private |
105 | 105 | * @param string the directory name |
106 | + * @param integer $file_mdate |
|
106 | 107 | * @return void |
107 | 108 | */ |
108 | 109 | function _add_dir($dir, $file_mtime, $file_mdate) |
@@ -156,6 +157,7 @@ discard block |
||
156 | 157 | * @access public |
157 | 158 | * @param mixed |
158 | 159 | * @param string |
160 | + * @param string $data |
|
159 | 161 | * @return void |
160 | 162 | */ |
161 | 163 | function add_data($filepath, $data = NULL) |
@@ -185,6 +187,7 @@ discard block |
||
185 | 187 | * @access private |
186 | 188 | * @param string the file name/path |
187 | 189 | * @param string the data to be encoded |
190 | + * @param integer $file_mdate |
|
188 | 191 | * @return void |
189 | 192 | */ |
190 | 193 | function _add_data($filepath, $data, $file_mtime, $file_mdate) |
@@ -323,7 +326,7 @@ discard block |
||
323 | 326 | * Get the Zip file |
324 | 327 | * |
325 | 328 | * @access public |
326 | - * @return binary string |
|
329 | + * @return false|string string |
|
327 | 330 | */ |
328 | 331 | function get_zip() |
329 | 332 | { |
@@ -378,7 +381,7 @@ discard block |
||
378 | 381 | * @access public |
379 | 382 | * @param string the file name |
380 | 383 | * @param string the data to be encoded |
381 | - * @return bool |
|
384 | + * @return boolean|null |
|
382 | 385 | */ |
383 | 386 | function download($filename = 'backup.zip') |
384 | 387 | { |
@@ -105,7 +105,7 @@ |
||
105 | 105 | * and "_end" respectively). It then compiles the execution times for |
106 | 106 | * all points and returns it as an array |
107 | 107 | * |
108 | - * @return array |
|
108 | + * @return string |
|
109 | 109 | */ |
110 | 110 | protected function _compile_benchmarks() |
111 | 111 | { |
@@ -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 | { |
@@ -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 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * Drop Table |
57 | 57 | * |
58 | 58 | * @access private |
59 | - * @return bool |
|
59 | + * @return string |
|
60 | 60 | */ |
61 | 61 | function _drop_table($table) |
62 | 62 | { |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * @param mixed primary key(s) |
75 | 75 | * @param mixed key(s) |
76 | 76 | * @param boolean should 'IF NOT EXISTS' be added to the SQL |
77 | - * @return bool |
|
77 | + * @return string |
|
78 | 78 | */ |
79 | 79 | function _create_table($table, $fields, $primary_keys, $keys, $if_not_exists) |
80 | 80 | { |
@@ -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 | { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * result set starts at zero |
122 | 122 | * |
123 | 123 | * @access private |
124 | - * @return array |
|
124 | + * @return boolean |
|
125 | 125 | */ |
126 | 126 | function _data_seek($n = 0) |
127 | 127 | { |
@@ -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 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 | { |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | * |
370 | 370 | * @access public |
371 | 371 | * @param string |
372 | - * @return string |
|
372 | + * @return integer |
|
373 | 373 | */ |
374 | 374 | function count_all($table = '') |
375 | 375 | { |
@@ -438,7 +438,7 @@ discard block |
||
438 | 438 | * |
439 | 439 | * @access public |
440 | 440 | * @param string the table name |
441 | - * @return object |
|
441 | + * @return string |
|
442 | 442 | */ |
443 | 443 | function _field_data($table) |
444 | 444 | { |
@@ -523,7 +523,7 @@ discard block |
||
523 | 523 | * |
524 | 524 | * @access public |
525 | 525 | * @param type |
526 | - * @return type |
|
526 | + * @return string |
|
527 | 527 | */ |
528 | 528 | function _from_tables($tables) |
529 | 529 | { |
@@ -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 | { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * result set starts at zero |
122 | 122 | * |
123 | 123 | * @access private |
124 | - * @return array |
|
124 | + * @return boolean |
|
125 | 125 | */ |
126 | 126 | function _data_seek($n = 0) |
127 | 127 | { |