123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?php
- /* For licensing terms, see /license.txt */
- /**
- * This script contains the data to fill (or empty) the database using
- * the fillers in this directory.
- * It contains more than 10 courses, to enable testing pagination in the
- * courses catalog. Courses are distributed in several languages and categories.
- * @author Yannick Warnier <yannick.warnier@dokeos.com>
- *
- */
- $courses = array();
- // 1
- $courses[] = array(
- 'code' => 'ENGLISH101',
- 'title' => 'English for beginners',
- 'description' => 'English course',
- 'category_code' => 'LANG',
- 'course_language' => 'english',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 2
- $courses[] = array(
- 'code' => 'SPANISH101',
- 'title' => 'Español para iniciantes',
- 'description' => 'Curso de español',
- 'category_code' => 'LANG',
- 'course_language' => 'spanish',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
- // 3
- $courses[] = array(
- 'code' => 'FRENCH101',
- 'title' => 'Français pour débutants',
- 'description' => 'Cours de français',
- 'category_code' => 'LANG',
- 'course_language' => 'french',
- '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' => 'english',
- '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' => 'english',
- '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' => 'english',
- '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' => 'english',
- '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' => 'japanese',
- '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' => 'english',
- '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' => 'english',
- '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' => 'english',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
|