@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Change simple page meta tags |
49 | 49 | * |
50 | 50 | * @param array $model |
51 | - * @return bool |
|
51 | + * @return false|null |
|
52 | 52 | */ |
53 | 53 | public function _buildPageMeta($model) { |
54 | 54 | CI::$APP->seoexpert_model->setLastModified($model['updated']); |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * Change page category meta tags |
204 | 204 | * |
205 | 205 | * @param array $model |
206 | - * @return bool |
|
206 | + * @return false|null |
|
207 | 207 | */ |
208 | 208 | public function _buildPageCategoryMeta($model) { |
209 | 209 | $local = MY_Controller::getCurrentLocale(); |
@@ -6,6 +6,7 @@ |
||
6 | 6 | * Include file (or all recursively files in dir) |
7 | 7 | * The starting directory is the directory where the class is (witch using trait) |
8 | 8 | * @param string $filePath |
9 | + * @return void |
|
9 | 10 | */ |
10 | 11 | public function import($filePath); |
11 | 12 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Prepare array with child categorie's ids |
65 | 65 | * @param array $dataArray |
66 | - * @return boolean|array |
|
66 | + * @return false|string |
|
67 | 67 | */ |
68 | 68 | public function prepareArray($dataArray = null) { |
69 | 69 | if ($dataArray == null) { |
@@ -333,6 +333,9 @@ discard block |
||
333 | 333 | * @float $y |
334 | 334 | * @float $width |
335 | 335 | * @float $height |
336 | + * @param integer $y |
|
337 | + * @param integer $width |
|
338 | + * @param integer $height |
|
336 | 339 | * @return void |
337 | 340 | */ |
338 | 341 | protected function drawTextB($text, $x, $y, $width, $height) { |
@@ -343,7 +346,7 @@ discard block |
||
343 | 346 | /** |
344 | 347 | * Save settings |
345 | 348 | * |
346 | - * @return bool|string |
|
349 | + * @return boolean |
|
347 | 350 | */ |
348 | 351 | public function saveSettings(SPaymentMethods $paymentMethod) { |
349 | 352 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Отримуємо форму адміна при підключенні оплати |
50 | 50 | * @param integer $id способу оплати |
51 | - * @return array та форму з даними цього масиву |
|
51 | + * @return null|string та форму з даними цього масиву |
|
52 | 52 | */ |
53 | 53 | public function getAdminForm($id, $payName = null) { |
54 | 54 | if (!$this->dx_auth->is_admin()) { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * Виводить кнопку "Оплатити" при замовленні товару |
96 | 96 | * @param type $param |
97 | - * @return type |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | public function getForm($param) { |
100 | 100 | $id = $param->getPaymentMethod(); |
@@ -262,6 +262,8 @@ discard block |
||
262 | 262 | * @float $y |
263 | 263 | * @float $width |
264 | 264 | * @float $height |
265 | + * @param integer $x |
|
266 | + * @param integer $y |
|
265 | 267 | * @return void |
266 | 268 | */ |
267 | 269 | protected function drawTextUnderLine($text, $x, $y) { |
@@ -272,7 +274,7 @@ discard block |
||
272 | 274 | /** |
273 | 275 | * Save settings |
274 | 276 | * |
275 | - * @return bool|string |
|
277 | + * @return boolean |
|
276 | 278 | */ |
277 | 279 | public function saveSettings(SPaymentMethods $paymentMethod) { |
278 | 280 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -173,6 +173,9 @@ discard block |
||
173 | 173 | return ($callbackParams['md5'] == $md5); |
174 | 174 | } |
175 | 175 | |
176 | + /** |
|
177 | + * @param integer $code |
|
178 | + */ |
|
176 | 179 | public function sendAviso($callbackParams, $code) { |
177 | 180 | header("Content-type: text/xml; charset=utf-8"); |
178 | 181 | $xml = '<?xml version="1.0" encoding="UTF-8"?> |
@@ -180,6 +183,9 @@ discard block |
||
180 | 183 | echo $xml; |
181 | 184 | } |
182 | 185 | |
186 | + /** |
|
187 | + * @param integer|null $code |
|
188 | + */ |
|
183 | 189 | public function sendCode($callbackParams, $code) { |
184 | 190 | header("Content-type: text/xml; charset=utf-8"); |
185 | 191 | $xml = '<?xml version="1.0" encoding="UTF-8"?> |
@@ -230,7 +236,7 @@ discard block |
||
230 | 236 | /** |
231 | 237 | * Save settings |
232 | 238 | * |
233 | - * @return bool|string |
|
239 | + * @return boolean |
|
234 | 240 | */ |
235 | 241 | public function saveSettings(SPaymentMethods $paymentMethod) { |
236 | 242 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -106,6 +106,9 @@ |
||
106 | 106 | } |
107 | 107 | } |
108 | 108 | |
109 | + /** |
|
110 | + * @param string $flag |
|
111 | + */ |
|
109 | 112 | public function get_main_lang($flag = null) { |
110 | 113 | $lang = $this->db->get('languages')->result_array(); |
111 | 114 | $lan_array = []; |