@@ -186,6 +186,9 @@ discard block |
||
186 | 186 | return $total; |
187 | 187 | } |
188 | 188 | |
189 | + /** |
|
190 | + * @param string $backup_name |
|
191 | + */ |
|
189 | 192 | public function is_part($backup_name) |
190 | 193 | { |
191 | 194 | if(stristr($backup_name, "-part")) |
@@ -576,6 +579,9 @@ discard block |
||
576 | 579 | |
577 | 580 | } |
578 | 581 | |
582 | + /** |
|
583 | + * @param string $tmp_file |
|
584 | + */ |
|
579 | 585 | public function estimate_reading_time($tmp_file) |
580 | 586 | { |
581 | 587 | $this->logger->debug(sprintf(("Estimating file system reading time"))); |
@@ -634,6 +640,9 @@ discard block |
||
634 | 640 | //return ($a ($direction == 'desc' ? '>' : '<') $b) ? -1 : 1; |
635 | 641 | } |
636 | 642 | |
643 | + /** |
|
644 | + * @param string $field |
|
645 | + */ |
|
637 | 646 | public function sort_by( &$array, $field, $direction = 'asc') |
638 | 647 | { |
639 | 648 | $direction = strtolower($direction); |