123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?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' => 'PROJ',
- 'course_language' => 'english',
- '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' => 'PROJ',
- 'course_language' => 'spanish',
- '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' => 'PROJ',
- 'course_language' => 'french',
- 'user_id' => 1,
- 'expiration_date' => '2020-09-01 00:00:00',
- 'exemplary_content' => true,
- );
|