Project

General

Profile

Actions

Migration Dokeos 185 to Chamilo 20 - Surveys

General

  • Migrates the surveys from dokeos 185 to chamilo 2.0
  • Extension of CourseDataMigrationBlock

Files involved

  • /migration/platform/dokeos185/migration_block/course_surveys_migration_block.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_survey.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_survey_question.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_survey_question_option.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_survey_answer.class.php
  • /migration/platform/dokeos185/data_class/dokeos185_survey_invitation.class.php

Block Prerequisites

  • CoursesMigrationBlock

Dokeos185Survey

General information

  • Extension of Dokeos185CourseDataMigrationClass
  • Database: course
  • Table: survey

Validation method

1. Required Fields

  • Title
  • Creation Date

Convert method

  • Create a new survey with the data class fields
  • Publish the survey in the current course

Dokeos185SurveyQuestion

General information

  • Extension of Dokeos185CourseDataMigrationClass
  • Database: course
  • Table: survey_question

Validation method

1. Required Fields

  • Survey question

Convert method

  • Create a new survey question with the data class fields, taking the question type into account
  • Add the survey question to the correct survey

Dokeos185SurveyQuestionOption

General information

  • Extension of Dokeos185CourseDataMigrationClass
  • Database: course
  • Table: survey_question_option

Validation method

  • Required fields
    • Option text
    • Survey question id must be in id reference

Convert method

  • Retrieve the survey question to which this option belongs to
  • Format the option to the correct structure
  • Add the option to the survey question

Dokeos185SurveyAnswer

General information

  • Extension of Dokeos185CourseDataMigrationClass
  • Database: course
  • Table: survey_question_answer

Validation method

  • Required fields
    • value
    • Survey question id must be in id reference

Convert method

Dokeos185SurveyInvitation

General information

  • Extension of Dokeos185CourseDataMigrationClass
  • Database: course
  • Table: survey_question_invitation

Validation method

  • Required fields
    • User id must be in id reference
    • Survey question id must be in id reference

Convert method

Issues/Problems/Suggestions

  • Check the is valid method for id references
  • Survey Answer convert method
  • Survey invitation convert method

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

Back to Migration Dokeos 1.8.5 to Chamilo 2.0 - General

Updated by a b over 12 years ago ยท 5 revisions