Skip to content

Commit 2118ac0

Browse files
Merge pull request #2085 from ahmedkaludi/1.28
1.28
2 parents af575f4 + 79d9332 commit 2118ac0

File tree

14 files changed

+1081
-1865
lines changed

14 files changed

+1081
-1865
lines changed

core/array-list/repeater-fields.php

Lines changed: 114 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,15 @@
120120
),
121121
'Course' => array(
122122
'course-instance' => 'course_instance'
123+
),
124+
'VacationRental' => array(
125+
'vacation-rental-porperty-images' => 'vacation_rental_property_images',
126+
'vacation-rental-bed-details' => 'vacation_rental_bed_details',
127+
'vacation-rental-amenity-feature' => 'vacation_rental_amenity_feature',
128+
'vacation-rental-review-rating' => 'vacation_rental_review_rating'
129+
),
130+
'LearningResource' => array(
131+
'learning-resource-educational-alignment' => 'learning_resource_educational_alignment',
123132
)
124133

125134
),
@@ -447,7 +456,12 @@
447456
'label' => 'Accepted Answer Author Name',
448457
'name' => 'saswp_qa_accepted_author_name',
449458
'type' => 'text',
450-
)
459+
),
460+
array(
461+
'label' => 'Author URL',
462+
'name' => 'saswp_qa_accepted_author_url',
463+
'type' => 'text'
464+
)
451465
),
452466
'suggested_answer' => array(
453467
array(
@@ -483,7 +497,12 @@
483497
'label' => 'suggested Answer Author Name',
484498
'name' => 'saswp_qa_suggested_author_name',
485499
'type' => 'text',
486-
)
500+
),
501+
array(
502+
'label' => 'Author URL',
503+
'name' => 'saswp_qa_suggested_author_url',
504+
'type' => 'text'
505+
)
487506
),
488507
'howto_tool' => array(
489508
array(
@@ -881,6 +900,98 @@
881900
'name' => 'saswp_course_instance_offer_currency',
882901
'type' => 'text'
883902
),
884-
)
903+
),
904+
'vacation_rental_bed_details' => array(
905+
array(
906+
'label' => 'Number Of Beds',
907+
'name' => 'saswp_vr_bed_details_nob',
908+
'type' => 'number'
909+
),
910+
array(
911+
'label' => 'Type Of Bed',
912+
'name' => 'saswp_vr_bed_details_tob',
913+
'type' => 'text'
914+
),
915+
),
916+
'vacation_rental_amenity_feature' => array(
917+
array(
918+
'label' => 'Name',
919+
'name' => 'saswp_vr_amenity_feature_name',
920+
'type' => 'text'
921+
),
922+
array(
923+
'label' => 'Value',
924+
'name' => 'saswp_vr_amenity_feature_value',
925+
'type' => 'text'
926+
)
927+
),
928+
'vacation_rental_property_images' => array(
929+
array(
930+
'label' => 'Property Image',
931+
'name' => 'saswp_vr_property_image',
932+
'type' => 'media',
933+
)
934+
),
935+
'vacation_rental_review_rating' => array(
936+
array(
937+
'label' => 'Rating Value',
938+
'name' => 'saswp_vr_review_rating_value',
939+
'type' => 'number'
940+
),
941+
array(
942+
'label' => 'Best Rating',
943+
'name' => 'saswp_vr_review_rating_best_value',
944+
'type' => 'number'
945+
),
946+
array(
947+
'label' => 'Author Type',
948+
'name' => 'saswp_vr_review_rating_author_type',
949+
'type' => 'select',
950+
'options' => array(
951+
'Person' => 'Person',
952+
'Organization' => 'Organization'
953+
)
954+
),
955+
array(
956+
'label' => 'Author Name',
957+
'name' => 'saswp_vr_review_rating_author_name',
958+
'type' => 'text'
959+
),
960+
array(
961+
'label' => 'Date Published',
962+
'name' => 'saswp_vr_review_rating_date_pub',
963+
'type' => 'date',
964+
'default' => get_the_date("Y-m-d")
965+
),
966+
array(
967+
'label' => 'Content Reference Time',
968+
'name' => 'saswp_vr_review_rating_cr_time',
969+
'type' => 'date',
970+
'default' => get_the_date("Y-m-d")
971+
)
972+
),
973+
'learning_resource_educational_alignment' => array(
974+
array(
975+
'label' => 'Alignment Type',
976+
'name' => 'saswp_lr_eaat',
977+
'type' => 'text'
978+
),
979+
array(
980+
'label' => 'Educational Framework',
981+
'name' => 'saswp_lr_eaef',
982+
'type' => 'text'
983+
),
984+
array(
985+
'label' => 'Target Name',
986+
'name' => 'saswp_lr_eatn',
987+
'type' => 'text'
988+
),
989+
array(
990+
'label' => 'Target URL',
991+
'name' => 'saswp_lr_eatu',
992+
'type' => 'text'
993+
),
994+
)
995+
885996
)
886997
);

0 commit comments

Comments
 (0)