1 | <?php |
||
18 | class Module |
||
19 | { |
||
20 | /** |
||
21 | * Zip helper class instance |
||
22 | * @var \gplcart\core\helpers\Zip $zip |
||
23 | */ |
||
24 | protected $zip; |
||
25 | |||
26 | /** |
||
27 | * Translation UI model instance |
||
28 | * @var \gplcart\core\models\Translation $translation |
||
29 | */ |
||
30 | protected $translation; |
||
31 | |||
32 | /** |
||
33 | * Module constructor. |
||
34 | * @param Translation $translation |
||
35 | * @param Zip $zip |
||
36 | */ |
||
37 | public function __construct(Translation $translation, Zip $zip) |
||
42 | |||
43 | /** |
||
44 | * Creates a module backup |
||
45 | * @param array $data |
||
46 | * @param \gplcart\modules\backup\models\Backup $model |
||
47 | * @return boolean |
||
48 | */ |
||
49 | public function backup(array $data, $model) |
||
72 | |||
73 | } |
||
74 |