data_courses.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * This script contains the data to fill (or empty) the database with using
  5. * the fillers in this directory.
  6. * @author Yannick Warnier <yannick.warnier@dokeos.com>
  7. *
  8. */
  9. $courses = array();
  10. $courses[] = array(
  11. 'code' => 'ENGLISH101',
  12. 'title' => 'English for beginners',
  13. 'description' => 'English course',
  14. 'category_code' => 'LANG',
  15. 'course_language' => 'en',
  16. 'user_id' => 1,
  17. 'expiration_date' => '2020-09-01 00:00:00',
  18. 'exemplary_content' => true,
  19. );
  20. $courses[] = array(
  21. 'code' => 'SPANISH101',
  22. 'title' => 'Español para iniciantes',
  23. 'description' => 'Curso de español',
  24. 'category_code' => 'LANG',
  25. 'course_language' => 'es',
  26. 'user_id' => 1,
  27. 'expiration_date' => '2020-09-01 00:00:00',
  28. 'exemplary_content' => true,
  29. );
  30. $courses[] = array(
  31. 'code' => 'FRENCH101',
  32. 'title' => 'Français pour débutants',
  33. 'description' => 'Cours de français',
  34. 'category_code' => 'LANG',
  35. 'course_language' => 'fr',
  36. 'user_id' => 1,
  37. 'expiration_date' => '2020-09-01 00:00:00',
  38. 'exemplary_content' => true,
  39. );
  40. // 4
  41. $courses[] = array(
  42. 'code' => 'HISTLIT',
  43. 'title' => 'History of litterature',
  44. 'description' => 'History of English litterature from the Middle Ages to our times',
  45. 'category_code' => 'PROJ',
  46. 'course_language' => 'en',
  47. 'user_id' => 1,
  48. 'expiration_date' => '2020-09-01 00:00:00',
  49. 'exemplary_content' => true,
  50. );
  51. // 5
  52. $courses[] = array(
  53. 'code' => 'SOLARSYSTEM',
  54. 'title' => 'Our solar system',
  55. 'description' => 'Introduction to our solar system and the interactions between planets',
  56. 'category_code' => 'PROJ',
  57. 'course_language' => 'en',
  58. 'user_id' => 1,
  59. 'expiration_date' => '2020-09-01 00:00:00',
  60. 'exemplary_content' => true,
  61. );
  62. // 6
  63. $courses[] = array(
  64. 'code' => 'MARNAVIGATION',
  65. 'title' => 'Maritime Navigation',
  66. 'description' => 'Preparation course for the International Maritime Navigation exam',
  67. 'category_code' => 'PROJ',
  68. 'course_language' => 'en',
  69. 'user_id' => 1,
  70. 'expiration_date' => '2020-09-01 00:00:00',
  71. 'exemplary_content' => true,
  72. );
  73. // 7
  74. $courses[] = array(
  75. 'code' => 'NATGEO',
  76. 'title' => 'National Geography',
  77. 'description' => 'Introduction to geography at a national level',
  78. 'category_code' => 'PROJ',
  79. 'course_language' => 'en',
  80. 'user_id' => 1,
  81. 'expiration_date' => '2020-09-01 00:00:00',
  82. 'exemplary_content' => true,
  83. );
  84. // 8
  85. $courses[] = array(
  86. 'code' => 'JAPANESE101',
  87. 'title' => '日本語',
  88. 'description' => 'Japanese course for beginners',
  89. 'category_code' => 'LANG',
  90. 'course_language' => 'ja',
  91. 'user_id' => 1,
  92. 'expiration_date' => '2020-09-01 00:00:00',
  93. 'exemplary_content' => true,
  94. );
  95. // 9
  96. $courses[] = array(
  97. 'code' => 'TIMEMGMT',
  98. 'title' => 'Time management',
  99. 'description' => 'Learn to manage your time efficiently',
  100. 'category_code' => 'PROJ',
  101. 'course_language' => 'en',
  102. 'user_id' => 1,
  103. 'expiration_date' => '2020-09-01 00:00:00',
  104. 'exemplary_content' => true,
  105. );
  106. // 10
  107. $courses[] = array(
  108. 'code' => 'SCRUM',
  109. 'title' => 'SCRUM project management basics',
  110. 'description' => 'Introduction to SCRUM project management for busy people',
  111. 'category_code' => 'PROJ',
  112. 'course_language' => 'en',
  113. 'user_id' => 1,
  114. 'expiration_date' => '2020-09-01 00:00:00',
  115. 'exemplary_content' => true,
  116. );
  117. // 11
  118. $courses[] = array(
  119. 'code' => 'D2DMATHS',
  120. 'title' => 'Day to day mathematics',
  121. 'description' => 'Mathematics for busy people',
  122. 'category_code' => 'PROJ',
  123. 'course_language' => 'en',
  124. 'user_id' => 1,
  125. 'expiration_date' => '2020-09-01 00:00:00',
  126. 'exemplary_content' => true,
  127. );