AnswerOptionsFunctions

package

Default

Methods

Return the answer text related to a question

getAnswerOptionText(integer|string $qidortitle,string $code,integer $scale): null|string
static

Arguments

$qidortitle

integer|string

: question id or code of question, get parent question if needed

$code

string

: code of the answer text to return

$scale

integer

: scale of the answers, 1 is for array dual scale question

Response

null|string