Completed
Branch master (2665c2)
by Pierre-Henry
33:16
created
app/system/core/forms/processing/ResendActivationCoreFormProcess.php 2 patches
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use PH7\Framework\Mvc\Router\Uri, PH7\Framework\Mail\Mail;
11
+use PH7\Framework\Mvc\Router\Uri;
12
+use PH7\Framework\Mail\Mail;
12 13
 
13 14
 /** For "user" and "affiliate" module **/
14 15
 class ResendActivationCoreFormProcess extends Form
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 /** For "user" and "affiliate" module **/
14 14
 class ResendActivationCoreFormProcess extends Form
15 15
 {
16
+    /**
17
+     * @param string $sTable
18
+     */
16 19
     public function __construct($sTable)
17 20
     {
18 21
         parent::__construct();
Please login to merge, or discard this patch.
_protected/app/system/core/models/AdsCoreModel.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,6 +19,8 @@  discard block
 block discarded – undo
19 19
      *
20 20
      * @param mixed (null or integer) $mActive 1 = active otherwise null. Default value is 1.
21 21
      * @param string $sTable The table. Default value is Ads.
22
+     * @param integer $iOffset
23
+     * @param integer $iLimit
22 24
      * @return object The advertisements data.
23 25
      */
24 26
     public function get($mActive = 1, $iOffset, $iLimit, $sTable = 'Ads')
@@ -50,6 +52,10 @@  discard block
 block discarded – undo
50 52
         return $rStmt->execute();
51 53
     }
52 54
 
55
+    /**
56
+     * @param string $iId
57
+     * @param integer $iStatus
58
+     */
53 59
     public function setStatus($iId, $iStatus, $sTable = 'Ads')
54 60
     {
55 61
         AdsCore::checkTable($sTable);
@@ -60,6 +66,9 @@  discard block
 block discarded – undo
60 66
         return $rStmt->execute();
61 67
     }
62 68
 
69
+    /**
70
+     * @param string $iId
71
+     */
63 72
     public function delete($iId, $sTable = 'Ads')
64 73
     {
65 74
         AdsCore::checkTable($sTable);
Please login to merge, or discard this patch.
_protected/app/system/core/models/AffiliateCoreModel.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,9 +7,8 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Mvc\Model\Engine\Db,
12
-PH7\Framework\Mvc\Model\Engine\Util\Various;
10
+use PH7\Framework\Mvc\Model\Engine\Db;
11
+use PH7\Framework\Mvc\Model\Engine\Util\Various;
13 12
 
14 13
 // Abstract Class
15 14
 class AffiliateCoreModel extends AdminCoreModel
Please login to merge, or discard this patch.
_protected/app/system/core/models/BirthdayCoreModel.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,8 @@
 block discarded – undo
10 10
  */
11 11
 namespace PH7;
12 12
 
13
-use PH7\Framework\Date\CDateTime, PH7\Framework\Mvc\Model\Engine\Db;
13
+use PH7\Framework\Date\CDateTime;
14
+use PH7\Framework\Mvc\Model\Engine\Db;
14 15
 
15 16
 class BirthdayCoreModel
16 17
 {
Please login to merge, or discard this patch.
_protected/app/system/core/models/CommentCoreModel.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
     CREATED = 'createdDate',
22 22
     UPDATED = 'updatedDate';
23 23
 
24
+    /**
25
+     * @param string $sTable
26
+     */
24 27
     public function gets($sTable, $iApproved = 1, $sOrder = self::UPDATED, $iOffset = 0, $iLimit = 500)
25 28
     {
26 29
         $sTable = CommentCore::checkTable($sTable);
@@ -38,6 +41,9 @@  discard block
 block discarded – undo
38 41
         return $oData;
39 42
     }
40 43
 
44
+    /**
45
+     * @param integer $iApproved
46
+     */
41 47
     public function read($iRecipientId, $iApproved, $iOffset, $iLimit, $sTable)
42 48
     {
43 49
         $sTable = CommentCore::checkTable($sTable);
Please login to merge, or discard this patch.
_protected/app/system/core/models/ExistsCoreModel.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,8 @@
 block discarded – undo
11 11
  */
12 12
 namespace PH7;
13 13
 
14
-use PH7\Framework\Mvc\Model\Engine\Db, PH7\Framework\Mvc\Model\Engine\Util\Various;
14
+use PH7\Framework\Mvc\Model\Engine\Db;
15
+use PH7\Framework\Mvc\Model\Engine\Util\Various;
15 16
 
16 17
 class ExistsCoreModel extends Framework\Mvc\Model\Engine\Model
17 18
 {
Please login to merge, or discard this patch.
_protected/app/system/core/models/GameCoreModel.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -14,6 +14,12 @@
 block discarded – undo
14 14
 
15 15
     const CACHE_GROUP = 'db/sys/mod/game', CACHE_TIME = 93312000;
16 16
 
17
+    /**
18
+     * @param string $sTitle
19
+     * @param string $iGameId
20
+     * @param integer $iOffset
21
+     * @param integer $iLimit
22
+     */
17 23
     public function get($sTitle = null, $iGameId = null, $iOffset, $iLimit, $sOrder = SearchCoreModel::NAME)
18 24
     {
19 25
         $iOffset = (int) $iOffset;
Please login to merge, or discard this patch.
_protected/app/system/core/models/RatingCoreModel.php 2 patches
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@  discard block
 block discarded – undo
15 15
 
16 16
     const CACHE_GROUP = 'db/sys/core/rating', CACHE_TIME = 604800;
17 17
 
18
+    /**
19
+     * @param integer $iId
20
+     * @param string $sTable
21
+     */
18 22
     public function getVote($iId, $sTable)
19 23
     {
20 24
         $this->cache->start(self::CACHE_GROUP, 'getVote' . $iId . $sTable, static::
@@ -38,6 +42,10 @@  discard block
 block discarded – undo
38 42
         return $iData;
39 43
     }
40 44
 
45
+    /**
46
+     * @param integer $iId
47
+     * @param string $sTable
48
+     */
41 49
     public function getScore($iId, $sTable)
42 50
     {
43 51
         $this->cache->start(self::CACHE_GROUP, 'getScore' . $iId . $sTable, static::
@@ -61,6 +69,10 @@  discard block
 block discarded – undo
61 69
         return $fData;
62 70
     }
63 71
 
72
+    /**
73
+     * @param integer $iId
74
+     * @param string $sTable
75
+     */
64 76
     public function updateVotes($iId, $sTable)
65 77
     {
66 78
 
@@ -73,6 +85,10 @@  discard block
 block discarded – undo
73 85
         return $rStmt->execute();
74 86
     }
75 87
 
88
+    /**
89
+     * @param integer $iId
90
+     * @param string $sTable
91
+     */
76 92
     public function updateScore($fScore, $iId, $sTable)
77 93
     {
78 94
         $sTable = Various::checkTable($sTable);
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,8 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use PH7\Framework\Mvc\Model\Engine\Db, PH7\Framework\Mvc\Model\Engine\Util\Various;
10
+use PH7\Framework\Mvc\Model\Engine\Db;
11
+use PH7\Framework\Mvc\Model\Engine\Util\Various;
11 12
 
12 13
 // Abstract Class
13 14
 class RatingCoreModel extends Framework\Mvc\Model\Engine\Model
Please login to merge, or discard this patch.
_protected/app/system/core/models/StatisticCoreModel.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
         return $this->totalComments('Game', $iDay);
143 143
     }
144 144
 
145
+    /**
146
+     * @param string $sTable
147
+     */
145 148
     protected function totalComments($sTable, $iDay = 0)
146 149
     {
147 150
         CommentCore::checkTable($sTable);
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,9 @@
 block discarded – undo
10 10
  */
11 11
 namespace PH7;
12 12
 
13
-use
14
-PH7\Framework\Mvc\Model\Engine\Db,
15
-PH7\Framework\Mvc\Model\Engine\Record,
16
-PH7\Framework\Cache\Cache;
13
+use PH7\Framework\Mvc\Model\Engine\Db;
14
+use PH7\Framework\Mvc\Model\Engine\Record;
15
+use PH7\Framework\Cache\Cache;
17 16
 
18 17
 class StatisticCoreModel extends Framework\Mvc\Model\Statistic
19 18
 {
Please login to merge, or discard this patch.