Project

General

Profile

Actions

MigDok185 Ch20 Surveys » History » Revision 3

« Previous | Revision 3/5 (diff) | Next »
Sven Vanpoucke, 16/08/2010 10:05


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

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

Issues/Problems/Suggestions

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

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 Sven Vanpoucke over 12 years ago · 3 revisions