SurveyActivator

package

Default

Methods

__construct

__construct(\Survey $survey) 

Arguments

$survey

\Survey

activate

activate() : array
Throws
\CException

Response

array

createParticipantsTable

createParticipantsTable() : boolean
Throws
\CDbException
\CException

Response

boolean

createParticipantsTableKeys

createParticipantsTableKeys() : void
Throws
\CDbException
\CException

createSurveyDirectory

createSurveyDirectory() : boolean

Response

boolean

createTimingsTable

createTimingsTable() : boolean

Response

boolean

prepareCollation

prepareCollation() : void

prepareResponsesTable

prepareResponsesTable() : void

prepareSimulateQuery

prepareSimulateQuery() : void

For each question, create the appropriate field(s)

prepareTableDefinition() : void

prepareTimingsTable

prepareTimingsTable() : void

Set the default_storage_engine for mysql DB

setMySQLDefaultEngine(string $dbEngine) 

Arguments

$dbEngine

string

showEventMessages

showEventMessages() : boolean

Response

boolean

Properties

survey

survey : \Survey
var

Type(s)

\Survey

tableDefinition

tableDefinition : array
var

Type(s)

array

timingsTableDefinition

timingsTableDefinition : array
var

Type(s)

array

fieldMap

fieldMap : array
var

Type(s)

array

collation

collation : string
var

Type(s)

string

event

event : \PluginEvent
var

Type(s)

\PluginEvent

error

error : string
var

Type(s)

string

createSurveyDir

createSurveyDir : boolean
var

Type(s)

boolean

isSimulation

isSimulation : boolean
var

Type(s)

boolean