tce_db_config.php

Database congiguration file.

Source: shared/config.default/tce_db_config.php

Database congiguration file.

Constants

K_DATABASE_HOST

database Host name (eg: localhost)

const K_DATABASE_HOST = ''

Source: shared/config.default/tce_db_config.php:31

K_DATABASE_NAME

database name (TCExam)

const K_DATABASE_NAME = ''

Source: shared/config.default/tce_db_config.php:45

K_DATABASE_PORT

database port (eg: 3306, 5432, 1521)

NOTE: For MYSQL database type, set this constant to NULL to be able to use the MySQL socket path defined by the mysqli.default_socket PHP value. For example, in Apache: php_value mysqli.default_socket “/path/to/mysql.sock”

const K_DATABASE_PORT = ''

Source: shared/config.default/tce_db_config.php:40

K_DATABASE_TYPE

database type (MYSQL, POSTGRESQL, ORACLE)

const K_DATABASE_TYPE = ''

Source: shared/config.default/tce_db_config.php:26

K_DATABASE_USER_NAME

database user name

const K_DATABASE_USER_NAME = ''

Source: shared/config.default/tce_db_config.php:50

K_DATABASE_USER_PASSWORD

database user password

const K_DATABASE_USER_PASSWORD = ''

Source: shared/config.default/tce_db_config.php:55

K_TABLE_ANSWERS

This table contains all answers relative to a specific questions.

const K_TABLE_ANSWERS = \K_TABLE_PREFIX . 'answers'

Source: shared/config.default/tce_db_config.php:94

K_TABLE_GROUPS

This table contains users’ groups. Each user belongs to one of the groups defined in this table.

const K_TABLE_GROUPS = \K_TABLE_PREFIX . 'user_groups'

Source: shared/config.default/tce_db_config.php:134

K_TABLE_LOG_ANSWER

This table contains the list of the selected alternative answers for each multiple-choice question.

const K_TABLE_LOG_ANSWER = \K_TABLE_PREFIX . 'tests_logs_answers'

Source: shared/config.default/tce_db_config.php:129

K_TABLE_MODULES

Table for modules. A module is a container for subjects.

const K_TABLE_MODULES = \K_TABLE_PREFIX . 'modules'

Source: shared/config.default/tce_db_config.php:79

K_TABLE_PREFIX

prefix for database tables names

const K_TABLE_PREFIX = 'tce_'

Source: shared/config.default/tce_db_config.php:60

K_TABLE_QUESTIONS

This table contains all questions relative to specific subjects.

const K_TABLE_QUESTIONS = \K_TABLE_PREFIX . 'questions'

Source: shared/config.default/tce_db_config.php:89

K_TABLE_SESSIONS

This table stores information about users’ Web sessions.

const K_TABLE_SESSIONS = \K_TABLE_PREFIX . 'sessions'

Source: shared/config.default/tce_db_config.php:69

K_TABLE_SSLCERTS

This table contains the SSL certificates.

const K_TABLE_SSLCERTS = \K_TABLE_PREFIX . 'sslcerts'

Source: shared/config.default/tce_db_config.php:149

K_TABLE_SUBJECT_SET

This table contains all tests subjects (topics, branch of studies).

const K_TABLE_SUBJECT_SET = \K_TABLE_PREFIX . 'test_subjects'

Source: shared/config.default/tce_db_config.php:119

K_TABLE_SUBJECTS

This table contains all tests subjects (topics, branch of studies).

const K_TABLE_SUBJECTS = \K_TABLE_PREFIX . 'subjects'

Source: shared/config.default/tce_db_config.php:84

K_TABLE_TEST_GROUPS

This table contains the list of groups enabled for a selected test.

const K_TABLE_TEST_GROUPS = \K_TABLE_PREFIX . 'testgroups'

Source: shared/config.default/tce_db_config.php:144

K_TABLE_TEST_SSLCERTS

This table contains the list of SSL certificates enabled for a selected test.

const K_TABLE_TEST_SSLCERTS = \K_TABLE_PREFIX . 'testsslcerts'

Source: shared/config.default/tce_db_config.php:154

K_TABLE_TEST_SUBJSET

This table lists the type and quantity of the questions associated to each set of subjects selected for a particular test.

const K_TABLE_TEST_SUBJSET = \K_TABLE_PREFIX . 'test_subject_set'

Source: shared/config.default/tce_db_config.php:114

K_TABLE_TEST_USER

This table contains the list of tests generated for each user.

const K_TABLE_TEST_USER = \K_TABLE_PREFIX . 'tests_users'

Source: shared/config.default/tce_db_config.php:104

K_TABLE_TESTS

This table contains all tests data.

const K_TABLE_TESTS = \K_TABLE_PREFIX . 'tests'

Source: shared/config.default/tce_db_config.php:99

K_TABLE_TESTS_LOGS

This table contains all questions and user answers relative to a specific test for a specific user.

const K_TABLE_TESTS_LOGS = \K_TABLE_PREFIX . 'tests_logs'

Source: shared/config.default/tce_db_config.php:124

K_TABLE_TESTUSER_STAT

This table counts the number of generated tests.

const K_TABLE_TESTUSER_STAT = \K_TABLE_PREFIX . 'testuser_stat'

Source: shared/config.default/tce_db_config.php:109

K_TABLE_USERGROUP

This table contains the list of groups to whom each user belongs.

const K_TABLE_USERGROUP = \K_TABLE_PREFIX . 'usrgroups'

Source: shared/config.default/tce_db_config.php:139

K_TABLE_USERS

This table contains all registered users’ data, including system administrators and a special ‘anonymous’ user.

const K_TABLE_USERS = \K_TABLE_PREFIX . 'users'

Source: shared/config.default/tce_db_config.php:74