1 | <?php |
||
22 | class Image extends AbstractApi |
||
23 | { |
||
24 | /** |
||
25 | * @param array $criteria |
||
26 | * |
||
27 | * @return ImageEntity[] |
||
28 | */ |
||
29 | public function getAll(array $criteria = []) |
||
51 | |||
52 | /** |
||
53 | * @param int $id |
||
54 | * |
||
55 | * @return ImageEntity |
||
56 | */ |
||
57 | public function getById($id) |
||
65 | |||
66 | /** |
||
67 | * @param string $slug |
||
68 | * |
||
69 | * @return ImageEntity |
||
70 | */ |
||
71 | public function getBySlug($slug) |
||
79 | |||
80 | /** |
||
81 | * @param int $id |
||
82 | * @param string $name |
||
83 | * |
||
84 | * @throws HttpException |
||
85 | * |
||
86 | * @return ImageEntity |
||
87 | */ |
||
88 | public function update($id, $name) |
||
96 | |||
97 | /** |
||
98 | * @param int $id |
||
99 | * |
||
100 | * @throws HttpException |
||
101 | */ |
||
102 | public function delete($id) |
||
106 | |||
107 | /** |
||
108 | * @param int $id |
||
109 | * @param string $regionSlug |
||
110 | * |
||
111 | * @throws HttpException |
||
112 | * |
||
113 | * @return ActionEntity |
||
114 | */ |
||
115 | public function transfer($id, $regionSlug) |
||
123 | |||
124 | /** |
||
125 | * @param int $id |
||
126 | * |
||
127 | * @throws HttpException |
||
128 | * |
||
129 | * @return ActionEntity |
||
130 | */ |
||
131 | public function convert($id) |
||
139 | |||
140 | /** |
||
141 | * @param int $id |
||
142 | * @param int $actionId |
||
143 | * |
||
144 | * @return ActionEntity |
||
145 | */ |
||
146 | public function getAction($id, $actionId) |
||
154 | } |
||
155 |