CC-1985: Automatic rebroadcast of recorded content

populates rebroadcast show instances now, added a new table cc_show_rebroadcast,
added columns record, rebroadcast, instance_id, file_id to cc_show_instances table.
added column record to cc_show_days.
This commit is contained in:
naomiaro 2011-03-15 12:05:41 -04:00
parent eb2caf0adc
commit 6ef4169315
36 changed files with 4776 additions and 155 deletions

View file

@ -0,0 +1,37 @@
<?php
class Application_Form_AddShowRebroadcastDates extends Zend_Form_SubForm
{
public function init()
{
//Add type select
$this->addElement('select', 'add_show_rebroadcast_date_1', array(
'label' => 'Rebroadcast Day:',
'required' => true,
'class' => ' input_select',
'multiOptions' => array(
"0 days" => "+0 days ",
"1 day" => "+1 day ",
"2 days" => "+2 days",
"3 days" => "+3 days"
),
));
// Add start time element
$this->addElement('text', 'add_show_start_time_1', array(
'label' => 'Rebroadcast Time:',
'class' => 'input_text',
'required' => true,
'value' => '0:00',
'filters' => array('StringTrim'),
'validators' => array(
'NotEmpty',
array('date', false, array('HH:mm'))
)
));
}
}