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

loadQuestions($qsID, $bID, $showPending)

No description

static 
getAnswerCount($qsID)

No description

loadSurvey($qsID, $showEdit = false, $bID, $hideQIDs = array(), $showPending, $editmode)

No description

loadInputType($questionData, $showEdit)

No description

getMiniSurveyBlockInfo($bID)

No description

getMiniSurveyBlockInfoByQuestionId($qsID, $bID)

No description

reorderQuestions($qsID, $qIDs)

No description

limitRange($val, $min, $max)

No description

static 
questionCleanup($qsID, $bID)

No description

Details

__construct()

addEditQuestion($values, $withOutput = 1)

Parameters

$values
$withOutput

getQuestionInfo($qsID, $qID)

Parameters

$qsID
$qID

deleteQuestion($qsID, $msqID)

Parameters

$qsID
$msqID

loadQuestions($qsID, $bID, $showPending)

Parameters

$qsID
$bID
$showPending

static getAnswerCount($qsID)

Parameters

$qsID

loadSurvey($qsID, $showEdit = false, $bID, $hideQIDs = array(), $showPending, $editmode)

Parameters

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

loadInputType($questionData, $showEdit)

Parameters

$questionData
$showEdit

getMiniSurveyBlockInfo($bID)

Parameters

$bID

getMiniSurveyBlockInfoByQuestionId($qsID, $bID)

Parameters

$qsID
$bID

reorderQuestions($qsID, $qIDs)

Parameters

$qsID
$qIDs

limitRange($val, $min, $max)

Parameters

$val
$min
$max

static questionCleanup($qsID, $bID)

Parameters

$qsID
$bID