Completed
Push — master ( 395766...48e7d6 )
by Michael
31:27 queued 21:43
created
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/return_url.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
 	}
26 26
 }
27 27
 
28
+/**
29
+ * @param string $word
30
+ */
28 31
 function  log_result($word) {
29 32
 	$fp = fopen("log.txt","a");	
30 33
 	flock($fp, LOCK_EX) ;
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="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/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/notify_url.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
 	}
26 26
 }
27 27
 
28
+/**
29
+ * @param string $word
30
+ */
28 31
 function  log_result($word) {
29 32
 	$fp = fopen("log.txt","a");	
30 33
 	flock($fp, LOCK_EX) ;
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
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
 	}
26 26
 }
27 27
 
28
+/**
29
+ * @param string $word
30
+ */
28 31
 function  log_result($word) {
29 32
 	$fp = fopen("log.txt","a");	
30 33
 	flock($fp, LOCK_EX) ;
Please login to merge, or discard this patch.
xoops-martin/pay/alipay/php-demo/return_url.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
 	}
26 26
 }
27 27
 
28
+/**
29
+ * @param string $word
30
+ */
28 31
 function  log_result($word) {
29 32
 	$fp = fopen("log.txt","a");	
30 33
 	flock($fp, LOCK_EX) ;
Please login to merge, or discard this patch.
xoops-martin/class/auction.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * create a new hotel city
163 163
      * @param bool $isNew flag the new objects as "new"?
164
-     * @return object auction
164
+     * @return MartinAuction auction
165 165
      */
166 166
     public function &create($isNew = true)
167 167
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      * @created   :2010年06月20日 13时09分
204 204
      * @copyright 1997-2010 The Martin Group
205 205
      * @author    Martin <[email protected]>
206
-     * @param      $sql
206
+     * @param      string $sql
207 207
      * @param null $key
208 208
      * @return array
209 209
      */
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
      * @author    Martin <[email protected]>
327 327
      * @param object $auction
328 328
      * @param bool   $force
329
-     * @return bool|void
329
+     * @return boolean
330 330
      */
331 331
     public function delete(&$auction, $force = false)
332 332
     {
Please login to merge, or discard this patch.