data_courses.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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' => 'PROJ',
  15. 'course_language' => 'english',
  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' => 'PROJ',
  25. 'course_language' => 'spanish',
  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' => 'PROJ',
  35. 'course_language' => 'french',
  36. 'user_id' => 1,
  37. 'expiration_date' => '2020-09-01 00:00:00',
  38. 'exemplary_content' => true,
  39. );