From d5112f03688f2779442a3b8ce3da97557fc0e48a Mon Sep 17 00:00:00 2001 From: drigato Date: Mon, 20 Jan 2014 17:05:37 -0500 Subject: [PATCH] Added comments for a show_service function --- airtime_mvc/application/services/ShowService.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/airtime_mvc/application/services/ShowService.php b/airtime_mvc/application/services/ShowService.php index d8a7651a4..f71f9f8ca 100644 --- a/airtime_mvc/application/services/ShowService.php +++ b/airtime_mvc/application/services/ShowService.php @@ -1278,6 +1278,18 @@ SQL; return $dt; } + /** + * + * Returns a DateTime object of when the next repeating show that repeats + * monthly, by day of the week (i.e. every fourth Tuesday) should be created + * + * @param DateTime $start + * $start only has the year and month of the next show + * @param string $timezone + * @param string (i.e. '14:30' $startTime + * @param string (i.e. 'first', 'second') $weekNumberOfMonth + * @param string (i.e. 'Monday') $dayOfWeek + */ private function getNextMonthlyWeeklyRepeatDate( $start, $timezone,