@@ -187,6 +187,9 @@ discard block |
||
| 187 | 187 | return $total; |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | + /** |
|
| 191 | + * @param string $backup_name |
|
| 192 | + */ |
|
| 190 | 193 | public function is_part($backup_name) |
| 191 | 194 | { |
| 192 | 195 | if(stristr($backup_name, "-part")) |
@@ -577,6 +580,9 @@ discard block |
||
| 577 | 580 | |
| 578 | 581 | } |
| 579 | 582 | |
| 583 | + /** |
|
| 584 | + * @param string $tmp_file |
|
| 585 | + */ |
|
| 580 | 586 | public function estimate_reading_time($tmp_file) |
| 581 | 587 | { |
| 582 | 588 | $this->logger->debug(sprintf(("Estimating file system reading time"))); |
@@ -615,6 +621,9 @@ discard block |
||
| 615 | 621 | return $name; |
| 616 | 622 | } |
| 617 | 623 | |
| 624 | + /** |
|
| 625 | + * @param string $field |
|
| 626 | + */ |
|
| 618 | 627 | public function sort_by( &$array, $field, $direction = 'asc') |
| 619 | 628 | { |
| 620 | 629 | if(strtolower($direction) == "desc" || $direction == SORT_DESC) |