Completed
Push — master ( 26776f...d9604e )
by Michael
11:31
created
class/ticketValues.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
     /**
29 29
      * Class Constructor
30 30
      *
31
-     * @param  mixed $ticketid null for a new object, hash table for an existing object
32 31
      * @return none
33 32
      * @access public
34 33
      */
Please login to merge, or discard this patch.
class/uploader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,11 +109,10 @@  discard block
 block discarded – undo
109 109
      * Constructor
110 110
      *
111 111
      * @param string $uploadDir
112
-     * @param array  $allowedMimeTypes
112
+     * @param integer  $allowedMimeTypes
113 113
      * @param int    $maxFileSize
114 114
      * @param int    $maxWidth
115 115
      * @param int    $maxHeight
116
-     * @param int    $cmodvalue
117 116
      */
118 117
     function XoopsMediaUploader($uploadDir, $allowedMimeTypes = 0, $maxFileSize, $maxWidth = 0, $maxHeight = 0)
119 118
     {
@@ -400,6 +399,7 @@  discard block
 block discarded – undo
400 399
     /**
401 400
      * Copy the file to its destination
402 401
      *
402
+     * @param integer $chmod
403 403
      * @return bool
404 404
      */
405 405
     function _copyFile($chmod)
Please login to merge, or discard this patch.
class/validator.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
     //! A manipulator
33 33
     /**
34 34
      * Adds an error message to the array
35
+     * @param string $msg
35 36
      * @return void
36 37
      */
37 38
     function setError ($msg)
@@ -403,6 +404,9 @@  discard block
 block discarded – undo
403 404
     var $mimetype;
404 405
     var $allowed_mimetypes;
405 406
 
407
+    /**
408
+     * @param string $file
409
+     */
406 410
     function ValidateMimeType($file, $mimetype, $allowed_mimetypes)
407 411
     {
408 412
         $this->file = $file;
@@ -439,6 +443,9 @@  discard block
 block discarded – undo
439 443
     var $file;
440 444
     var $maxsize;
441 445
 
446
+    /**
447
+     * @param string $file
448
+     */
442 449
     function ValidateFileSize($file, $maxsize)
443 450
     {
444 451
         $this->file = $file;
@@ -460,6 +467,9 @@  discard block
 block discarded – undo
460 467
     var $maxwidth;
461 468
     var $maxheight;
462 469
 
470
+    /**
471
+     * @param string $file
472
+     */
463 473
     function ValidateImageSize($file, $maxwidth, $maxheight)
464 474
     {
465 475
         $this->file      = $file;
Please login to merge, or discard this patch.
class/xhelpBaseObject.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@
 block discarded – undo
79 79
     /**
80 80
      * delete object based on id
81 81
      *
82
-     * @param  object $criteria {@link CriteriaElement} to match
83
-     * @return int    count of objects
82
+     * @return boolean    count of objects
84 83
      * @access public
85 84
      */
86 85
     function delete(&$obj, $force = false) {
Please login to merge, or discard this patch.
class/xhelpForm.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
 {
7 7
     var $_labelWidth;
8 8
 
9
+    /**
10
+     * @param string $width
11
+     */
9 12
     function setLabelWidth($width)
10 13
     {
11 14
         $this->_labelWidth = $width;
Please login to merge, or discard this patch.
class/xhelpFormRegex.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -8,6 +8,10 @@
 block discarded – undo
8 8
     var $_value;
9 9
     var $_caption;
10 10
 
11
+    /**
12
+     * @param string $caption
13
+     * @param string $name
14
+     */
11 15
     function xhelpFormRegex($caption, $name, $value)
12 16
     {
13 17
         $select_js = 'onchange="'. $name.'_txtbox.value = this.options[this.selectedIndex].value"';
Please login to merge, or discard this patch.
class/xhelpNaiveBayesian.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
     */
49 49
     var $nbs = null;
50 50
 
51
+    /**
52
+     * @param xhelpNaiveBayesianStorage $nbs
53
+     */
51 54
     function xhelpNaiveBayesian($nbs)
52 55
     {
53 56
         $this->nbs = $nbs;
@@ -61,6 +64,7 @@  discard block
 block discarded – undo
61 64
 
62 65
      @return array keys = category ids, values = scores
63 66
      @param string document
67
+     * @param string $document
64 68
      */
65 69
     function categorize($document)
66 70
     {
@@ -106,6 +110,9 @@  discard block
 block discarded – undo
106 110
      @param string document id, must be unique
107 111
      @param string category_id the category id in which the document should be
108 112
      @param string content of the document
113
+     * @param string $doc_id
114
+     * @param string $category_id
115
+     * @param string $content
109 116
      */
110 117
     function train($doc_id, $category_id, $content)
111 118
     {
Please login to merge, or discard this patch.
class/xhelpPageNav.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -6,6 +6,10 @@
 block discarded – undo
6 6
 {
7 7
     var $bookmark='';
8 8
 
9
+    /**
10
+     * @param integer $items_perpage
11
+     * @param integer $current_start
12
+     */
9 13
     function xhelpPageNav($total_items, $items_perpage, $current_start, $start_name="start", $extra_arg="", $bookmark="")
10 14
     {
11 15
         $this->total = intval($total_items);
Please login to merge, or discard this patch.
class/xhelpPlugin.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -88,6 +88,8 @@
 block discarded – undo
88 88
     /**
89 89
      * Add a function to be called when an event is triggered by the system
90 90
      * @access protected
91
+     * @param string $event_ctx
92
+     * @param string $event_func
91 93
      * @return void
92 94
      */
93 95
     function registerEventHandler($event_ctx, $event_func)
Please login to merge, or discard this patch.