Created function to create repeating show instances
Created function to create rebroadcast show instances
This commit is contained in:
parent
af622eb4b8
commit
4a86da5f87
3 changed files with 118 additions and 22 deletions
|
@ -173,6 +173,7 @@ class Application_Service_ScheduleService
|
|||
|
||||
$repeatType = ($showData['add_show_repeats']) ? $showData['add_show_repeat_type'] : -1;
|
||||
$isRecorded = (isset($showData['add_show_record']) && $showData['add_show_record']) ? 1 : 0;
|
||||
$isRebroadcast = (isset($showData['add_show_rebroadcast']) && $showData['add_show_rebroadcast']) ? 1 : 0;
|
||||
|
||||
$showData["add_show_duration"] = $this->formatShowDuration(
|
||||
$showData["add_show_duration"]);
|
||||
|
@ -194,7 +195,7 @@ class Application_Service_ScheduleService
|
|||
$this->service_show->createShowHosts($showData, $showId);
|
||||
|
||||
//create ccShowInstances
|
||||
$this->service_showInstances->createShowInstances($showId);
|
||||
$this->service_showInstances->delegateShowInstanceCreation($showId, $isRebroadcast);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue