Completed
Branch master (eb0676)
by Michael
06:22
created
xoops-martin/include/formdatetime.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,6 +20,10 @@
 block discarded – undo
20 20
 class MartinFormDateTime extends XoopsFormElementTray
21 21
 {
22 22
 
23
+	/**
24
+	 * @param string $caption
25
+	 * @param string $name
26
+	 */
23 27
 	function MartinFormDateTime($caption, $name, $size = 15, $value=0,$is_time = true)
24 28
 	{
25 29
 		$this->XoopsFormElementTray($caption, ' ');
Please login to merge, or discard this patch.
xoops-martin/include/functions.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -261,6 +261,10 @@  discard block
 block discarded – undo
261 261
  * */
262 262
 if(!function_exists('getModuleArray'))
263 263
 {
264
+/**
265
+ * @param string $module_key
266
+ * @param string $keyName
267
+ */
264 268
 function getModuleArray($module_key , $keyName = null , $is_get_arr = false , $selected = null,$ModuleConfig = null)
265 269
 {
266 270
 	global $xoopsModuleConfig;
@@ -335,6 +339,9 @@  discard block
 block discarded – undo
335 339
  * */
336 340
 if(!function_exists('MouthLastDay'))
337 341
 {
342
+/**
343
+ * @param string $mouth
344
+ */
338 345
 function MouthLastDay($mouth = null)
339 346
 {
340 347
 	$mouth = is_null($mouth) ? date('m') : $mouth; 
Please login to merge, or discard this patch.
xoops-martin/include/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 /**
71 71
  * Remove orphan tag-item links
72 72
  *
73
- * @return	boolean
73
+ * @return	boolean|null
74 74
  * 
75 75
  */
76 76
 function martin_tag_synchronization($mid)
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/alipay_notify.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
 		}else return false;
71 71
 	}
72 72
 
73
+	/**
74
+	 * @param string $url
75
+	 */
73 76
 	function get_verify($url,$time_out = "60") {
74 77
 		$urlarr = parse_url($url);
75 78
 		$errno = "";
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
 
118 121
 	}
119 122
 
123
+	/**
124
+	 * @param string $prestr
125
+	 */
120 126
 	function sign($prestr) {
121 127
 		$sign='';
122 128
 		if($this->sign_type == 'MD5') {
@@ -155,6 +161,11 @@  discard block
 block discarded – undo
155 161
 	}
156 162
 
157 163
 	//实现多种字符解码方式
164
+
165
+	/**
166
+	 * @param string $input
167
+	 * @param string $_input_charset
168
+	 */
158 169
 	function charset_decode($input,$_input_charset ,$_output_charset="utf-8"  ) {
159 170
 		$output = "";
160 171
 		if(!isset($_input_charset) )$_input_charset  = $this->_input_charset ;
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/alipay_service.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
 
72 72
 	}
73 73
 
74
+	/**
75
+	 * @param string $prestr
76
+	 */
74 77
 	function sign($prestr) {
75 78
 		$mysign = "";
76 79
 		if($this->sign_type == 'MD5') {
@@ -94,6 +97,10 @@  discard block
 block discarded – undo
94 97
 		return $para;
95 98
 	}
96 99
 	//实现多种字符编码方式
100
+
101
+	/**
102
+	 * @return string
103
+	 */
97 104
 	function charset_encode($input,$_output_charset ,$_input_charset ="utf-8" ) {
98 105
 		$output = "";
99 106
 		if(!isset($_output_charset) )$_output_charset  = $this->parameter['_input_charset '];
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/notify_url.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
 	//这里放入你自定义代码,这里放入你自定义代码,比如根据不同的trade_status进行不同操作
25 25
 	log_result ("verify_failed");
26 26
 }
27
+/**
28
+ * @param string $word
29
+ */
27 30
 function  log_result($word) {
28 31
 	$fp = fopen("log.txt","a");	
29 32
 	flock($fp, LOCK_EX) ;
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/php-demo/alipay_notify.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
 		}else return false;
71 71
 	}
72 72
 
73
+	/**
74
+	 * @param string $url
75
+	 */
73 76
 	function get_verify($url,$time_out = "60") {
74 77
 		$urlarr = parse_url($url);
75 78
 		$errno = "";
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
 
118 121
 	}
119 122
 
123
+	/**
124
+	 * @param string $prestr
125
+	 */
120 126
 	function sign($prestr) {
121 127
 		$sign='';
122 128
 		if($this->sign_type == 'MD5') {
@@ -155,6 +161,11 @@  discard block
 block discarded – undo
155 161
 	}
156 162
 
157 163
 	//ʵÏÖ¶àÖÖ×Ö·û½âÂ뷽ʽ
164
+
165
+	/**
166
+	 * @param string $input
167
+	 * @param string $_input_charset
168
+	 */
158 169
 	function charset_decode($input,$_input_charset ,$_output_charset="GBK"  ) {
159 170
 		$output = "";
160 171
 		if(!isset($_input_charset) )$_input_charset  = $this->_input_charset ;
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/php-demo/alipay_service.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
 
72 72
 	}
73 73
 
74
+	/**
75
+	 * @param string $prestr
76
+	 */
74 77
 	function sign($prestr) {
75 78
 		$mysign = "";
76 79
 		if($this->sign_type == 'MD5') {
@@ -94,6 +97,10 @@  discard block
 block discarded – undo
94 97
 		return $para;
95 98
 	}
96 99
 	//ʵÏÖ¶àÖÖ×Ö·û±àÂ뷽ʽ
100
+
101
+	/**
102
+	 * @return string
103
+	 */
97 104
 	function charset_encode($input,$_output_charset ,$_input_charset ="GBK" ) {
98 105
 		$output = "";
99 106
 		if(!isset($_output_charset) )$_output_charset  = $this->parameter['_input_charset '];
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/php-demo/notify_url.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
 	//ÕâÀï·ÅÈëÄã×Ô¶¨Òå´úÂ룬ÕâÀï·ÅÈëÄã×Ô¶¨Òå´úÂë,±ÈÈç¸ù¾Ý²»Í¬µÄtrade_status½øÐв»Í¬²Ù×÷
25 25
 	log_result ("verify_failed");
26 26
 }
27
+/**
28
+ * @param string $word
29
+ */
27 30
 function  log_result($word) {
28 31
 	$fp = fopen("log.txt","a");	
29 32
 	flock($fp, LOCK_EX) ;
Please login to merge, or discard this patch.