Project

General

Profile

Actions

Migration Dokeos 185 to Chamilo 20 - Courses

General

  • Migrates the courses from dokeos 185 to chamilo 2.0
  • Extension of MigrationBlock

Files involved

  • /migration/platform/dokeos185/migration_block/courses_migration_block.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_course_category.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_course.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_user_course_category.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_course_rel_user.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_course_rel_class.class.php

Block prerequisites

  • Users migration block
  • Classes migration block

Dokeos185CourseCategory

General information

  • Extension of Dokeos185MigrationDataClass
  • Database: main_database
  • Table: course_category

Validation method

  • Required Fields
    • Name

Convert method

  • Create a new course category with the data class fields

Dokeos185Course

General information

  • Extension of Dokeos185MigrationDataClass
  • Database: main_database
  • Table: course

Validation method

  • Required Fields
    • Code
    • Course category id must exist in id reference

Convert method

  • Create a new course with the data class fields in the correct course category

Dokeos185CourseUserCategory

General information

  • Extension of Dokeos185MigrationDataClass
  • Database: user_personal_database
  • Table: user_course_category

Validation method

  • Required Fields
    • Id
    • Title

Convert method

  • Create a new user course category with the data class fields

Dokeos185CourseRelUser

General information

  • Extension of Dokeos185MigrationDataClass
  • Database: main_database
  • Table: course_rel_user

Validation method

  • Required Fields
    • Status
    • Group Id
    • Tutor Id
    • User id must exist in id reference
    • Course code must exist in id reference

Convert method

  • Create a new course user relation with the data class fields

Dokeos185CourseRelClass

General information

  • Extension of Dokeos185MigrationDataClass
  • Database: main_database
  • Table: course_rel_class

Validation method

  • Required Fields
    • Class id must exist in id reference
    • Course code must exist in id reference

Convert method

  • Create a new course group relation with the data class fields

Issues/Problems/Suggestions

  • Check the is valid methods

Please report all problem by creating a new issue in the 2.0 issue list [http://support.chamilo.org/projects/chamilo-20/issues]

Updated by Sven Vanpoucke about 12 years ago ยท 13 revisions