1 | <?php |
||
16 | class Module extends BaseModel\Module |
||
17 | { |
||
18 | /** |
||
19 | * update the module by id and array |
||
20 | * |
||
21 | * @since 4.0.0 |
||
22 | * |
||
23 | * @param int $moduleId identifier of the module |
||
24 | * @param array $updateArray array of the update |
||
25 | * |
||
26 | * @return bool |
||
27 | */ |
||
28 | |||
29 | public function updateByIdAndArray(int $moduleId = null, array $updateArray = []) : bool |
||
38 | |||
39 | /** |
||
40 | * enable the module by id |
||
41 | * |
||
42 | * @since 4.0.0 |
||
43 | * |
||
44 | * @param int $moduleId identifier of the module |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | |||
49 | public function enableById(int $moduleId = null) : bool |
||
58 | |||
59 | /** |
||
60 | * disable the module by id |
||
61 | * |
||
62 | * @since 4.0.0 |
||
63 | * |
||
64 | * @param int $moduleId identifier of the module |
||
65 | * |
||
66 | * @return bool |
||
67 | */ |
||
68 | |||
69 | public function disableById(int $moduleId = null) : bool |
||
78 | } |
||
79 |