Completed
Branch v3.0 (3d1631)
by Samir
15:14
created
web_interface/astpp/system/libraries/Encrypt.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,6 +233,7 @@  discard block
 block discarded – undo
233 233
 	 * @access	private
234 234
 	 * @param	string
235 235
 	 * @param	string
236
+	 * @param string $key
236 237
 	 * @return	string
237 238
 	 */
238 239
 	function _xor_encode($string, $key)
@@ -265,6 +266,8 @@  discard block
 block discarded – undo
265 266
 	 * @access	private
266 267
 	 * @param	string
267 268
 	 * @param	string
269
+	 * @param string $string
270
+	 * @param string $key
268 271
 	 * @return	string
269 272
 	 */
270 273
 	function _xor_decode($string, $key)
@@ -312,6 +315,7 @@  discard block
 block discarded – undo
312 315
 	 * @access	public
313 316
 	 * @param	string
314 317
 	 * @param	string
318
+	 * @param string $key
315 319
 	 * @return	string
316 320
 	 */
317 321
 	function mcrypt_encode($data, $key)
@@ -329,6 +333,8 @@  discard block
 block discarded – undo
329 333
 	 * @access	public
330 334
 	 * @param	string
331 335
 	 * @param	string
336
+	 * @param string $data
337
+	 * @param string $key
332 338
 	 * @return	string
333 339
 	 */
334 340
 	function mcrypt_decode($data, $key)
@@ -358,6 +364,7 @@  discard block
 block discarded – undo
358 364
 	 * @access	private
359 365
 	 * @param	string
360 366
 	 * @param	string
367
+	 * @param string $data
361 368
 	 * @return	string
362 369
 	 */
363 370
 	function _add_cipher_noise($data, $key)
@@ -389,7 +396,7 @@  discard block
 block discarded – undo
389 396
 	 *
390 397
 	 * @access	public
391 398
 	 * @param	type
392
-	 * @return	type
399
+	 * @return	string
393 400
 	 */
394 401
 	function _remove_cipher_noise($data, $key)
395 402
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Form_validation.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 * @access	public
70 70
 	 * @param	mixed
71 71
 	 * @param	string
72
-	 * @return	void
72
+	 * @return	CI_Form_validation
73 73
 	 */
74 74
 	public function set_rules($field, $label = '', $rules = '')
