Completed
Push — master ( 5ab385...eb8234 )
by Nicolaas
01:44
created
code/abstract/CalendarAbstractTimeView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@
 block discarded – undo
67 67
         return array($params, $title);
68 68
     }
69 69
     
70
+    /**
71
+     * @param integer $date
72
+     */
70 73
     public function getLinkParams($date)
71 74
     {
72 75
         return array(
Please login to merge, or discard this patch.
code/abstract/CalendarAbstractWeekView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@
 block discarded – undo
161 161
 
162 162
     // Private Functions
163 163
 
164
+    /**
165
+     * @param integer $day
166
+     */
164 167
     private function removeDay($day)
165 168
     {
166 169
         if (! in_array($day, $this->daysRemoved)) {
Please login to merge, or discard this patch.
code/time/CalendarTime.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -41,16 +41,25 @@  discard block
 block discarded – undo
41 41
         return $this->seconds;
42 42
     }
43 43
     
44
+    /**
45
+     * @param integer $hours
46
+     */
44 47
     public function setHours($hours)
45 48
     {
46 49
         $this->setAttribute('hours', $hours, self::$hours_max);
47 50
     }
48 51
     
52
+    /**
53
+     * @param integer $minutes
54
+     */
49 55
     public function setMinutes($minutes)
50 56
     {
51 57
         $this->setAttribute('minutes', $minutes, self::$minutes_max);
52 58
     }
53 59
     
60
+    /**
61
+     * @param integer $seconds
62
+     */
54 63
     public function setSeconds($seconds)
55 64
     {
56 65
         $this->setAttribute('seconds', $seconds, self::$seconds_max);
@@ -85,6 +94,10 @@  discard block
 block discarded – undo
85 94
     
86 95
     // Private Functions
87 96
 
97
+    /**
98
+     * @param string $name
99
+     * @param integer $max
100
+     */
88 101
     private function setAttribute($name, $value, $max)
89 102
     {
90 103
         if (is_numeric($value)) {
Please login to merge, or discard this patch.
code/views/CalendarWeekView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@
 block discarded – undo
170 170
         return $date;
171 171
     }
172 172
     
173
+    /**
174
+     * @param integer $day
175
+     */
173 176
     private function removeDay($day)
174 177
     {
175 178
         if (! in_array($day, $this->daysRemoved)) {
Please login to merge, or discard this patch.
code/views/CalendarYearView.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
         return array($params, $title);
65 65
     }
66 66
     
67
+    /**
68
+     * @param integer $date
69
+     */
67 70
     public function getLinkParams($date)
68 71
     {
69 72
         return array(
@@ -194,6 +197,9 @@  discard block
 block discarded – undo
194 197
     
195 198
     // Private Functions
196 199
 
200
+    /**
201
+     * @param integer $month
202
+     */
197 203
     private function removeMonth($month)
198 204
     {
199 205
         if (! in_array($month, $this->monthsRemoved)) {
Please login to merge, or discard this patch.
code/views/CalendarMonthView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@
 block discarded – undo
67 67
         return array($params, $title);
68 68
     }
69 69
     
70
+    /**
71
+     * @param integer $date
72
+     */
70 73
     public function getLinkParams($date)
71 74
     {
72 75
         return array(
Please login to merge, or discard this patch.