123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <?php
- /* For licensing terms, see /license.txt */
- /**
- * This script contains the data to fill (or empty) the database with using
- * the fillers in this directory.
- * @author Yannick Warnier <yannick.warnier@dokeos.com>
- *
- */
- $courses = array();
- $courses[] = array(
- 'code' => 'ENGLISH101',
- 'title' => 'English for beginners',
- 'description' => 'English course',
- 'category_code' => 'LANG',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- $courses[] = array(
- 'code' => 'SPANISH101',
- 'title' => 'Español para iniciantes',
- 'description' => 'Curso de español',
- 'category_code' => 'LANG',
- 'course_language' => 'es',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- $courses[] = array(
- 'code' => 'FRENCH101',
- 'title' => 'Français pour débutants',
- 'description' => 'Cours de français',
- 'category_code' => 'LANG',
- 'course_language' => 'fr',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 4
- $courses[] = array(
- 'code' => 'HISTLIT',
- 'title' => 'History of litterature',
- 'description' => 'History of English litterature from the Middle Ages to our times',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 5
- $courses[] = array(
- 'code' => 'SOLARSYSTEM',
- 'title' => 'Our solar system',
- 'description' => 'Introduction to our solar system and the interactions between planets',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 6
- $courses[] = array(
- 'code' => 'MARNAVIGATION',
- 'title' => 'Maritime Navigation',
- 'description' => 'Preparation course for the International Maritime Navigation exam',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 7
- $courses[] = array(
- 'code' => 'NATGEO',
- 'title' => 'National Geography',
- 'description' => 'Introduction to geography at a national level',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 8
- $courses[] = array(
- 'code' => 'JAPANESE101',
- 'title' => '日本語',
- 'description' => 'Japanese course for beginners',
- 'category_code' => 'LANG',
- 'course_language' => 'ja',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 9
- $courses[] = array(
- 'code' => 'TIMEMGMT',
- 'title' => 'Time management',
- 'description' => 'Learn to manage your time efficiently',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 10
- $courses[] = array(
- 'code' => 'SCRUM',
- 'title' => 'SCRUM project management basics',
- 'description' => 'Introduction to SCRUM project management for busy people',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 11
- $courses[] = array(
- 'code' => 'D2DMATHS',
- 'title' => 'Day to day mathematics',
- 'description' => 'Mathematics for busy people',
- 'category_code' => 'PROJ',
- 'course_language' => 'en',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
|