75 75
 	{
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	 * @access	public
161 161
 	 * @param	string
162 162
 	 * @param	string
163
-	 * @return	string
163
+	 * @return	CI_Form_validation
164 164
 	 */
165 165
 	public function set_message($lang, $val = '')
166 166
 	{
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 	 * @access	public
185 185
 	 * @param	string
186 186
 	 * @param	string
187
-	 * @return	void
187
+	 * @return	CI_Form_validation
188 188
 	 */
189 189
 	public function set_error_delimiters($prefix = '<p>', $suffix = '</p>')
190 190
 	{
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 *
204 204
 	 * @access	public
205 205
 	 * @param	string	the field name
206
-	 * @return	void
206
+	 * @return	string
207 207
 	 */
208 208
 	public function error($field = '', $prefix = '', $suffix = '')
209 209
 	{
@@ -1089,6 +1089,7 @@  discard block
 block discarded – undo
1089 1089
 	 *
1090 1090
 	 * @access	public
1091 1091
 	 * @param	string
1092
+	 * @param string $str
1092 1093
 	 * @return	bool
1093 1094
 	 */
1094 1095
 	public function valid_email($str)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Fpdf.php 1 patch
Doc Comments   +49 added lines patch added patch discarded remove patch
@@ -178,6 +178,10 @@  discard block
 block discarded – undo
178 178
 	$this->PDFVersion = '1.3';
179 179
 }
180 180
 
181
+/**
182
+ * @param double $left
183
+ * @param double $top
184
+ */
181 185
 function SetMargins($left, $top, $right=null)
182 186
 {
183 187
 	// Set left, top and right margins
@@ -208,6 +212,9 @@  discard block
 block discarded – undo
208 212
 	$this->rMargin = $margin;
209 213
 }
210 214
 
215
+/**
216
+ * @param boolean $auto
217
+ */
211 218
 function SetAutoPageBreak($auto, $margin=0)
212 219
 {
213 220
 	// Set auto page break mode and triggering margin
@@ -216,6 +223,9 @@  discard block
 block discarded – undo
216 223
 	$this->PageBreakTrigger = $this->h-$margin;
217 224
 }
218 225
 
226
+/**
227
+ * @param string $zoom
228
+ */
219 229
 function SetDisplayMode($zoom, $layout='default')
220 230
 {
221 231
 	// Set display mode in viewer
@@ -229,6 +239,9 @@  discard block
 block discarded – undo
229 239
 		$this->Error('Incorrect layout display mode: '.$layout);
230 240
 }
231 241
 
242
+/**
243
+ * @param boolean $compress
244
+ */
232 245
 function SetCompression($compress)
233 246
 {
234 247
 	// Set page compression
@@ -409,6 +422,11 @@  discard block
 block discarded – undo
409 422
 		$this->_out($this->DrawColor);
410 423
 }
411 424
 
425
+/**
426
+ * @param integer $r
427
+ * @param integer $g
428
+ * @param integer $b
429
+ */
412 430
 function SetFillColor($r, $g=null, $b=null)
413 431
 {
414 432
 	// Set color for all filling operations
@@ -451,6 +469,10 @@  discard block
 block discarded – undo
451 469
 		$this->_out(sprintf('%.2F w',$width*$this->k));
452 470
 }
453 471
 
472
+/**
473
+ * @param integer $x1
474
+ * @param integer $x2
475
+ */
454 476
 function Line($x1, $y1, $x2, $y2)
455 477
 {
456 478
 	// Draw a line
@@ -469,6 +491,9 @@  discard block
 block discarded – undo
469 491
 	$this->_out(sprintf('%.2F %.2F %.2F %.2F re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op));
470 492
 }
471 493
 
494
+/**
495
+ * @param string $family
496
+ */
472 497
 function AddFont($family, $style='', $file='')
473 498
 {
474 499
 	// Add a TrueType, OpenType or Type1 font
@@ -505,6 +530,9 @@  discard block
 block discarded – undo
505 530
 	$this->fonts[$fontkey] = $info;
506 531
 }
507 532
 
533
+/**
534
+ * @param string $family
535
+ */
508 536
 function SetFont($family, $style='', $size=0)
509 537
 {
510 538
 	// Select a font; size given in points
@@ -584,6 +612,10 @@  discard block
 block discarded – undo
584 612
 	$this->links[$link] = array($page, $y);
585 613
 }
586 614
 
615
+/**
616
+ * @param double $y
617
+ * @param string $link
618
+ */
587 619
 function Link($x, $y, $w, $h, $link)
588 620
 {
589 621
 	// Put a link on the page
@@ -686,6 +718,10 @@  discard block
 block discarded – undo
686 718
 		$this->x += $w;
687 719
 }
688 720
 
721
+/**
722
+ * @param integer $w
723
+ * @param integer $h
724
+ */
689 725
 function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false)
690 726
 {
691 727
 	// Output text with automatic or explicit line breaks
@@ -984,6 +1020,9 @@  discard block
 block discarded – undo
984 1020
 		$this->y = $this->h+$y;
985 1021
 }
986 1022
 
1023
+/**
1024
+ * @param integer $x
1025
+ */
987 1026
 function SetXY($x, $y)
988 1027
 {
989 1028
 	// Set x and y positions
@@ -1106,6 +1145,10 @@  discard block
 block discarded – undo
1106 1145
 	}
1107 1146
 }
1108 1147
 
1148
+/**
1149
+ * @param string $orientation
1150
+ * @param string $size
1151
+ */
1109 1152
 function _beginpage($orientation, $size)
1110 1153
 {
1111 1154
 	$this->page++;
@@ -1151,6 +1194,9 @@  discard block
 block discarded – undo
1151 1194
 	$this->state = 1;
1152 1195
 }
1153 1196
 
1197
+/**
1198
+ * @param string $font
1199
+ */
1154 1200
 function _loadfont($font)
1155 1201
 {
1156 1202
 	// Load a font definition file from the font directory
@@ -1238,6 +1284,9 @@  discard block
 block discarded – undo
1238 1284
 	return array('w'=>$a[0], 'h'=>$a[1], 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'DCTDecode', 'data'=>$data);
1239 1285
 }
1240 1286
 
1287
+/**
1288
+ * @param string $file
1289
+ */
1241 1290
 function _parsepng($file)
1242 1291
 {
1243 1292
 	// Extract info from a PNG file
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Ftp.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,6 +233,8 @@  discard block
 block discarded – undo
233 233
 	 * @param	string
234 234
 	 * @param	string
235 235
 	 * @param	string
236
+	 * @param string $locpath
237
+	 * @param string $rempath
236 238
 	 * @return	bool
237 239
 	 */
238 240
 	function upload($locpath, $rempath, $mode = 'auto', $permissions = NULL)
@@ -456,6 +458,7 @@  discard block
 block discarded – undo
456 458
 	 * @access	public
457 459
 	 * @param	string	the file path
458 460
 	 * @param	string	the permissions
461
+	 * @param integer $perm
459 462
 	 * @return	bool
460 463
 	 */
461 464
 	function chmod($path, $perm)
@@ -592,6 +595,7 @@  discard block
 block discarded – undo
592 595
 	 *
593 596
 	 * @access	private
594 597
 	 * @param	string
598
+	 * @param string $ext
595 599
 	 * @return	string
596 600
 	 */
597 601
 	function _settype($ext)
@@ -624,7 +628,7 @@  discard block
 block discarded – undo
624 628
 	 * @access	public
625 629
 	 * @param	string	path to source
626 630
 	 * @param	string	path to destination
627
-	 * @return	bool
631
+	 * @return	false|null
628 632
 	 */
629 633
 	function close()
630 634
 	{
@@ -643,7 +647,8 @@  discard block
 block discarded – undo
643 647
 	 *
644 648
 	 * @access	private
645 649
 	 * @param	string
646
-	 * @return	bool
650
+	 * @param string $line
651
+	 * @return	boolean|null
647 652
 	 */
648 653
 	function _error($line)
649 654
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Javascript.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,6 +168,8 @@  discard block
 block discarded – undo
168 168
 	 * @param	string	- element
169 169
 	 * @param	string	- Javascript code for mouse over
170 170
 	 * @param	string	- Javascript code for mouse out
171
+	 * @param string $over
172
+	 * @param string $out
171 173
 	 * @return	string
172 174
 	 */
173 175
 	function hover($element = 'this', $over, $out)
@@ -675,6 +677,7 @@  discard block
 block discarded – undo
675 677
 	 * @access	public
676 678
 	 * @param	string	The element to attach the event to
677 679
 	 * @param	boolean	If a CDATA section should be added
680
+	 * @param string $script
678 681
 	 * @return	string
679 682
 	 */
680 683
 	function inline($script, $cdata = TRUE)
@@ -817,7 +820,7 @@  discard block
 block discarded – undo
817 820
 	 *
818 821
 	 * @access	public
819 822
 	 * @param	type
820
-	 * @return	type
823
+	 * @return	boolean
821 824
 	 */
822 825
 	function _is_associative_array($arr)
823 826
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/javascript/Jquery.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -861,7 +861,7 @@  discard block
 block discarded – undo
861 861
 	 * Creates a jQuery sortable
862 862
 	 *
863 863
 	 * @access	public
864
-	 * @return	void
864
+	 * @return	string
865 865
 	 */
866 866
 	function sortable($element, $options = array())
867 867
 	{
@@ -911,6 +911,8 @@  discard block
 block discarded – undo
911 911
 	 * @param	string	The element to attach the event to
912 912
 	 * @param	string	The code to execute
913 913
 	 * @param	string	The event to pass
914
+	 * @param string $element
915
+	 * @param string $event
914 916
 	 * @return	string
915 917
 	 */	
916 918
 	function _add_event($element, $js, $event)
@@ -1049,6 +1051,7 @@  discard block
 block discarded – undo
1049 1051
 	 *
1050 1052
 	 * @access	private
1051 1053
 	 * @param	string
1054
+	 * @param string $speed
1052 1055
 	 * @return	string
1053 1056
 	 */	
1054 1057
 	function _validate_speed($speed)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Migration.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@  discard block
 block discarded – undo
91 91
 	 *
92 92
 	 * @access	public
93 93
 	 * @param $version integer	Target schema version
94
+	 * @param integer $target_version
94 95
 	 * @return	mixed	TRUE if already latest, FALSE if failed, int if upgraded
95 96
 	 */
96 97
 	public function version($target_version)
@@ -309,7 +310,7 @@  discard block
 block discarded – undo
309 310
 	 * Stores the current schema version
310 311
 	 *
311 312
 	 * @access	protected
312
-	 * @param $migrations integer	Migration reached
313
+	 * @param integer $migrations integer	Migration reached
313 314
 	 * @return	void					Outputs a report of the migration
314 315
 	 */
315 316
 	protected function _update_version($migrations)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Profiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 * and "_end" respectively).  It then compiles the execution times for
106 106
 	 * all points and returns it as an array
107 107
 	 *
108
-	 * @return	array
108
+	 * @return	string
109 109
 	 */
110 110
 	protected function _compile_benchmarks()
111 111
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Session.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -423,6 +423,7 @@  discard block
 block discarded – undo
423 423
 	 *
424 424
 	 * @access	public
425 425
 	 * @param	string
426
+	 * @param string $item
426 427
 	 * @return	string
427 428
 	 */
428 429
 	function userdata($item)
@@ -614,7 +615,7 @@  discard block
 block discarded – undo
614 615
 	 * Get the "now" time
615 616
 	 *
616 617
 	 * @access	private
617
-	 * @return	string
618
+	 * @return	integer
618 619
 	 */
619 620
 	function _get_time()
620 621
 	{
Please login to merge, or discard this patch.