ILIAS
Release_3_10_x_branch Revision 61812
|
Basic class for all survey question types. More...
Public Member Functions | |
SurveyQuestion ($title="", $description="", $author="", $questiontext="", $owner=-1) | |
SurveyQuestion constructor. | |
_SurveyQuestion () | |
isComplete () | |
Returns true, if a question is complete for use. | |
questionTitleExists ($title, $questionpool_object="") | |
Returns TRUE if the question title exists in the database. | |
setTitle ($title="") | |
Sets the title string. | |
setObligatory ($obligatory=1) | |
Sets the obligatory state of the question. | |
setOrientation ($orientation=0) | |
Sets the orientation of the question output. | |
setId ($id=-1) | |
Sets the id. | |
setSurveyId ($id=-1) | |
Sets the survey id. | |
setDescription ($description="") | |
Sets the description. | |
addMaterials ($materials_file, $materials_name="") | |
Sets the materials uri. | |
keyInArray ($searchkey, $array) | |
returns TRUE if the key occurs in an array | |
setMaterialsfile ($materials_filename, $materials_tempfilename="", $materials_name="") | |
Sets and uploads the materials uri. | |
deleteMaterial ($materials_name="") | |
Deletes a materials uri. | |
flushMaterials () | |
Deletes all materials uris. | |
setAuthor ($author="") | |
Sets the authors name. | |
setQuestiontext ($questiontext="") | |
Sets the questiontext. | |
setOwner ($owner="") | |
Sets the creator/owner. | |
getTitle () | |
Gets the title string. | |
getId () | |
Gets the id. | |
getObligatory ($survey_id="") | |
Gets the obligatory state of the question. | |
getSurveyId () | |
Gets the survey id. | |
getOrientation () | |
Gets the orientation of the question output. | |
getDescription () | |
Gets the description. | |
getAuthor () | |
Gets the authors name. | |
getOwner () | |
Gets the creator/owner. | |
getQuestiontext () | |
Gets the questiontext. | |
getObjId () | |
Get the reference id of the container object. | |
setObjId ($obj_id=0) | |
Set the reference id of the container object. | |
duplicate ($for_survey=true, $title="", $author="", $owner="") | |
Duplicates a survey question. | |
copyObject ($target_questionpool, $title="") | |
Copies an assOrderingQuestion object. | |
copyXHTMLMediaObjectsOfQuestion ($a_q_id) | |
Increases the media object usage counter when a question is duplicated. | |
duplicateMaterials ($question_id) | |
Duplicates the materials of a question. | |
loadFromDb ($question_id) | |
Loads a SurveyQuestion object from the database. | |
_isComplete ($question_id) | |
Checks wheather the question is complete or not. | |
saveCompletionStatus ($original_id="") | |
Saves the complete flag to the database. | |
saveToDb ($original_id="") | |
Saves a SurveyQuestion object to a database. | |
saveWorkingData ($limit_to=LIMIT_NO_LIMIT) | |
Saves the learners input of the question to the database. | |
getImagePath () | |
Returns the image path for web accessable images of a question. | |
getMaterialsPath () | |
Returns the materials path for web accessable material of a question. | |
getImagePathWeb () | |
Returns the web image path for web accessable images of a question. | |
getMaterialsPathWeb () | |
Returns the web image path for web accessable images of a question. | |
saveMaterialsToDb () | |
Saves a materials to a database. | |
loadMaterialFromDb ($question_id) | |
Loads materials uris from a database. | |
saveCategoryToDb ($categorytext, $neutral=0) | |
Saves a category to the database. | |
deleteAdditionalTableData ($question_id) | |
Deletes datasets from the additional question table in the database. | |
delete ($question_id) | |
Deletes a question from the database. | |
_getQuestionType ($question_id) | |
Returns the question type of a question with a given id. | |
_getTitle ($question_id) | |
Returns the question title of a question with a given id. | |
_getOriginalId ($question_id) | |
Returns the original id of a question. | |
_getRefIdFromObjId ($obj_id) | |
syncWithOriginal () | |
getPhrase ($phrase_id) | |
Returns a phrase for a given database id. | |
phraseExists ($title) | |
Returns true if the phrase title already exists for the current user. | |
_questionExists ($question_id) | |
Returns true if the question already exists in the database. | |
setMaterial ($material_id="", $is_import=false, $material_title="") | |
Sets a material link for the question. | |
_resolveInternalLink ($internal_link) | |
_resolveIntLinks ($question_id) | |
_getInternalLinkHref ($target="") | |
_isWriteable ($question_id, $user_id) | |
Returns true if the question is writeable by a certain user. | |
getQuestionTypeID () | |
Returns the question type ID of the question. | |
getQuestionType () | |
Returns the question type of the question. | |
& | _instanciateQuestion ($question_id) |
Creates an instance of a question with a given question id. | |
& | _instanciateQuestionGUI ($question_id) |
Creates an instance of a question GUI with a given question id. | |
isHTML ($a_text) | |
Checks if a given string contains HTML or not. | |
QTIMaterialToString ($a_material) | |
Reads an QTI material tag an creates a text string. | |
addMaterialTag (&$a_xml_writer, $a_material, $close_material_tag=TRUE, $add_mobs=TRUE) | |
Creates an XML material tag from a plain text or xhtml text. | |
prepareTextareaOutput ($txt_output, $prepare_for_latex_output=FALSE) | |
Prepares a string for a text area output in surveys. | |
_getQuestionDataArray ($id) | |
Returns the question data fields from the database. | |
addUserSpecificResultsExportTitles (&$a_array) | |
Adds the entries for the title row of the user specific results. | |
addUserSpecificResultsData (&$a_array, &$resultset) | |
Adds the values for the user specific results export for a given user. | |
& | getUserAnswers ($survey_id) |
Returns an array containing all answers to this question in a given survey. | |
& | getWorkingDataFromUserInput ($post_data) |
Creates the user data of the survey_answer table from the POST data. | |
importAdditionalMetadata ($a_meta) | |
Import additional meta data from the question import file. | |
importResponses ($a_data) | |
Import response data from the question import file. | |
importAdjectives ($a_data) | |
Import bipolar adjectives from the question import file. | |
importMatrix ($a_data) | |
Import matrix rows from the question import file. | |
setExportCumulatedXLS (&$worksheet, &$format_title, &$format_bold, &$eval_data, $row) | |
Creates the Excel output for the cumulated results of this question. | |
& | setExportCumulatedCVS (&$eval_data) |
Creates the CSV output for the cumulated results of this question. | |
setExportDetailsXLS (&$workbook, &$format_title, &$format_bold, &$eval_data) | |
Creates an Excel worksheet for the detailed cumulated results of this question. | |
usableForPrecondition () | |
Returns if the question is usable for preconditions. | |
getAvailableRelations () | |
Returns the available relations for the question. | |
getPreconditionSelectValue ($default="") | |
Creates a value selection for preconditions. | |
getPreconditionValueOutput ($value) | |
Returns the output for a precondition value. | |
outChart ($survey_id, $type="") | |
Creates an image visualising the results of the question. | |
setOriginalId ($original_id) | |
getOriginalId () |
Static Public Member Functions | |
static | _includeClass ($question_type, $gui=0) |
Include the php class file for a given question type. | |
static | _getQuestionTypeName ($type_tag) |
Return the translation for a given question type tag. |
Data Fields | |
$id | |
$title | |
$description | |
$owner | |
$author | |
$materials | |
$survey_id | |
$obj_id | |
$questiontext | |
$obligatory | |
$ilias | |
$tpl | |
$lng | |
$orientation | |
$material |
Basic class for all survey question types.
The SurveyQuestion class defines and encapsulates basic methods and attributes for survey question types to be used for all parent classes.
Definition at line 36 of file class.SurveyQuestion.php.
SurveyQuestion::_getInternalLinkHref | ( | $target = "" | ) |
Definition at line 1647 of file class.SurveyQuestion.php.
References $target_id, and ilUtil\removeTrailingPathSeparators().
Referenced by SurveyMetricQuestionGUI\editQuestion(), SurveyNominalQuestionGUI\editQuestion(), SurveyTextQuestionGUI\editQuestion(), SurveyOrdinalQuestionGUI\editQuestion(), SurveyMatrixQuestionGUI\editQuestion(), SurveyOrdinalQuestionGUI\getWorkingForm(), SurveyTextQuestionGUI\getWorkingForm(), SurveyNominalQuestionGUI\getWorkingForm(), SurveyMatrixQuestionGUI\getWorkingForm(), and SurveyMetricQuestionGUI\getWorkingForm().
SurveyQuestion::_getOriginalId | ( | $question_id | ) |
Returns the original id of a question.
Returns the original id of a question
integer | $question_id | The database id of the question |
Definition at line 1340 of file class.SurveyQuestion.php.
References $result.
Referenced by ilObjSurvey\cloneObject(), and copyObject().
SurveyQuestion::_getQuestionDataArray | ( | $id | ) |
Returns the question data fields from the database.
Returns the question data fields from the database
integer | $id | The question ID from the database |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyOrdinalQuestion, SurveyNominalQuestion, and SurveyTextQuestion.
Definition at line 1964 of file class.SurveyQuestion.php.
SurveyQuestion::_getQuestionType | ( | $question_id | ) |
Returns the question type of a question with a given id.
Returns the question type of a question with a given id
integer | $question_id | The database id of the question |
Definition at line 1279 of file class.SurveyQuestion.php.
References $data, and $result.
Referenced by _instanciateQuestion(), ilObjSurvey\_instanciateQuestion(), _instanciateQuestionGUI(), ilObjSurveyQuestionPoolGUI\addLocatorItems(), ilObjSurvey\getConstraints(), ilObjSurvey\getUserSpecificResults(), and ilObjSurveyQuestionPoolGUI\questionsObject().
|
static |
Return the translation for a given question type tag.
string | $type_tag | The type tag of the question type public |
Definition at line 1797 of file class.SurveyQuestion.php.
References $lng, ilPlugin\getPluginObject(), and IL_COMP_MODULE.
Referenced by ilObjSurveyGUI\addConstraintForm(), ilObjSurveyGUI\browseForQuestionsObject(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjSurveyQuestionPoolGUI\pasteObject(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjSurveyGUI\questionsObject(), and ilObjSurveyGUI\removeQuestionsForm().
SurveyQuestion::_getRefIdFromObjId | ( | $obj_id | ) |
Definition at line 1365 of file class.SurveyQuestion.php.
References $obj_id, and $result.
Referenced by ilObjSurveyGUI\questionsObject().
SurveyQuestion::_getTitle | ( | $question_id | ) |
Returns the question title of a question with a given id.
Returns the question title of a question with a given id
integer | $question_id | The database id of the question |
Definition at line 1310 of file class.SurveyQuestion.php.
References $data, and $result.
Referenced by ilObjSurveyQuestionPoolGUI\addLocatorItems().
|
static |
Include the php class file for a given question type.
string | $question_type | The type tag of the question type |
Definition at line 1765 of file class.SurveyQuestion.php.
References ilPlugin\getPluginObject(), and IL_COMP_MODULE.
Referenced by SurveyQuestionGUI\_getQuestionGUI(), _instanciateQuestion(), ilObjSurvey\_instanciateQuestion(), _instanciateQuestionGUI(), ilObjSurveyGUI\addConstraintForm(), ilObjSurvey\getConstraints(), ilObjSurvey\getUserSpecificResults(), SurveyImportParser\handlerBeginTag(), and ilObjSurveyQuestionPool\toXML().
& SurveyQuestion::_instanciateQuestion | ( | $question_id | ) |
Creates an instance of a question with a given question id.
integer | $question_id | The question id |
Definition at line 1828 of file class.SurveyQuestion.php.
References _getQuestionType(), and _includeClass().
Referenced by ilObjSurveyQuestionPool\duplicateQuestion(), ilSurveyEvaluationGUI\exportCumulatedResults(), ilSurveyEvaluationGUI\exportUserSpecificResults(), ilObjSurveyQuestionPool\removeQuestion(), and ilSurveyExecutionGUI\saveActiveQuestionData().
& SurveyQuestion::_instanciateQuestionGUI | ( | $question_id | ) |
Creates an instance of a question GUI with a given question id.
integer | $question_id | The question id |
Definition at line 1844 of file class.SurveyQuestion.php.
References _getQuestionType(), and _includeClass().
Referenced by ilSurveyEvaluationGUI\evaluation().
SurveyQuestion::_isComplete | ( | $question_id | ) |
Checks wheather the question is complete or not.
Checks wheather the question is complete or not
Definition at line 871 of file class.SurveyQuestion.php.
References $result.
Referenced by ilObjSurvey\insertQuestion().
SurveyQuestion::_isWriteable | ( | $question_id, | |
$user_id | |||
) |
Returns true if the question is writeable by a certain user.
Returns true if the question is writeable by a certain user
integer | $question_id | The database id of the question |
integer | $user_id | The database id of the user |
Definition at line 1693 of file class.SurveyQuestion.php.
References $result.
Referenced by SurveyQuestionGUI\save(), SurveyNominalQuestionGUI\saveCategories(), SurveyOrdinalQuestionGUI\saveCategories(), and SurveyMatrixQuestionGUI\saveRowColEditor().
SurveyQuestion::_questionExists | ( | $question_id | ) |
Returns true if the question already exists in the database.
Returns true if the question already exists in the database
integer | $question_id | The database id of the question |
Definition at line 1464 of file class.SurveyQuestion.php.
References $result.
SurveyQuestion::_resolveInternalLink | ( | $internal_link | ) |
Definition at line 1558 of file class.SurveyQuestion.php.
References ilInternalLink\_getIdForImportId(), and ilLMObject\_getIdForImportId().
Referenced by _resolveIntLinks(), and setMaterial().
SurveyQuestion::_resolveIntLinks | ( | $question_id | ) |
Definition at line 1595 of file class.SurveyQuestion.php.
References $result, ilInternalLink\_deleteAllLinksOfSource(), _resolveInternalLink(), and ilInternalLink\_saveLink().
SurveyQuestion::_SurveyQuestion | ( | ) |
Definition at line 214 of file class.SurveyQuestion.php.
SurveyQuestion::addMaterials | ( | $materials_file, | |
$materials_name = "" |
|||
) |
Sets the materials uri.
Sets the materials uri
string | $materials_file | An uri to additional materials |
string | $materials_name | An uri name to additional materials public |
Definition at line 373 of file class.SurveyQuestion.php.
References keyInArray().
Referenced by loadMaterialFromDb(), and setMaterialsfile().
SurveyQuestion::addMaterialTag | ( | & | $a_xml_writer, |
$a_material, | |||
$close_material_tag = TRUE , |
|||
$add_mobs = TRUE |
|||
) |
Creates an XML material tag from a plain text or xhtml text.
object | $a_xml_writer | Reference to the ILIAS XML writer |
string | $a_material | plain text or html text containing the material |
Definition at line 1912 of file class.SurveyQuestion.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), getId(), and isHTML().
Referenced by SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), and SurveyMatrixQuestion\insertXML().
SurveyQuestion::addUserSpecificResultsData | ( | & | $a_array, |
& | $resultset | ||
) |
Adds the values for the user specific results export for a given user.
Adds the values for the user specific results export for a given user
array | $a_array | An array which is used to append the values |
array | $resultset | The evaluation data for a given user public |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, SurveyOrdinalQuestion, and SurveyTextQuestion.
Definition at line 1992 of file class.SurveyQuestion.php.
SurveyQuestion::addUserSpecificResultsExportTitles | ( | & | $a_array | ) |
Adds the entries for the title row of the user specific results.
Adds the entries for the title row of the user specific results
array | $a_array | An array which is used to append the title row entries public |
Reimplemented in SurveyMatrixQuestion, and SurveyNominalQuestion.
Definition at line 1978 of file class.SurveyQuestion.php.
References getTitle().
SurveyQuestion::copyObject | ( | $target_questionpool, | |
$title = "" |
|||
) |
Copies an assOrderingQuestion object.
Copies an assOrderingQuestion object
public
Definition at line 764 of file class.SurveyQuestion.php.
References $title, _getOriginalId(), getId(), and getObjId().
SurveyQuestion::copyXHTMLMediaObjectsOfQuestion | ( | $a_q_id | ) |
Increases the media object usage counter when a question is duplicated.
Increases the media object usage counter when a question is duplicated
integer | $a_q_id | The question id of the original question public |
Definition at line 798 of file class.SurveyQuestion.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and getId().
SurveyQuestion::delete | ( | $question_id | ) |
Deletes a question from the database.
Deletes a question and all materials from the database
integer | $question_id | The database id of the question private |
Definition at line 1153 of file class.SurveyQuestion.php.
References $mobs, $obj_id, $result, ilInternalLink\_deleteAllLinksOfSource(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilUtil\delDir(), and deleteAdditionalTableData().
SurveyQuestion::deleteAdditionalTableData | ( | $question_id | ) |
Deletes datasets from the additional question table in the database.
Deletes datasets from the additional question table in the database
integer | $question_id | The question id which should be deleted in the additional question table public |
Reimplemented in SurveyMatrixQuestion.
Definition at line 1135 of file class.SurveyQuestion.php.
References $result.
Referenced by delete().
SurveyQuestion::deleteMaterial | ( | $materials_name = "" | ) |
Deletes a materials uri.
Deletes a materials uri with a given name.
string | $index | A materials_name of the materials uri public |
Definition at line 452 of file class.SurveyQuestion.php.
References getMaterialsPath().
SurveyQuestion::duplicate | ( | $for_survey = true , |
|
$title = "" , |
|||
$author = "" , |
|||
$owner = "" |
|||
) |
Duplicates a survey question.
Duplicates a survey question
public
Definition at line 719 of file class.SurveyQuestion.php.
References $author, $owner, $title, and getId().
SurveyQuestion::duplicateMaterials | ( | $question_id | ) |
Duplicates the materials of a question.
Duplicates the materials of a question
integer | $question_id | The database id of the original survey question public |
Definition at line 816 of file class.SurveyQuestion.php.
References $filename, getMaterialsPath(), and ilUtil\makeDirParents().
SurveyQuestion::flushMaterials | ( | ) |
Deletes all materials uris.
Deletes all materials uris
public
Definition at line 475 of file class.SurveyQuestion.php.
SurveyQuestion::getAuthor | ( | ) |
Gets the authors name.
Gets the authors name of the SurveyQuestion object
Definition at line 653 of file class.SurveyQuestion.php.
References $author.
Referenced by SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMatrixQuestion\insertXML(), and SurveyMatrixQuestion\isComplete().
SurveyQuestion::getAvailableRelations | ( | ) |
Returns the available relations for the question.
Returns the available relations for the question
Reimplemented in SurveyMetricQuestion, SurveyNominalQuestion, and SurveyOrdinalQuestion.
Definition at line 2178 of file class.SurveyQuestion.php.
SurveyQuestion::getDescription | ( | ) |
Gets the description.
Gets the description string of the SurveyQuestion object
Definition at line 639 of file class.SurveyQuestion.php.
References $description.
Referenced by SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), and SurveyMatrixQuestion\insertXML().
SurveyQuestion::getId | ( | ) |
Gets the id.
Gets the id of the SurveyQuestion object
Definition at line 549 of file class.SurveyQuestion.php.
References $id.
Referenced by addMaterialTag(), SurveyTextQuestion\addUserSpecificResultsData(), SurveyOrdinalQuestion\addUserSpecificResultsData(), SurveyNominalQuestion\addUserSpecificResultsData(), SurveyMetricQuestion\addUserSpecificResultsData(), SurveyMatrixQuestion\addUserSpecificResultsData(), SurveyTextQuestion\checkUserInput(), SurveyNominalQuestion\checkUserInput(), SurveyOrdinalQuestion\checkUserInput(), SurveyMetricQuestion\checkUserInput(), SurveyMatrixQuestion\checkUserInput(), copyObject(), copyXHTMLMediaObjectsOfQuestion(), duplicate(), SurveyTextQuestion\getCumulatedResults(), SurveyOrdinalQuestion\getCumulatedResults(), SurveyNominalQuestion\getCumulatedResults(), SurveyMetricQuestion\getCumulatedResults(), SurveyMatrixQuestion\getCumulatedResults(), SurveyMatrixQuestion\getCumulatedResultsForRow(), getObligatory(), SurveyTextQuestion\getUserAnswers(), SurveyOrdinalQuestion\getUserAnswers(), SurveyNominalQuestion\getUserAnswers(), SurveyMetricQuestion\getUserAnswers(), SurveyMatrixQuestion\getUserAnswers(), SurveyTextQuestion\getWorkingDataFromUserInput(), SurveyNominalQuestion\getWorkingDataFromUserInput(), SurveyOrdinalQuestion\getWorkingDataFromUserInput(), SurveyMetricQuestion\getWorkingDataFromUserInput(), SurveyMatrixQuestion\getWorkingDataFromUserInput(), SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMatrixQuestion\insertXML(), SurveyMatrixQuestion\saveBipolarAdjectives(), SurveyMatrixQuestion\saveColumnsToDb(), saveCompletionStatus(), SurveyMatrixQuestion\saveLayout(), SurveyMatrixQuestion\saveRowsToDb(), SurveyTextQuestion\saveToDb(), SurveyNominalQuestion\saveToDb(), SurveyOrdinalQuestion\saveToDb(), SurveyMetricQuestion\saveToDb(), SurveyMatrixQuestion\saveToDb(), saveToDb(), SurveyTextQuestion\saveUserInput(), SurveyNominalQuestion\saveUserInput(), SurveyOrdinalQuestion\saveUserInput(), SurveyMetricQuestion\saveUserInput(), and SurveyMatrixQuestion\saveUserInput().
SurveyQuestion::getImagePath | ( | ) |
Returns the image path for web accessable images of a question.
Returns the image path for web accessable images of a question. The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/images
public
Definition at line 974 of file class.SurveyQuestion.php.
SurveyQuestion::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a question.
Returns the web image path for web accessable images of a question. The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/images
public
Definition at line 1000 of file class.SurveyQuestion.php.
References ILIAS_ABSOLUTE_PATH, and ilUtil\removeTrailingPathSeparators().
SurveyQuestion::getMaterialsPath | ( | ) |
Returns the materials path for web accessable material of a question.
Returns the materials path for web accessable materials of a question. The materials path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/materials
public
Definition at line 987 of file class.SurveyQuestion.php.
Referenced by deleteMaterial(), duplicateMaterials(), and setMaterialsfile().
SurveyQuestion::getMaterialsPathWeb | ( | ) |
Returns the web image path for web accessable images of a question.
Returns the web image path for web accessable images of a question. The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/images
public
Definition at line 1015 of file class.SurveyQuestion.php.
References ILIAS_ABSOLUTE_PATH, and ilUtil\removeTrailingPathSeparators().
SurveyQuestion::getObjId | ( | ) |
Get the reference id of the container object.
Get the reference id of the container object
Definition at line 695 of file class.SurveyQuestion.php.
References $obj_id.
Referenced by copyObject().
SurveyQuestion::getObligatory | ( | $survey_id = "" | ) |
Gets the obligatory state of the question.
Gets the obligatory state of the question
Definition at line 564 of file class.SurveyQuestion.php.
References $obligatory, $result, $survey_id, and getId().
Referenced by SurveyTextQuestion\checkUserInput(), SurveyNominalQuestion\checkUserInput(), SurveyOrdinalQuestion\checkUserInput(), SurveyMetricQuestion\checkUserInput(), SurveyMatrixQuestion\checkUserInput(), SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), and SurveyMatrixQuestion\insertXML().
SurveyQuestion::getOrientation | ( | ) |
Gets the orientation of the question output.
Gets the orientation of the question output
Definition at line 614 of file class.SurveyQuestion.php.
References $orientation.
Referenced by SurveyNominalQuestion\insertXML(), and SurveyOrdinalQuestion\insertXML().
SurveyQuestion::getOriginalId | ( | ) |
Definition at line 2232 of file class.SurveyQuestion.php.
SurveyQuestion::getOwner | ( | ) |
Gets the creator/owner.
Gets the creator/owner ID of the SurveyQuestion object
Definition at line 667 of file class.SurveyQuestion.php.
References $owner.
SurveyQuestion::getPhrase | ( | $phrase_id | ) |
Returns a phrase for a given database id.
Returns a phrase for a given database id
Definition at line 1414 of file class.SurveyQuestion.php.
References $result.
SurveyQuestion::getPreconditionSelectValue | ( | $default = "" | ) |
Creates a value selection for preconditions.
Creates a value selection for preconditions
Reimplemented in SurveyMetricQuestion, SurveyNominalQuestion, and SurveyOrdinalQuestion.
Definition at line 2192 of file class.SurveyQuestion.php.
SurveyQuestion::getPreconditionValueOutput | ( | $value | ) |
Returns the output for a precondition value.
Returns the output for a precondition value
string | $value | The precondition value |
Reimplemented in SurveyMatrixQuestion, SurveyNominalQuestion, and SurveyOrdinalQuestion.
Definition at line 2206 of file class.SurveyQuestion.php.
SurveyQuestion::getQuestiontext | ( | ) |
Gets the questiontext.
Gets the questiontext of the SurveyQuestion object
Definition at line 681 of file class.SurveyQuestion.php.
References $questiontext.
Referenced by SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMatrixQuestion\insertXML(), SurveyMatrixQuestion\isComplete(), SurveyMatrixQuestion\setExportCumulatedCVS(), setExportCumulatedCVS(), SurveyMatrixQuestion\setExportCumulatedXLS(), setExportCumulatedXLS(), SurveyTextQuestion\setExportDetailsXLS(), SurveyOrdinalQuestion\setExportDetailsXLS(), SurveyNominalQuestion\setExportDetailsXLS(), SurveyMetricQuestion\setExportDetailsXLS(), and SurveyMatrixQuestion\setExportDetailsXLS().
SurveyQuestion::getQuestionType | ( | ) |
Returns the question type of the question.
Returns the question type of the question
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyOrdinalQuestion, SurveyNominalQuestion, and SurveyTextQuestion.
Definition at line 1753 of file class.SurveyQuestion.php.
SurveyQuestion::getQuestionTypeID | ( | ) |
Returns the question type ID of the question.
Returns the question type ID of the question
Reimplemented in SurveyMetricQuestion.
Definition at line 1727 of file class.SurveyQuestion.php.
References $result.
SurveyQuestion::getSurveyId | ( | ) |
Gets the survey id.
Gets the survey id of the SurveyQuestion object
Definition at line 600 of file class.SurveyQuestion.php.
References $survey_id.
SurveyQuestion::getTitle | ( | ) |
Gets the title string.
Gets the title string of the SurveyQuestion object
Definition at line 535 of file class.SurveyQuestion.php.
References $title.
Referenced by addUserSpecificResultsExportTitles(), SurveyTextQuestion\insertXML(), SurveyNominalQuestion\insertXML(), SurveyOrdinalQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMatrixQuestion\insertXML(), SurveyMatrixQuestion\isComplete(), SurveyOrdinalQuestion\outChart(), SurveyNominalQuestion\outChart(), SurveyMetricQuestion\outChart(), SurveyMatrixQuestion\setExportCumulatedCVS(), setExportCumulatedCVS(), SurveyMatrixQuestion\setExportCumulatedXLS(), setExportCumulatedXLS(), SurveyTextQuestion\setExportDetailsXLS(), SurveyOrdinalQuestion\setExportDetailsXLS(), SurveyNominalQuestion\setExportDetailsXLS(), SurveyMetricQuestion\setExportDetailsXLS(), and SurveyMatrixQuestion\setExportDetailsXLS().
& SurveyQuestion::getUserAnswers | ( | $survey_id | ) |
Returns an array containing all answers to this question in a given survey.
Returns an array containing all answers to this question in a given survey
integer | $survey_id | The database ID of the survey |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, SurveyOrdinalQuestion, and SurveyTextQuestion.
Definition at line 2006 of file class.SurveyQuestion.php.
& SurveyQuestion::getWorkingDataFromUserInput | ( | $post_data | ) |
Creates the user data of the survey_answer table from the POST data.
Creates the user data of the survey_answer table from the POST data
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyOrdinalQuestion, SurveyNominalQuestion, and SurveyTextQuestion.
Definition at line 2020 of file class.SurveyQuestion.php.
References $data.
SurveyQuestion::importAdditionalMetadata | ( | $a_meta | ) |
Import additional meta data from the question import file.
Import additional meta data from the question import file. Usually the meta data section is used to store question elements which are not part of the standard XML schema.
Reimplemented in SurveyMatrixQuestion, and SurveyNominalQuestion.
Definition at line 2037 of file class.SurveyQuestion.php.
SurveyQuestion::importAdjectives | ( | $a_data | ) |
Import bipolar adjectives from the question import file.
Import bipolar adjectives from the question import file
Reimplemented in SurveyMatrixQuestion.
Definition at line 2063 of file class.SurveyQuestion.php.
SurveyQuestion::importMatrix | ( | $a_data | ) |
Import matrix rows from the question import file.
Import matrix rows from the question import file
Reimplemented in SurveyMatrixQuestion.
Definition at line 2076 of file class.SurveyQuestion.php.
SurveyQuestion::importResponses | ( | $a_data | ) |
Import response data from the question import file.
Import response data from the question import file
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, SurveyOrdinalQuestion, and SurveyTextQuestion.
Definition at line 2050 of file class.SurveyQuestion.php.
SurveyQuestion::isComplete | ( | ) |
Returns true, if a question is complete for use.
Returns true, if a question is complete for use
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyOrdinalQuestion, SurveyNominalQuestion, and SurveyTextQuestion.
Definition at line 227 of file class.SurveyQuestion.php.
Referenced by saveCompletionStatus().
SurveyQuestion::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
string | $a_text | Text which should be checked |
Definition at line 1861 of file class.SurveyQuestion.php.
Referenced by addMaterialTag().
SurveyQuestion::keyInArray | ( | $searchkey, | |
$array | |||
) |
returns TRUE if the key occurs in an array
returns TRUE if the key occurs in an array
string | $arraykey | A key to an element in array |
array | $array | An array to be searched private |
Definition at line 396 of file class.SurveyQuestion.php.
Referenced by addMaterials().
SurveyQuestion::loadFromDb | ( | $question_id | ) |
Loads a SurveyQuestion object from the database.
Loads a SurveyQuestion object from the database
integer | $question_id | A unique key which defines the question in the database public |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyOrdinalQuestion, SurveyNominalQuestion, and SurveyTextQuestion.
Definition at line 843 of file class.SurveyQuestion.php.
References $result.
SurveyQuestion::loadMaterialFromDb | ( | $question_id | ) |
Loads materials uris from a database.
Loads materials uris from a database
integer | $question_id | A unique key which defines the survey question in the database public |
Definition at line 1060 of file class.SurveyQuestion.php.
References $data, $result, and addMaterials().
Referenced by SurveyTextQuestion\loadFromDb(), SurveyNominalQuestion\loadFromDb(), SurveyOrdinalQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), and SurveyMatrixQuestion\loadFromDb().
SurveyQuestion::outChart | ( | $survey_id, | |
$type = "" |
|||
) |
Creates an image visualising the results of the question.
Creates an image visualising the results of the question
integer | $survey_id | The database ID of the survey |
string | $type | An additional parameter to allow to draw more than one chart per question. Must be interpreted by the question. Default is an empty string |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, and SurveyOrdinalQuestion.
Definition at line 2222 of file class.SurveyQuestion.php.
SurveyQuestion::phraseExists | ( | $title | ) |
Returns true if the phrase title already exists for the current user.
Returns true if the phrase title already exists for the current user
string | $title | The title of the phrase |
Definition at line 1436 of file class.SurveyQuestion.php.
SurveyQuestion::prepareTextareaOutput | ( | $txt_output, | |
$prepare_for_latex_output = FALSE |
|||
) |
Prepares a string for a text area output in surveys.
string | $txt_output | String which should be prepared for output public |
Definition at line 1949 of file class.SurveyQuestion.php.
SurveyQuestion::QTIMaterialToString | ( | $a_material | ) |
Reads an QTI material tag an creates a text string.
string | $a_material | QTI material tag |
Definition at line 1880 of file class.SurveyQuestion.php.
References $_SESSION, $material, and $result.
SurveyQuestion::questionTitleExists | ( | $title, | |
$questionpool_object = "" |
|||
) |
Returns TRUE if the question title exists in the database.
Returns TRUE if the question title exists in the database
string | $title | The title of the question |
string | $questionpool_reference | The reference id of a container question pool |
Definition at line 242 of file class.SurveyQuestion.php.
References $result, and $title.
SurveyQuestion::saveCategoryToDb | ( | $categorytext, | |
$neutral = 0 |
|||
) |
Saves a category to the database.
Saves a category to the database
string | $categorytext | The description of the category |
Definition at line 1086 of file class.SurveyQuestion.php.
References $result.
Referenced by SurveyNominalQuestion\saveCategoriesToDb(), SurveyOrdinalQuestion\saveCategoriesToDb(), SurveyOrdinalQuestion\syncWithOriginal(), and SurveyNominalQuestion\syncWithOriginal().
SurveyQuestion::saveCompletionStatus | ( | $original_id = "" | ) |
Saves the complete flag to the database.
Saves the complete flag to the database
public
Definition at line 897 of file class.SurveyQuestion.php.
References $result, getId(), and isComplete().
Referenced by SurveyNominalQuestion\saveCategoriesToDb(), SurveyOrdinalQuestion\saveCategoriesToDb(), SurveyMatrixQuestion\saveColumnsToDb(), and SurveyMatrixQuestion\saveRowsToDb().
SurveyQuestion::saveMaterialsToDb | ( | ) |
Saves a materials to a database.
Saves a materials to a database
object | $db | A pear DB object public |
Definition at line 1030 of file class.SurveyQuestion.php.
References $result.
Referenced by SurveyTextQuestion\saveToDb(), SurveyNominalQuestion\saveToDb(), SurveyOrdinalQuestion\saveToDb(), SurveyMetricQuestion\saveToDb(), and SurveyMatrixQuestion\saveToDb().
SurveyQuestion::saveToDb | ( | $original_id = "" | ) |
Saves a SurveyQuestion object to a database.
Saves a SurveyQuestion object to a database
integer | $original_id | public |
Reimplemented in SurveyMetricQuestion, and SurveyTextQuestion.
Definition at line 929 of file class.SurveyQuestion.php.
References $result, ilInternalLink\_deleteAllLinksOfSource(), ilInternalLink\_saveLink(), and getId().
SurveyQuestion::saveWorkingData | ( | $limit_to = LIMIT_NO_LIMIT | ) |
Saves the learners input of the question to the database.
Saves the learners input of the question to the database
public
Definition at line 962 of file class.SurveyQuestion.php.
SurveyQuestion::setAuthor | ( | $author = "" | ) |
Sets the authors name.
Sets the authors name of the SurveyQuestion object
string | $author | A string containing the name of the questions author public |
Definition at line 489 of file class.SurveyQuestion.php.
References $author.
SurveyQuestion::setDescription | ( | $description = "" | ) |
Sets the description.
Sets the description string of the SurveyQuestion object
string | $description | A description string to describe the question public |
Definition at line 357 of file class.SurveyQuestion.php.
References $description.
& SurveyQuestion::setExportCumulatedCVS | ( | & | $eval_data | ) |
Creates the CSV output for the cumulated results of this question.
Creates the CSV output for the cumulated results of this question
object | $worksheet | Reference to the excel worksheet |
object | $format_title | Excel title format |
object | $format_bold | Excel bold format |
array | $eval_data | Cumulated evaluation data |
integer | $row | Actual row in the worksheet |
Reimplemented in SurveyMatrixQuestion.
Definition at line 2123 of file class.SurveyQuestion.php.
References $result, getQuestiontext(), and getTitle().
SurveyQuestion::setExportCumulatedXLS | ( | & | $worksheet, |
& | $format_title, | ||
& | $format_bold, | ||
& | $eval_data, | ||
$row | |||
) |
Creates the Excel output for the cumulated results of this question.
Creates the Excel output for the cumulated results of this question
object | $worksheet | Reference to the excel worksheet |
object | $format_title | Excel title format |
object | $format_bold | Excel bold format |
array | $eval_data | Cumulated evaluation data |
integer | $row | Actual row in the worksheet |
Reimplemented in SurveyMatrixQuestion.
Definition at line 2094 of file class.SurveyQuestion.php.
References ilExcelUtils\_convert_text(), getQuestiontext(), and getTitle().
SurveyQuestion::setExportDetailsXLS | ( | & | $workbook, |
& | $format_title, | ||
& | $format_bold, | ||
& | $eval_data | ||
) |
Creates an Excel worksheet for the detailed cumulated results of this question.
Creates an Excel worksheet for the detailed cumulated results of this question
object | $workbook | Reference to the parent excel workbook |
object | $format_title | Excel title format |
object | $format_bold | Excel bold format |
array | $eval_data | Cumulated evaluation data public |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, SurveyOrdinalQuestion, and SurveyTextQuestion.
Definition at line 2151 of file class.SurveyQuestion.php.
SurveyQuestion::setId | ( | $id = -1 | ) |
Sets the id.
Sets the id of the SurveyQuestion object
integer | $id | A unique integer value public |
Definition at line 329 of file class.SurveyQuestion.php.
References $id.
SurveyQuestion::setMaterial | ( | $material_id = "" , |
|
$is_import = false , |
|||
$material_title = "" |
|||
) |
Sets a material link for the question.
Sets a material link for the question
string | $material_id | An internal link pointing to the material |
boolean | $is_import | A boolean indication that the internal link was imported from another ILIAS installation public |
Definition at line 1496 of file class.SurveyQuestion.php.
References $target_id, ilGlossaryTerm\_lookGlossaryTerm(), ilLMObject\_lookupContObjID(), and _resolveInternalLink().
SurveyQuestion::setMaterialsfile | ( | $materials_filename, | |
$materials_tempfilename = "" , |
|||
$materials_name = "" |
|||
) |
Sets and uploads the materials uri.
Sets and uploads the materials uri
string | string | string | $materials_filename,$materials_tempfilename,$materials | public |
Definition at line 420 of file class.SurveyQuestion.php.
References addMaterials(), getMaterialsPath(), ilUtil\makeDirParents(), and ilUtil\moveUploadedFile().
SurveyQuestion::setObjId | ( | $obj_id = 0 | ) |
Set the reference id of the container object.
Set the reference id of the container object
integer | $obj_id | The reference id of the container object public |
Definition at line 708 of file class.SurveyQuestion.php.
References $obj_id.
SurveyQuestion::setObligatory | ( | $obligatory = 1 | ) |
Sets the obligatory state of the question.
Sets the obligatory state of the question
boolean | $obligatory | True, if the question is obligatory, otherwise false public |
Definition at line 287 of file class.SurveyQuestion.php.
References $obligatory.
SurveyQuestion::setOrientation | ( | $orientation = 0 | ) |
Sets the orientation of the question output.
Sets the orientation of the question output
integer | $orientation | 0 = vertical, 1 = horizontal public |
Definition at line 308 of file class.SurveyQuestion.php.
References $orientation.
Referenced by SurveyNominalQuestion\importAdditionalMetadata().
SurveyQuestion::setOriginalId | ( | $original_id | ) |
Definition at line 2227 of file class.SurveyQuestion.php.
SurveyQuestion::setOwner | ( | $owner = "" | ) |
Sets the creator/owner.
Sets the creator/owner ID of the SurveyQuestion object
integer | $owner | A numerical ID to identify the owner/creator public |
Definition at line 521 of file class.SurveyQuestion.php.
References $owner.
SurveyQuestion::setQuestiontext | ( | $questiontext = "" | ) |
Sets the questiontext.
Sets the questiontext of the SurveyQuestion object
string | $questiontext | A string containing the questiontext public |
Definition at line 507 of file class.SurveyQuestion.php.
References $questiontext.
SurveyQuestion::setSurveyId | ( | $id = -1 | ) |
Sets the survey id.
Sets the survey id of the SurveyQuestion object
integer | $id | A unique integer value public |
Definition at line 343 of file class.SurveyQuestion.php.
References $id.
SurveyQuestion::setTitle | ( | $title = "" | ) |
Sets the title string.
Sets the title string of the SurveyQuestion object
string | $title | A title string to describe the question public |
Definition at line 273 of file class.SurveyQuestion.php.
References $title.
SurveyQuestion::SurveyQuestion | ( | $title = "" , |
|
$description = "" , |
|||
$author = "" , |
|||
$questiontext = "" , |
|||
$owner = -1 |
|||
) |
SurveyQuestion constructor.
The constructor takes possible arguments an creates an instance of the SurveyQuestion object.
string | $title | A title string to describe the question |
string | $description | A description string to describe the question |
string | $author | A string containing the name of the questions author |
integer | $owner | A numerical ID to identify the owner/creator public |
Definition at line 177 of file class.SurveyQuestion.php.
References $author, $description, $ilias, $lng, $owner, $questiontext, $title, and $tpl.
Referenced by SurveyMatrixQuestion\SurveyMatrixQuestion(), SurveyMetricQuestion\SurveyMetricQuestion(), SurveyNominalQuestion\SurveyNominalQuestion(), SurveyOrdinalQuestion\SurveyOrdinalQuestion(), and SurveyTextQuestion\SurveyTextQuestion().
SurveyQuestion::syncWithOriginal | ( | ) |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, SurveyOrdinalQuestion, and SurveyTextQuestion.
Definition at line 1382 of file class.SurveyQuestion.php.
References $result, ilInternalLink\_deleteAllLinksOfSource(), and ilInternalLink\_saveLink().
SurveyQuestion::usableForPrecondition | ( | ) |
Returns if the question is usable for preconditions.
Returns if the question is usable for preconditions
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyNominalQuestion, SurveyOrdinalQuestion, and SurveyTextQuestion.
Definition at line 2164 of file class.SurveyQuestion.php.
SurveyQuestion::$author |
Definition at line 81 of file class.SurveyQuestion.php.
Referenced by duplicate(), getAuthor(), setAuthor(), SurveyMatrixQuestion\SurveyMatrixQuestion(), SurveyMetricQuestion\SurveyMetricQuestion(), SurveyNominalQuestion\SurveyNominalQuestion(), SurveyOrdinalQuestion\SurveyOrdinalQuestion(), SurveyQuestion(), and SurveyTextQuestion\SurveyTextQuestion().
SurveyQuestion::$description |
Definition at line 62 of file class.SurveyQuestion.php.
Referenced by getDescription(), setDescription(), SurveyMatrixQuestion\SurveyMatrixQuestion(), SurveyMetricQuestion\SurveyMetricQuestion(), SurveyNominalQuestion\SurveyNominalQuestion(), SurveyOrdinalQuestion\SurveyOrdinalQuestion(), SurveyQuestion(), and SurveyTextQuestion\SurveyTextQuestion().
SurveyQuestion::$id |
Definition at line 45 of file class.SurveyQuestion.php.
Referenced by SurveyTextQuestion\_getQuestionDataArray(), SurveyNominalQuestion\_getQuestionDataArray(), SurveyOrdinalQuestion\_getQuestionDataArray(), SurveyMetricQuestion\_getQuestionDataArray(), SurveyMatrixQuestion\_getQuestionDataArray(), getId(), SurveyTextQuestion\importResponses(), SurveyOrdinalQuestion\importResponses(), SurveyNominalQuestion\importResponses(), SurveyMetricQuestion\importResponses(), SurveyMatrixQuestion\importResponses(), SurveyTextQuestion\loadFromDb(), SurveyNominalQuestion\loadFromDb(), SurveyOrdinalQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMatrixQuestion\loadFromDb(), setId(), and setSurveyId().
SurveyQuestion::$ilias |
Definition at line 135 of file class.SurveyQuestion.php.
Referenced by SurveyTextQuestion\saveToDb(), SurveyNominalQuestion\saveToDb(), SurveyOrdinalQuestion\saveToDb(), SurveyMetricQuestion\saveToDb(), SurveyQuestion(), SurveyNominalQuestion\syncWithOriginal(), SurveyOrdinalQuestion\syncWithOriginal(), SurveyMetricQuestion\syncWithOriginal(), and SurveyMatrixQuestion\syncWithOriginal().
SurveyQuestion::$lng |
Definition at line 153 of file class.SurveyQuestion.php.
Referenced by _getQuestionTypeName(), SurveyOrdinalQuestion\getPreconditionSelectValue(), SurveyNominalQuestion\getPreconditionSelectValue(), SurveyMetricQuestion\getPreconditionSelectValue(), and SurveyQuestion().
SurveyQuestion::$material |
Definition at line 164 of file class.SurveyQuestion.php.
Referenced by SurveyOrdinalQuestion\importResponses(), SurveyNominalQuestion\importResponses(), SurveyMatrixQuestion\importResponses(), and QTIMaterialToString().
SurveyQuestion::$materials |
Definition at line 90 of file class.SurveyQuestion.php.
SurveyQuestion::$obj_id |
Definition at line 108 of file class.SurveyQuestion.php.
Referenced by _getRefIdFromObjId(), delete(), getObjId(), and setObjId().
SurveyQuestion::$obligatory |
Definition at line 126 of file class.SurveyQuestion.php.
Referenced by getObligatory(), and setObligatory().
SurveyQuestion::$orientation |
Definition at line 162 of file class.SurveyQuestion.php.
Referenced by getOrientation(), setOrientation(), SurveyNominalQuestion\SurveyNominalQuestion(), and SurveyOrdinalQuestion\SurveyOrdinalQuestion().
SurveyQuestion::$owner |
Definition at line 71 of file class.SurveyQuestion.php.
Referenced by duplicate(), getOwner(), setOwner(), SurveyMatrixQuestion\SurveyMatrixQuestion(), SurveyMetricQuestion\SurveyMetricQuestion(), SurveyNominalQuestion\SurveyNominalQuestion(), SurveyOrdinalQuestion\SurveyOrdinalQuestion(), SurveyQuestion(), and SurveyTextQuestion\SurveyTextQuestion().
SurveyQuestion::$questiontext |
Definition at line 117 of file class.SurveyQuestion.php.
Referenced by getQuestiontext(), setQuestiontext(), SurveyMatrixQuestion\SurveyMatrixQuestion(), SurveyMetricQuestion\SurveyMetricQuestion(), SurveyNominalQuestion\SurveyNominalQuestion(), SurveyOrdinalQuestion\SurveyOrdinalQuestion(), SurveyQuestion(), and SurveyTextQuestion\SurveyTextQuestion().
SurveyQuestion::$survey_id |
Definition at line 99 of file class.SurveyQuestion.php.
Referenced by SurveyTextQuestion\checkUserInput(), SurveyNominalQuestion\checkUserInput(), SurveyOrdinalQuestion\checkUserInput(), SurveyMetricQuestion\checkUserInput(), SurveyMatrixQuestion\checkUserInput(), SurveyTextQuestion\getCumulatedResults(), SurveyOrdinalQuestion\getCumulatedResults(), SurveyNominalQuestion\getCumulatedResults(), SurveyMetricQuestion\getCumulatedResults(), SurveyMatrixQuestion\getCumulatedResults(), SurveyMatrixQuestion\getCumulatedResultsForRow(), SurveyMatrixQuestion\getNrOfUsersAnswered(), getObligatory(), getSurveyId(), SurveyTextQuestion\getUserAnswers(), SurveyOrdinalQuestion\getUserAnswers(), SurveyNominalQuestion\getUserAnswers(), SurveyMetricQuestion\getUserAnswers(), SurveyMatrixQuestion\getUserAnswers(), SurveyOrdinalQuestion\outChart(), SurveyNominalQuestion\outChart(), SurveyMetricQuestion\outChart(), and SurveyMatrixQuestion\outChart().
SurveyQuestion::$title |
Definition at line 54 of file class.SurveyQuestion.php.
Referenced by copyObject(), duplicate(), getTitle(), SurveyMatrixQuestion\outChart(), phraseExists(), questionTitleExists(), SurveyOrdinalQuestion\savePhrase(), SurveyMatrixQuestion\savePhrase(), setTitle(), SurveyMatrixQuestion\SurveyMatrixQuestion(), SurveyMetricQuestion\SurveyMetricQuestion(), SurveyNominalQuestion\SurveyNominalQuestion(), SurveyOrdinalQuestion\SurveyOrdinalQuestion(), SurveyQuestion(), and SurveyTextQuestion\SurveyTextQuestion().
SurveyQuestion::$tpl |
Definition at line 144 of file class.SurveyQuestion.php.
Referenced by SurveyQuestion().