|
|
|
@ -160,6 +160,94 @@ class ExtraFieldFixtures extends Fixture |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'send_notification_at_a_specific_date', |
|
|
|
|
'display_text' => 'Send notification at a specific date', |
|
|
|
|
'item_type' => ExtraField::COURSE_ANNOUNCEMENT, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_DATE, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'date_to_send_notification', |
|
|
|
|
'display_text' => 'Date to send notification', |
|
|
|
|
'item_type' => ExtraField::COURSE_ANNOUNCEMENT, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_DATE, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'send_to_users_in_session', |
|
|
|
|
'display_text' => 'Send to users in session', |
|
|
|
|
'item_type' => ExtraField::SESSION_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_CHECKBOX, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'session_courses_read_only_mode', |
|
|
|
|
'display_text' => 'Lock Course In Session', |
|
|
|
|
'item_type' => ExtraField::COURSE_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_CHECKBOX, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'is_mandatory', |
|
|
|
|
'display_text' => 'Is Mandatory', |
|
|
|
|
'item_type' => ExtraField::SURVEY_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_CHECKBOX, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'show_in_catalogue', |
|
|
|
|
'display_text' => 'Show in Catalogue', |
|
|
|
|
'item_type' => ExtraField::COURSE_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_RADIO, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'multiple_language', |
|
|
|
|
'display_text' => 'Multiple Language', |
|
|
|
|
'item_type' => ExtraField::COURSE_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_SELECT_MULTIPLE, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'acquisition', |
|
|
|
|
'display_text' => 'Acquisition', |
|
|
|
|
'item_type' => ExtraField::LP_VIEW_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_RADIO, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'invisible', |
|
|
|
|
'display_text' => 'Invisible', |
|
|
|
|
'item_type' => ExtraField::LP_VIEW_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_CHECKBOX, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'start_date', |
|
|
|
|
'display_text' => 'Start Date', |
|
|
|
|
'item_type' => ExtraField::LP_ITEM_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_DATETIME, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
[ |
|
|
|
|
'variable' => 'end_date', |
|
|
|
|
'display_text' => 'End Date', |
|
|
|
|
'item_type' => ExtraField::LP_ITEM_FIELD_TYPE, |
|
|
|
|
'value_type' => ExtraField::FIELD_TYPE_DATETIME, |
|
|
|
|
'visible_to_self' => true, |
|
|
|
|
'changeable' => true, |
|
|
|
|
], |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
$options = [ |
|
|
|
|