data_courses.php 514 B

12345678910111213141516171819202122
  1. <?php //$id$
  2. /**
  3. * This script contains the data to fill (or empty) the database with using
  4. * the fillers in this directory.
  5. * @author Yannick Warnier <yannick.warnier@dokeos.com>
  6. *
  7. */
  8. /**
  9. * Initialisation section
  10. */
  11. global $_configuration;
  12. $courses = array();
  13. $courses[] = array(
  14. 'code' => 'ENGLISH101',
  15. 'title' => 'English for beginners',
  16. 'tutor' => '',
  17. 'category' => 'PROJ',
  18. 'language' => 'english',
  19. 'admin_id' => 1,
  20. 'expires' => '2020-09-01 00:00:00',
  21. 'fill' => true,
  22. );