| @@ 120-132 (lines=13) @@ | ||
| 117 | * @param $day |
|
| 118 | * @return string |
|
| 119 | */ |
|
| 120 | private function getWeekDay($day) { |
|
| 121 | $weekdays = array( |
|
| 122 | 1 => 'Monday', |
|
| 123 | 2 => 'Tuesday', |
|
| 124 | 3 => 'Wednesday', |
|
| 125 | 4 => 'Thursday', |
|
| 126 | 5 => 'Friday', |
|
| 127 | 6 => 'Saturday', |
|
| 128 | 7 => 'Sunday', |
|
| 129 | ); |
|
| 130 | ||
| 131 | return isset($weekdays[$day]) ? $weekdays[$day] : ''; |
|
| 132 | } |
|
| 133 | ||
| 134 | } |
|
| 135 | ||
| @@ 180-192 (lines=13) @@ | ||
| 177 | * @param $day |
|
| 178 | * @return string |
|
| 179 | */ |
|
| 180 | private function getWeekDay($day) { |
|
| 181 | $weekdays = array( |
|
| 182 | 1 => 'Monday', |
|
| 183 | 2 => 'Tuesday', |
|
| 184 | 3 => 'Wednesday', |
|
| 185 | 4 => 'Thursday', |
|
| 186 | 5 => 'Friday', |
|
| 187 | 6 => 'Saturday', |
|
| 188 | 7 => 'Sunday', |
|
| 189 | ); |
|
| 190 | ||
| 191 | return isset($weekdays[$day]) ? $weekdays[$day] : ''; |
|
| 192 | } |
|
| 193 | ||
| 194 | } |
|
| 195 | ||