class MiniSurvey (View source)

Properties

$btTable
$btQuestionsTablename
$btAnswerSetTablename
$btAnswersTablename
$lastSavedMsqID
$lastSavedqID

Methods

__construct()

No description

addEditQuestion($values, $withOutput = 1)

No description

getQuestionInfo($qsID, $qID)

No description

deleteQuestion($qsID, $msqID)

No description

static 
loadQuestions($qsID, $bID = 0, $showPending = 0)

No description

static 
getAnswerCount($qsID)

No description

loadSurvey($qsID, $showEdit = false, $bID = 0, $hideQIDs = [], $showPending = 0, $editmode = 0)

No description

loadInputType($questionData, $showEdit)

No description

getMiniSurveyBlockInfo($bID)

No description

getMiniSurveyBlockInfoByQuestionId($qsID, $bID = 0)

No description

reorderQuestions($qsID = 0, $qIDs)

No description

limitRange($val, $min, $max)

No description

static 
questionCleanup($qsID = 0, $bID = 0)

No description

Details

__construct()

No description

addEditQuestion($values, $withOutput = 1)

No description

Parameters

$values
$withOutput

getQuestionInfo($qsID, $qID)

No description

Parameters

$qsID
$qID

deleteQuestion($qsID, $msqID)

No description

Parameters

$qsID
$msqID

static loadQuestions($qsID, $bID = 0, $showPending = 0)

No description

Parameters

$qsID
$bID
$showPending

static getAnswerCount($qsID)

No description

Parameters

$qsID

loadSurvey($qsID, $showEdit = false, $bID = 0, $hideQIDs = [], $showPending = 0, $editmode = 0)

No description

Parameters

$qsID
$showEdit
$bID
$hideQIDs
$showPending
$editmode

loadInputType($questionData, $showEdit)

No description

Parameters

$questionData
$showEdit

getMiniSurveyBlockInfo($bID)

No description

Parameters

$bID

getMiniSurveyBlockInfoByQuestionId($qsID, $bID = 0)

No description

Parameters

$qsID
$bID

reorderQuestions($qsID = 0, $qIDs)

No description

Parameters

$qsID
$qIDs

limitRange($val, $min, $max)

No description

Parameters

$val
$min
$max

static questionCleanup($qsID = 0, $bID = 0)

No description

Parameters

$qsID
$bID