@@ -69,6 +69,9 @@ |
||
69 | 69 | return $this->doMigrationCheck($this->_pm_code) || $this->doMigrationCheck($this->_pm_pf_code); |
70 | 70 | } |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $class |
|
74 | + */ |
|
72 | 75 | function doMigrationCheck($class) { |
73 | 76 | if ( file_exists(DIR_FS_CATALOG . 'includes/modules/payment/' . $class . '.php') ) { |
74 | 77 | if ( !class_exists($class) ) { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | |
13 | 13 | //// |
14 | 14 | // Sets the status of a special product |
15 | + /** |
|
16 | + * @param string $status |
|
17 | + */ |
|
15 | 18 | function tep_set_specials_status($specials_id, $status) { |
16 | 19 | return tep_db_query("update " . TABLE_SPECIALS . " set status = '" . (int)$status . "', date_status_change = now() where specials_id = '" . (int)$specials_id . "'"); |
17 | 20 | } |
@@ -343,6 +343,9 @@ discard block |
||
343 | 343 | return $this->_check; |
344 | 344 | } |
345 | 345 | |
346 | + /** |
|
347 | + * @param string $parameter |
|
348 | + */ |
|
346 | 349 | function install($parameter = null) { |
347 | 350 | $params = $this->getParams(); |
348 | 351 | |
@@ -473,6 +476,9 @@ discard block |
||
473 | 476 | return $params; |
474 | 477 | } |
475 | 478 | |
479 | + /** |
|
480 | + * @param string $data |
|
481 | + */ |
|
476 | 482 | function _hmac($key, $data) { |
477 | 483 | if (function_exists('hash_hmac')) { |
478 | 484 | return hash_hmac('md5', $data, $key); |