@@ -45,6 +45,11 @@ discard block |
||
45 | 45 | * Rename backup archive |
46 | 46 | * |
47 | 47 | */ |
48 | + |
|
49 | + /** |
|
50 | + * @param string $old_name |
|
51 | + * @param string $new_name |
|
52 | + */ |
|
48 | 53 | public function rename_archive($old_name, $new_name) |
49 | 54 | { |
50 | 55 | $this->logger->info(sprintf("Renaming backup archive %s to %s", $old_name, $new_name)); |
@@ -109,6 +114,10 @@ discard block |
||
109 | 114 | * Send notification error by E-Mail |
110 | 115 | * |
111 | 116 | */ |
117 | + |
|
118 | + /** |
|
119 | + * @param string $error_message |
|
120 | + */ |
|
112 | 121 | public function send_notification_error($to, $from, $subject, $backup_name, $params, $error_message) |
113 | 122 | { |
114 | 123 | |
@@ -133,6 +142,11 @@ discard block |
||
133 | 142 | * Send backup archive notfication by E-Mail |
134 | 143 | * |
135 | 144 | */ |
145 | + |
|
146 | + /** |
|
147 | + * @param string $from |
|
148 | + * @param string $subject |
|
149 | + */ |
|
136 | 150 | public function send_notification($to, $from, $subject, $backup_name, $params, $error_message="") |
137 | 151 | { |
138 | 152 | if(!$from) |
@@ -205,6 +219,10 @@ discard block |
||
205 | 219 | * Incremental Backup method |
206 | 220 | * |
207 | 221 | */ |
222 | + |
|
223 | + /** |
|
224 | + * @param integer $init |
|
225 | + */ |
|
208 | 226 | public function start_incremental_backup($backup_params, $extra_params, $init) |
209 | 227 | { |
210 | 228 | $return = array(); |
@@ -413,6 +431,10 @@ discard block |
||
413 | 431 | * Write multipart file components |
414 | 432 | * |
415 | 433 | */ |
434 | + |
|
435 | + /** |
|
436 | + * @param string $path |
|
437 | + */ |
|
416 | 438 | private function write_multipart_file($path) |
417 | 439 | { |
418 | 440 | $path = $this->get_archive_name_with_extension(); |
@@ -472,6 +494,10 @@ discard block |
||
472 | 494 | * Add file to archive |
473 | 495 | * |
474 | 496 | */ |
497 | + |
|
498 | + /** |
|
499 | + * @param integer $append |
|
500 | + */ |
|
475 | 501 | public function add_file_to_archive($file_info, $start_at_byte, $byte_limit = 0, $append, $filesystem) |
476 | 502 | { |
477 | 503 |