You are here

class OpignoTincanQuestionTypeAnswersDatabase in Opigno TinCan Question Type 7

This class provide the information about the user's answers table.

Hierarchy

Expanded class hierarchy of OpignoTincanQuestionTypeAnswersDatabase

File

includes/opigno_tincan_question_type.databases.inc, line 53
This file contains the classes corresponding to each database's table.

View source
class OpignoTincanQuestionTypeAnswersDatabase {
  const NAME = 'opigno_tincan_question_type_answers';
  public static $fields = array(
    'rid' => array(
      'type' => 'int',
      'unsigned' => TRUE,
      'not null' => TRUE,
    ),
    'registration' => array(
      'type' => 'text',
      'not null' => TRUE,
    ),
  );
  public static $indexes = array(
    'result_id' => array(
      'rid',
    ),
  );

}

Members