@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @access protected |
60 | 60 | * @static |
61 | - * @param object $writer XMLWriter object |
|
61 | + * @param XMLWriter $writer XMLWriter object |
|
62 | 62 | * @param array $aData contains attributes and values |
63 | 63 | * @return void |
64 | 64 | */ |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | /** |
126 | 126 | * converts datetime back to xml schema format |
127 | 127 | * @access protected |
128 | - * @param object $dateTime |
|
128 | + * @param DateTime $dateTime |
|
129 | 129 | * @return string XML schema formatted timestamp |
130 | 130 | */ |
131 | 131 | private static function _dateTimeToXmlTimestamp($dateTime) |
@@ -171,6 +171,9 @@ discard block |
||
171 | 171 | return false; |
172 | 172 | } |
173 | 173 | |
174 | + /** |
|
175 | + * @param string $info |
|
176 | + */ |
|
174 | 177 | function getModuleInfo($module, $info) { |
175 | 178 | $class = 'OSCOM_Braintree_' . $module; |
176 | 179 | |
@@ -357,6 +360,10 @@ discard block |
||
357 | 360 | return $result; |
358 | 361 | } |
359 | 362 | |
363 | + /** |
|
364 | + * @param string $link |
|
365 | + * @param string $type |
|
366 | + */ |
|
360 | 367 | function drawButton($title = null, $link = null, $type = null, $params = null, $force_css = false) { |
361 | 368 | $colours = array('success' => '#1cb841', |
362 | 369 | 'error' => '#ca3c3c', |
@@ -413,6 +420,9 @@ discard block |
||
413 | 420 | return $button; |
414 | 421 | } |
415 | 422 | |
423 | + /** |
|
424 | + * @param integer $length |
|
425 | + */ |
|
416 | 426 | function createRandomValue($length, $type = 'mixed') { |
417 | 427 | if ( ($type != 'mixed') && ($type != 'chars') && ($type != 'digits')) $type = 'mixed'; |
418 | 428 | |
@@ -657,6 +667,9 @@ discard block |
||
657 | 667 | } |
658 | 668 | } |
659 | 669 | |
670 | + /** |
|
671 | + * @param string $filename |
|
672 | + */ |
|
660 | 673 | public function loadLanguageFile($filename, $lang = null) { |
661 | 674 | global $language; |
662 | 675 | |
@@ -698,6 +711,9 @@ discard block |
||
698 | 711 | } |
699 | 712 | } |
700 | 713 | |
714 | + /** |
|
715 | + * @param string $key |
|
716 | + */ |
|
701 | 717 | function getDef($key, $values = null) { |
702 | 718 | $def = isset($this->_definitions[$key]) ? $this->_definitions[$key] : $key; |
703 | 719 |
@@ -45,6 +45,9 @@ |
||
45 | 45 | return '<span class="smallText">Parse Time: ' . $this->timer_total . 's</span>'; |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $type |
|
50 | + */ |
|
48 | 51 | function write($message, $type) { |
49 | 52 | error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' [' . $type . '] ' . $message . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); |
50 | 53 | } |