ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Basic class for all survey question types. More...
Public Member Functions | |
__construct ($title="", $description="", $author="", $questiontext="", $owner=-1) | |
SurveyQuestion constructor The constructor takes possible arguments an creates an instance of the SurveyQuestion object. More... | |
setComplete ($a_complete) | |
Sets the complete state of the question. More... | |
isComplete () | |
Returns 1, if a question is complete for use. More... | |
questionTitleExists ($title, $questionpool_object="") | |
Returns TRUE if the question title exists in the database. More... | |
setTitle ($title="") | |
Sets the title string of the SurveyQuestion object. More... | |
setObligatory ($obligatory=1) | |
Sets the obligatory state of the question. More... | |
setOrientation ($orientation=0) | |
Sets the orientation of the question output. More... | |
setId ($id=-1) | |
Sets the id of the SurveyQuestion object. More... | |
setSurveyId ($id=-1) | |
Sets the survey id of the SurveyQuestion object. More... | |
setDescription ($description="") | |
Sets the description string of the SurveyQuestion object. More... | |
addMaterials ($materials_file, $materials_name="") | |
Sets the materials uri. More... | |
setMaterialsfile ($materials_filename, $materials_tempfilename="", $materials_name="") | |
Sets and uploads the materials uri. More... | |
deleteMaterial ($materials_name="") | |
Deletes a materials uri with a given name. More... | |
flushMaterials () | |
Deletes all materials uris. More... | |
setAuthor ($author="") | |
Sets the authors name of the SurveyQuestion object. More... | |
setQuestiontext ($questiontext="") | |
Sets the questiontext of the SurveyQuestion object. More... | |
setOwner ($owner="") | |
Sets the creator/owner ID of the SurveyQuestion object. More... | |
getTitle () | |
Gets the title string of the SurveyQuestion object. More... | |
getLabel () | |
getId () | |
Gets the id of the SurveyQuestion object. More... | |
getObligatory ($survey_id="") | |
Gets the obligatory state of the question. More... | |
getSurveyId () | |
Gets the survey id of the SurveyQuestion object. More... | |
getOrientation () | |
Gets the orientation of the question output. More... | |
getDescription () | |
Gets the description string of the SurveyQuestion object. More... | |
getAuthor () | |
Gets the authors name of the SurveyQuestion object. More... | |
getOwner () | |
Gets the creator/owner ID of the SurveyQuestion object. More... | |
getQuestiontext () | |
Gets the questiontext of the SurveyQuestion object. More... | |
getObjId () | |
Get the reference id of the container object. More... | |
setObjId ($obj_id=0) | |
Set the reference id of the container object. More... | |
duplicate ($for_survey=true, $title="", $author="", $owner="", $a_survey_id=0) | |
Duplicates a survey question. More... | |
copyObject ($target_questionpool, $title="") | |
Copies an assOrderingQuestion object. More... | |
copyXHTMLMediaObjectsOfQuestion ($a_q_id) | |
Increases the media object usage counter when a question is duplicated. More... | |
loadFromDb ($question_id) | |
Loads a SurveyQuestion object from the database. More... | |
saveCompletionStatus ($original_id="") | |
Saves the complete flag to the database. More... | |
saveToDb ($original_id="") | |
Saves a SurveyQuestion object to a database. More... | |
saveMaterial () | |
save material to db More... | |
createNewQuestion () | |
Creates a new question with a 0 timestamp when a new question is created This assures that an ID is given to the question if a file upload or something else occurs. More... | |
saveWorkingData ($limit_to=LIMIT_NO_LIMIT) | |
Saves the learners input of the question to the database. More... | |
getImagePath () | |
Returns the image path for web accessable images of a question. More... | |
getMaterialsPath () | |
Returns the materials path for web accessable materials of a question. More... | |
getImagePathWeb () | |
Returns the web image path for web accessable images of a question. More... | |
getMaterialsPathWeb () | |
Returns the web image path for web accessable images of a question. More... | |
saveCategoryToDb ($categorytext, $neutral=0) | |
Saves a category to the database. More... | |
deleteAdditionalTableData ($question_id) | |
Deletes datasets from the additional question table in the database. More... | |
delete ($question_id) | |
Deletes a question and all materials from the database. More... | |
syncWithOriginal () | |
getPhrase ($phrase_id) | |
Returns a phrase for a given database id. More... | |
phraseExists ($title) | |
Returns true if the phrase title already exists for the current user. More... | |
addInternalLink ($material_id, $title="") | |
deleteMaterials ($a_array) | |
Deletes materials. More... | |
duplicateMaterials ($question_id) | |
Duplicates the materials of a question. More... | |
addMaterial ($obj_material) | |
setMaterial ($material_id="", $is_import=false, $material_title="") | |
Sets a material link for the question. More... | |
getQuestionTypeID () | |
Returns the question type ID of the question. More... | |
getQuestionType () | |
Returns the question type of the question. More... | |
isHTML ($a_text) | |
Checks if a given string contains HTML or not. More... | |
QTIMaterialToString ($a_material) | |
Reads an QTI material tag an creates a text string. More... | |
addMaterialTag (&$a_xml_writer, $a_material, $close_material_tag=TRUE, $add_mobs=TRUE, $a_attrs=null) | |
Creates an XML material tag from a plain text or xhtml text. More... | |
prepareTextareaOutput ($txt_output, $prepare_for_latex_output=FALSE) | |
Prepares a string for a text area output in surveys. More... | |
getQuestionDataArray ($id) | |
Returns the question data fields from the database. More... | |
& | getWorkingDataFromUserInput ($post_data) |
Creates the user data of the svy_answer table from the POST data. More... | |
importAdditionalMetadata ($a_meta) | |
Import additional meta data from the question import file. More... | |
importResponses ($a_data) | |
Import response data from the question import file. More... | |
importAdjectives ($a_data) | |
Import bipolar adjectives from the question import file. More... | |
importMatrix ($a_data) | |
Import matrix rows from the question import file. More... | |
usableForPrecondition () | |
Returns if the question is usable for preconditions. More... | |
getAvailableRelations () | |
Returns the available relations for the question. More... | |
getPreconditionOptions () | |
Returns the options for preconditions. More... | |
getPreconditionValueOutput ($value) | |
Returns the output for a precondition value. More... | |
getPreconditionSelectValue ($default="", $title, $variable) | |
Creates a form property for the precondition value. More... | |
setOriginalId ($original_id) | |
getOriginalId () | |
getMaterial () | |
setSubtype ($a_subtype) | |
getSubtype () | |
__get ($value) | |
Object getter. More... | |
__set ($key, $value) | |
Object setter. More... | |
getCopyIds ($a_group_by_survey=false) | |
hasCopies () | |
stripSlashesAddSpaceFallback ($a_str) | |
Strip slashes with add space fallback, see https://mantis.ilias.de/view.php?id=19727 and https://mantis.ilias.de/view.php?id=24200. More... | |
Static Public Member Functions | |
static | _isComplete ($question_id) |
Checks whether the question is complete or not. More... | |
static | _getQuestionType ($question_id) |
Returns the question type of a question with a given id. More... | |
static | _getTitle ($question_id) |
Returns the question title of a question with a given id. More... | |
static | _getOriginalId ($question_id, $a_return_question_id_if_no_original=true) |
Returns the original id of a question. More... | |
static | _questionExists ($question_id) |
Returns true if the question already exists in the database. More... | |
static | _resolveInternalLink ($internal_link) |
static | _resolveIntLinks ($question_id) |
static | _getInternalLinkHref ($target="", $a_parent_ref_id=null) |
static | _isWriteable ($question_id, $user_id) |
Returns true if the question is writeable by a certain user. More... | |
static | _includeClass ($question_type, $gui=0) |
Include the php class file for a given question type. More... | |
static | _getQuestionTypeName ($type_tag) |
Return the translation for a given question type tag. More... | |
static | _instanciateQuestion ($question_id) |
Creates an instance of a question with a given question id. More... | |
static | _instanciateQuestionGUI ($question_id) |
Creates an instance of a question GUI with a given question id. More... | |
static | _instanciateQuestionEvaluation ($question_id, array $a_finished_ids=null) |
Creates an instance of a question evaluation with a given question id. More... | |
static | _changeOriginalId ($a_question_id, $a_original_id, $a_object_id) |
Change original id of existing question in db. More... | |
static | _lookupSurveyObjId ($a_question_id) |
static | lookupObjFi ($a_qid) |
Lookip obj fi. More... | |
Data Fields | |
$id | |
$title | |
$description | |
$owner | |
$author | |
$materials | |
$survey_id | |
$obj_id | |
$questiontext | |
$obligatory | |
$ilias | |
$tpl | |
$lng | |
$orientation | |
$material | |
$complete | |
Protected Attributes | |
$cumulated | |
An array containing the cumulated results of the question for a given survey. More... | |
$log | |
Private Attributes | |
$arrData | |
data array containing the question data More... | |
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 34 of file class.SurveyQuestion.php.
SurveyQuestion::__construct | ( | $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 @access public |
Reimplemented in SurveyMatrixQuestion, and SurveyTextQuestion.
Definition at line 162 of file class.SurveyQuestion.php.
References $author, $description, $ilias, $lng, $owner, $questiontext, $title, $tpl, and ilLoggerFactory\getLogger().
SurveyQuestion::__get | ( | $value | ) |
Object getter.
Definition at line 2085 of file class.SurveyQuestion.php.
SurveyQuestion::__set | ( | $key, | |
$value | |||
) |
Object setter.
Definition at line 2105 of file class.SurveyQuestion.php.
|
static |
Change original id of existing question in db.
int | $a_question_id | |
int | $a_original_id | |
int | $a_object_id |
Definition at line 2122 of file class.SurveyQuestion.php.
References $ilDB.
Referenced by ilSurveyEditorGUI\executeCopyQuestionsToPoolObject().
|
static |
Definition at line 1590 of file class.SurveyQuestion.php.
References $ilDB, $target, $target_id, and ilUtil\removeTrailingPathSeparators().
Referenced by SurveyQuestionGUI\getMaterialOutput(), and SurveyQuestionGUI\material().
|
static |
Returns the original id of a question.
integer | $question_id | The database id of the question |
Definition at line 1202 of file class.SurveyQuestion.php.
References $ilDB, $result, and $row.
Referenced by ilObjSurvey\cloneObject(), and copyObject().
|
static |
Returns the question type of a question with a given id.
integer | $question_id | The database id of the question |
Definition at line 1146 of file class.SurveyQuestion.php.
References $data, $ilDB, and $result.
Referenced by ilObjSurvey\_instanciateQuestion(), _instanciateQuestion(), _instanciateQuestionEvaluation(), _instanciateQuestionGUI(), ilObjSurveyGUI\addLocatorItems(), ilObjSurveyQuestionPoolGUI\addLocatorItems(), ilSurveyConstraintsGUI\confirmDeleteConstraintsObject(), ilObjSurvey\getConstraints(), and ilObjSurvey\getUserSpecificResults().
|
static |
Return the translation for a given question type tag.
string | $type_tag | The type tag of the question type @access public |
Definition at line 1734 of file class.SurveyQuestion.php.
References $lng, ilPlugin\getPluginObject(), and IL_COMP_MODULE.
Referenced by ilSurveyConstraintsGUI\constraintForm(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), SurveyMatrixQuestionEvaluation\exportResults(), SurveyQuestionEvaluation\exportResults(), ilSurveyEvaluationGUI\exportResultsDetailsExcel(), ilSurveyQuestionsTableGUI\fillRow(), ilSurveyResultsCumulatedTableGUI\getItems(), ilSurveyEditorGUI\removeQuestionsForm(), and ilSurveyEvaluationGUI\renderDetails().
|
static |
Returns the question title of a question with a given id.
integer | $question_id | The database id of the question |
Definition at line 1174 of file class.SurveyQuestion.php.
References $data, $ilDB, and $result.
Referenced by ilObjSurveyGUI\addLocatorItems(), ilObjSurveyQuestionPoolGUI\addLocatorItems(), ilTermUsagesTableGUI\fillRow(), and ilSurveySyncTableGUI\importData().
|
static |
Include the php class file for a given question type.
string | $question_type | The type tag of the question type |
Definition at line 1701 of file class.SurveyQuestion.php.
References ilPlugin\getPluginObject(), and IL_COMP_MODULE.
Referenced by SurveyQuestionGUI\_getQuestionGUI(), ilObjSurvey\_instanciateQuestion(), _instanciateQuestion(), _instanciateQuestionEvaluation(), _instanciateQuestionGUI(), ilSurveyConstraintsGUI\confirmDeleteConstraintsObject(), ilSurveyConstraintsGUI\constraintForm(), ilObjSurvey\getConstraints(), ilObjSurvey\getUserSpecificResults(), SurveyImportParser\handlerBeginTag(), and ilObjSurveyQuestionPool\toXML().
|
static |
Creates an instance of a question with a given question id.
integer | $question_id | The question id |
Definition at line 1765 of file class.SurveyQuestion.php.
References _getQuestionType(), and _includeClass().
Referenced by _instanciateQuestionEvaluation(), ilSurveySkill\determineMaxScale(), ilObjSurveyQuestionPool\duplicateQuestion(), ilObjMediaObject\getParentObjectIdForUsage(), ilObjSurvey\importObject(), ilSurveyImporter\importXmlRepresentation(), ilObjSurveyQuestionPool\removeQuestion(), and ilSurveyExecutionGUI\saveActiveQuestionData().
|
static |
Creates an instance of a question evaluation with a given question id.
integer | $question_id | The question id |
Definition at line 1803 of file class.SurveyQuestion.php.
References _getQuestionType(), _includeClass(), and _instanciateQuestion().
Referenced by ilSurveyEvaluationGUI\evaluation(), ilSurveyEvaluationGUI\exportCumulatedResults(), ilSurveyEvaluationGUI\exportEvaluationUser(), ilObjSurvey\getUserSpecificResults(), and ilSurveyEvaluationGUI\parseUserSpecificResults().
|
static |
Creates an instance of a question GUI with a given question id.
integer | $question_id | The question id |
Definition at line 1784 of file class.SurveyQuestion.php.
References _getQuestionType(), and _includeClass().
|
static |
Checks whether the question is complete or not.
Definition at line 715 of file class.SurveyQuestion.php.
References $ilDB, $result, and $row.
Referenced by ilSurveyPageGUI\insertNewQuestion(), ilObjSurvey\insertQuestion(), and SurveyQuestionGUI\save().
|
static |
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 1633 of file class.SurveyQuestion.php.
References $ilDB, $result, $row, and ilObjSurveyQuestionPool\_isWriteable().
Referenced by SurveyQuestionGUI\save().
|
static |
Definition at line 2161 of file class.SurveyQuestion.php.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
|
static |
Returns true if the question already exists in the database.
integer | $question_id | The database id of the question |
Definition at line 1315 of file class.SurveyQuestion.php.
References $ilDB, and $result.
Referenced by ilSurveySkill\read(), and SurveyQuestionGUI\save().
|
static |
Definition at line 1502 of file class.SurveyQuestion.php.
References ilLMObject\_getIdForImportId(), and ilInternalLink\_getIdForImportId().
Referenced by _resolveIntLinks(), and setMaterial().
|
static |
Definition at line 1539 of file class.SurveyQuestion.php.
References $ilDB, $result, $row, ilInternalLink\_deleteAllLinksOfSource(), _resolveInternalLink(), and ilInternalLink\_saveLink().
Referenced by ilContObjParser\processPagesToParse().
SurveyQuestion::addInternalLink | ( | $material_id, | |
$title = "" |
|||
) |
Definition at line 1331 of file class.SurveyQuestion.php.
References $target_id, ilGlossaryTerm\_lookGlossaryTerm(), ilLMObject\_lookupContObjID(), addMaterial(), and saveMaterial().
SurveyQuestion::addMaterial | ( | $obj_material | ) |
Definition at line 1427 of file class.SurveyQuestion.php.
Referenced by addInternalLink().
SurveyQuestion::addMaterials | ( | $materials_file, | |
$materials_name = "" |
|||
) |
Sets the materials uri.
string | $materials_file | An uri to additional materials |
string | $materials_name | An uri name to additional materials @access public |
Definition at line 323 of file class.SurveyQuestion.php.
Referenced by setMaterialsfile().
SurveyQuestion::addMaterialTag | ( | & | $a_xml_writer, |
$a_material, | |||
$close_material_tag = TRUE , |
|||
$add_mobs = TRUE , |
|||
$a_attrs = null |
|||
) |
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 1878 of file class.SurveyQuestion.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), getId(), and isHTML().
Referenced by SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), and SurveyTextQuestion\insertXML().
SurveyQuestion::copyObject | ( | $target_questionpool, | |
$title = "" |
|||
) |
Copies an assOrderingQuestion object.
@access public
Definition at line 634 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.
integer | $a_q_id | The question id of the original question @access public |
Definition at line 666 of file class.SurveyQuestion.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and getId().
SurveyQuestion::createNewQuestion | ( | ) |
Creates a new question with a 0 timestamp when a new question is created This assures that an ID is given to the question if a file upload or something else occurs.
Definition at line 868 of file class.SurveyQuestion.php.
References $ilDB, $obj_id, getAuthor(), getId(), getObjId(), getOwner(), getQuestionTypeID(), and setId().
SurveyQuestion::delete | ( | $question_id | ) |
Deletes a question and all materials from the database.
integer | $question_id | The database id of the question @access private |
Definition at line 1034 of file class.SurveyQuestion.php.
References $ilDB, $mobs, $obj_id, $result, $row, ilInternalLink\_deleteAllLinksOfSource(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilUtil\delDir(), deleteAdditionalTableData(), and ilSurveySkill\handleQuestionDeletion().
SurveyQuestion::deleteAdditionalTableData | ( | $question_id | ) |
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 @access public |
Reimplemented in SurveyMatrixQuestion.
Definition at line 1016 of file class.SurveyQuestion.php.
References $ilDB.
Referenced by delete().
SurveyQuestion::deleteMaterial | ( | $materials_name = "" | ) |
Deletes a materials uri with a given name.
string | $index | A materials_name of the materials uri @access public |
Definition at line 370 of file class.SurveyQuestion.php.
References getMaterialsPath().
SurveyQuestion::deleteMaterials | ( | $a_array | ) |
Deletes materials.
array | $a_array | Array with indexes of the materials to delete |
Definition at line 1394 of file class.SurveyQuestion.php.
References saveMaterial().
SurveyQuestion::duplicate | ( | $for_survey = true , |
|
$title = "" , |
|||
$author = "" , |
|||
$owner = "" , |
|||
$a_survey_id = 0 |
|||
) |
Duplicates a survey question.
@access public
Definition at line 587 of file class.SurveyQuestion.php.
References $author, $owner, $title, and getId().
SurveyQuestion::duplicateMaterials | ( | $question_id | ) |
Duplicates the materials of a question.
integer | $question_id | The database id of the original survey question @access public |
Definition at line 1410 of file class.SurveyQuestion.php.
References $filename, getMaterialsPath(), ilUtil\makeDirParents(), and print.
SurveyQuestion::flushMaterials | ( | ) |
Deletes all materials uris.
@access public
Definition at line 391 of file class.SurveyQuestion.php.
SurveyQuestion::getAuthor | ( | ) |
Gets the authors name of the SurveyQuestion object.
Definition at line 530 of file class.SurveyQuestion.php.
Referenced by createNewQuestion(), SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyTextQuestion\insertXML(), SurveyMatrixQuestion\isComplete(), SurveyMetricQuestion\isComplete(), SurveyMultipleChoiceQuestion\isComplete(), SurveySingleChoiceQuestion\isComplete(), SurveyTextQuestion\isComplete(), and saveToDb().
SurveyQuestion::getAvailableRelations | ( | ) |
Returns the available relations for the question.
Reimplemented in SurveyMetricQuestion, SurveyMultipleChoiceQuestion, and SurveySingleChoiceQuestion.
Definition at line 2015 of file class.SurveyQuestion.php.
SurveyQuestion::getCopyIds | ( | $a_group_by_survey = false | ) |
Definition at line 2132 of file class.SurveyQuestion.php.
References $ilDB, $res, and $row.
Referenced by hasCopies().
SurveyQuestion::getDescription | ( | ) |
Gets the description string of the SurveyQuestion object.
Definition at line 518 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyTextQuestion\insertXML(), and saveToDb().
SurveyQuestion::getId | ( | ) |
Gets the id of the SurveyQuestion object.
Definition at line 460 of file class.SurveyQuestion.php.
References $id.
Referenced by addMaterialTag(), SurveyMatrixQuestion\checkUserInput(), SurveyMetricQuestion\checkUserInput(), SurveyMultipleChoiceQuestion\checkUserInput(), SurveySingleChoiceQuestion\checkUserInput(), SurveyTextQuestion\checkUserInput(), copyObject(), copyXHTMLMediaObjectsOfQuestion(), createNewQuestion(), duplicate(), SurveyMatrixQuestion\getWorkingDataFromUserInput(), SurveyMetricQuestion\getWorkingDataFromUserInput(), SurveyMultipleChoiceQuestion\getWorkingDataFromUserInput(), SurveySingleChoiceQuestion\getWorkingDataFromUserInput(), SurveyTextQuestion\getWorkingDataFromUserInput(), SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyTextQuestion\insertXML(), loadFromDb(), SurveyMatrixQuestion\saveBipolarAdjectives(), SurveyMultipleChoiceQuestion\saveCategoriesToDb(), SurveySingleChoiceQuestion\saveCategoriesToDb(), SurveyMatrixQuestion\saveColumnsToDb(), saveCompletionStatus(), SurveyMatrixQuestion\saveLayout(), saveMaterial(), SurveyMatrixQuestion\saveRowsToDb(), SurveyMetricQuestion\saveToDb(), SurveyMultipleChoiceQuestion\saveToDb(), saveToDb(), SurveySingleChoiceQuestion\saveToDb(), SurveyTextQuestion\saveToDb(), SurveyMatrixQuestion\saveToDb(), SurveyMatrixQuestion\saveUserInput(), SurveyMetricQuestion\saveUserInput(), SurveyMultipleChoiceQuestion\saveUserInput(), SurveySingleChoiceQuestion\saveUserInput(), SurveyTextQuestion\saveUserInput(), and syncWithOriginal().
SurveyQuestion::getImagePath | ( | ) |
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
@access public
Definition at line 921 of file class.SurveyQuestion.php.
SurveyQuestion::getImagePathWeb | ( | ) |
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
@access public
Definition at line 943 of file class.SurveyQuestion.php.
References ilUtil\removeTrailingPathSeparators().
SurveyQuestion::getLabel | ( | ) |
Definition at line 448 of file class.SurveyQuestion.php.
SurveyQuestion::getMaterial | ( | ) |
SurveyQuestion::getMaterialsPath | ( | ) |
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
@access public
Definition at line 932 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.
The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/images
@access public
Definition at line 955 of file class.SurveyQuestion.php.
References ilUtil\removeTrailingPathSeparators().
SurveyQuestion::getObjId | ( | ) |
Get the reference id of the container object.
Definition at line 566 of file class.SurveyQuestion.php.
References $obj_id.
Referenced by copyObject(), createNewQuestion(), and saveToDb().
SurveyQuestion::getObligatory | ( | $survey_id = "" | ) |
Gets the obligatory state of the question.
Definition at line 471 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\checkUserInput(), SurveyMetricQuestion\checkUserInput(), SurveyMultipleChoiceQuestion\checkUserInput(), SurveySingleChoiceQuestion\checkUserInput(), SurveyTextQuestion\checkUserInput(), SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyTextQuestion\insertXML(), and saveToDb().
SurveyQuestion::getOrientation | ( | ) |
Gets the orientation of the question output.
Definition at line 495 of file class.SurveyQuestion.php.
References $orientation.
Referenced by SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyMultipleChoiceQuestion\saveToDb(), and SurveySingleChoiceQuestion\saveToDb().
SurveyQuestion::getOriginalId | ( | ) |
Definition at line 2061 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\syncWithOriginal(), and syncWithOriginal().
SurveyQuestion::getOwner | ( | ) |
Gets the creator/owner ID of the SurveyQuestion object.
Definition at line 542 of file class.SurveyQuestion.php.
References $owner.
Referenced by createNewQuestion(), and saveToDb().
SurveyQuestion::getPhrase | ( | $phrase_id | ) |
Returns a phrase for a given database id.
Definition at line 1275 of file class.SurveyQuestion.php.
SurveyQuestion::getPreconditionOptions | ( | ) |
Returns the options for preconditions.
Reimplemented in SurveyMultipleChoiceQuestion, and SurveySingleChoiceQuestion.
Definition at line 2026 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\getPreconditionSelectValue().
SurveyQuestion::getPreconditionSelectValue | ( | $default = "" , |
|
$title, | |||
$variable | |||
) |
Creates a form property for the precondition value.
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, and SurveySingleChoiceQuestion.
Definition at line 2050 of file class.SurveyQuestion.php.
SurveyQuestion::getPreconditionValueOutput | ( | $value | ) |
Returns the output for a precondition value.
string | $value | The precondition value |
Reimplemented in SurveyMatrixQuestion, SurveyMultipleChoiceQuestion, and SurveySingleChoiceQuestion.
Definition at line 2038 of file class.SurveyQuestion.php.
SurveyQuestion::getQuestionDataArray | ( | $id | ) |
Returns the question data fields from the database.
integer | $id | The question ID from the database |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 1933 of file class.SurveyQuestion.php.
SurveyQuestion::getQuestiontext | ( | ) |
Gets the questiontext of the SurveyQuestion object.
Definition at line 554 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyTextQuestion\insertXML(), SurveyMatrixQuestion\isComplete(), SurveyMetricQuestion\isComplete(), SurveyMultipleChoiceQuestion\isComplete(), SurveySingleChoiceQuestion\isComplete(), SurveyTextQuestion\isComplete(), and saveToDb().
SurveyQuestion::getQuestionType | ( | ) |
Returns the question type of the question.
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 1689 of file class.SurveyQuestion.php.
Referenced by getQuestionTypeID().
SurveyQuestion::getQuestionTypeID | ( | ) |
Returns the question type ID of the question.
Reimplemented in SurveyMetricQuestion.
Definition at line 1665 of file class.SurveyQuestion.php.
References $ilDB, $result, $row, and getQuestionType().
Referenced by createNewQuestion(), and saveToDb().
SurveyQuestion::getSubtype | ( | ) |
Reimplemented in SurveyMatrixQuestion, and SurveyMetricQuestion.
Definition at line 2076 of file class.SurveyQuestion.php.
SurveyQuestion::getSurveyId | ( | ) |
Gets the survey id of the SurveyQuestion object.
Definition at line 483 of file class.SurveyQuestion.php.
References $survey_id.
SurveyQuestion::getTitle | ( | ) |
Gets the title string of the SurveyQuestion object.
Definition at line 443 of file class.SurveyQuestion.php.
References $title.
Referenced by SurveyMatrixQuestion\insertXML(), SurveyMetricQuestion\insertXML(), SurveyMultipleChoiceQuestion\insertXML(), SurveySingleChoiceQuestion\insertXML(), SurveyTextQuestion\insertXML(), SurveyMatrixQuestion\isComplete(), SurveyMetricQuestion\isComplete(), SurveyMultipleChoiceQuestion\isComplete(), SurveySingleChoiceQuestion\isComplete(), SurveyTextQuestion\isComplete(), and saveToDb().
& SurveyQuestion::getWorkingDataFromUserInput | ( | $post_data | ) |
Creates the user data of the svy_answer table from the POST data.
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 1944 of file class.SurveyQuestion.php.
References $data.
SurveyQuestion::hasCopies | ( | ) |
Definition at line 2156 of file class.SurveyQuestion.php.
References getCopyIds().
SurveyQuestion::importAdditionalMetadata | ( | $a_meta | ) |
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, SurveyMultipleChoiceQuestion, and SurveySingleChoiceQuestion.
Definition at line 1959 of file class.SurveyQuestion.php.
SurveyQuestion::importAdjectives | ( | $a_data | ) |
Import bipolar adjectives from the question import file.
Reimplemented in SurveyMatrixQuestion.
Definition at line 1981 of file class.SurveyQuestion.php.
SurveyQuestion::importMatrix | ( | $a_data | ) |
Import matrix rows from the question import file.
Reimplemented in SurveyMatrixQuestion.
Definition at line 1992 of file class.SurveyQuestion.php.
SurveyQuestion::importResponses | ( | $a_data | ) |
Import response data from the question import file.
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 1970 of file class.SurveyQuestion.php.
SurveyQuestion::isComplete | ( | ) |
Returns 1, if a question is complete for use.
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 212 of file class.SurveyQuestion.php.
Referenced by saveCompletionStatus(), and saveToDb().
SurveyQuestion::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
string | $a_text | Text which should be checked |
Definition at line 1824 of file class.SurveyQuestion.php.
Referenced by addMaterialTag().
SurveyQuestion::loadFromDb | ( | $question_id | ) |
Loads a SurveyQuestion object from the database.
integer | $question_id | A unique key which defines the question in the database @access public |
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 682 of file class.SurveyQuestion.php.
References $ilDB, $result, $row, and getId().
|
static |
Lookip obj fi.
return
Definition at line 2181 of file class.SurveyQuestion.php.
References $ilDB.
Referenced by ilTermUsagesTableGUI\fillRow(), and ilSurveyQuestionTableGUI\importData().
SurveyQuestion::phraseExists | ( | $title | ) |
Returns true if the phrase title already exists for the current user.
string | $title | The title of the phrase |
Definition at line 1297 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 @access public |
Definition at line 1921 of file class.SurveyQuestion.php.
References ilUtil\prepareTextareaOutput().
SurveyQuestion::QTIMaterialToString | ( | $a_material | ) |
Reads an QTI material tag an creates a text string.
string | $a_material | QTI material tag |
Definition at line 1843 of file class.SurveyQuestion.php.
References $_SESSION, $material, $result, and ilLoggerFactory\getLogger().
SurveyQuestion::questionTitleExists | ( | $title, | |
$questionpool_object = "" |
|||
) |
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 225 of file class.SurveyQuestion.php.
SurveyQuestion::saveCategoryToDb | ( | $categorytext, | |
$neutral = 0 |
|||
) |
Saves a category to the database.
string | $categorytext | The description of the category |
Definition at line 969 of file class.SurveyQuestion.php.
References $ilDB, $ilUser, $insert, $result, and $row.
Referenced by SurveyMultipleChoiceQuestion\saveCategoriesToDb(), and SurveySingleChoiceQuestion\saveCategoriesToDb().
SurveyQuestion::saveCompletionStatus | ( | $original_id = "" | ) |
Saves the complete flag to the database.
@access public
Definition at line 739 of file class.SurveyQuestion.php.
References $ilDB, getId(), and isComplete().
Referenced by SurveyMultipleChoiceQuestion\saveCategoriesToDb(), SurveySingleChoiceQuestion\saveCategoriesToDb(), SurveyMatrixQuestion\saveColumnsToDb(), and SurveyMatrixQuestion\saveRowsToDb().
SurveyQuestion::saveMaterial | ( | ) |
save material to db
Definition at line 825 of file class.SurveyQuestion.php.
References $ilDB, $material, ilInternalLink\_deleteAllLinksOfSource(), ilInternalLink\_saveLink(), and getId().
Referenced by addInternalLink(), deleteMaterials(), SurveyMetricQuestion\saveToDb(), SurveyMultipleChoiceQuestion\saveToDb(), SurveySingleChoiceQuestion\saveToDb(), SurveyTextQuestion\saveToDb(), SurveyMatrixQuestion\saveToDb(), and setMaterial().
SurveyQuestion::saveToDb | ( | $original_id = "" | ) |
Saves a SurveyQuestion object to a database.
integer | $original_id | @access public |
Reimplemented in SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 767 of file class.SurveyQuestion.php.
References $ilDB, ilRTE\_cleanupMediaObjectUsage(), ilRTE\_replaceMediaObjectImageSrc(), getAuthor(), getDescription(), getId(), getObjId(), getObligatory(), getOwner(), getQuestiontext(), getQuestionTypeID(), getTitle(), isComplete(), and setId().
Referenced by syncWithOriginal().
SurveyQuestion::saveWorkingData | ( | $limit_to = LIMIT_NO_LIMIT | ) |
Saves the learners input of the question to the database.
@access public
Definition at line 911 of file class.SurveyQuestion.php.
SurveyQuestion::setAuthor | ( | $author = "" | ) |
Sets the authors name of the SurveyQuestion object.
string | $author | A string containing the name of the questions author @access public |
Definition at line 403 of file class.SurveyQuestion.php.
References $author.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setComplete | ( | $a_complete | ) |
Sets the complete state of the question.
integer | $a_complete | 1 if complete, 0 otherwise @access public |
Definition at line 201 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setDescription | ( | $description = "" | ) |
Sets the description string of the SurveyQuestion object.
string | $description | A description string to describe the question @access public |
Definition at line 310 of file class.SurveyQuestion.php.
References $description.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setId | ( | $id = -1 | ) |
Sets the id of the SurveyQuestion object.
integer | $id | A unique integer value @access public |
Definition at line 286 of file class.SurveyQuestion.php.
References $id.
Referenced by createNewQuestion(), SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), SurveyTextQuestion\loadFromDb(), saveToDb(), and syncWithOriginal().
SurveyQuestion::setMaterial | ( | $material_id = "" , |
|
$is_import = false , |
|||
$material_title = "" |
|||
) |
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 @access public |
Definition at line 1439 of file class.SurveyQuestion.php.
References $target_id, ilGlossaryTerm\_lookGlossaryTerm(), ilLMObject\_lookupContObjID(), _resolveInternalLink(), and saveMaterial().
SurveyQuestion::setMaterialsfile | ( | $materials_filename, | |
$materials_tempfilename = "" , |
|||
$materials_name = "" |
|||
) |
Sets and uploads the materials uri.
stringstringstring | $materials_filename,$materials_tempfilename,$materials | @access public |
Definition at line 342 of file class.SurveyQuestion.php.
References addMaterials(), getMaterialsPath(), ilUtil\makeDirParents(), ilUtil\moveUploadedFile(), and print.
SurveyQuestion::setObjId | ( | $obj_id = 0 | ) |
Set the reference id of the container object.
integer | $obj_id | The reference id of the container object @access public |
Definition at line 577 of file class.SurveyQuestion.php.
References $obj_id.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setObligatory | ( | $obligatory = 1 | ) |
Sets the obligatory state of the question.
integer | $obligatory | 1, if the question is obligatory, otherwise 0 @access public |
Definition at line 262 of file class.SurveyQuestion.php.
References $obligatory.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setOrientation | ( | $orientation = 0 | ) |
Sets the orientation of the question output.
integer | $orientation | 0 = vertical, 1 = horizontal @access public |
Definition at line 274 of file class.SurveyQuestion.php.
References $orientation.
Referenced by SurveyMultipleChoiceQuestion\importAdditionalMetadata(), SurveySingleChoiceQuestion\importAdditionalMetadata(), SurveyMultipleChoiceQuestion\loadFromDb(), and SurveySingleChoiceQuestion\loadFromDb().
SurveyQuestion::setOriginalId | ( | $original_id | ) |
Definition at line 2056 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), SurveyTextQuestion\loadFromDb(), and syncWithOriginal().
SurveyQuestion::setOwner | ( | $owner = "" | ) |
Sets the creator/owner ID of the SurveyQuestion object.
integer | $owner | A numerical ID to identify the owner/creator @access public |
Definition at line 431 of file class.SurveyQuestion.php.
References $owner.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setQuestiontext | ( | $questiontext = "" | ) |
Sets the questiontext of the SurveyQuestion object.
string | $questiontext | A string containing the questiontext @access public |
Definition at line 419 of file class.SurveyQuestion.php.
References $questiontext.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::setSubtype | ( | $a_subtype | ) |
Reimplemented in SurveyMatrixQuestion, and SurveyMetricQuestion.
Definition at line 2071 of file class.SurveyQuestion.php.
SurveyQuestion::setSurveyId | ( | $id = -1 | ) |
Sets the survey id of the SurveyQuestion object.
integer | $id | A unique integer value @access public |
Definition at line 298 of file class.SurveyQuestion.php.
References $id.
SurveyQuestion::setTitle | ( | $title = "" | ) |
Sets the title string of the SurveyQuestion object.
string | $title | A title string to describe the question @access public |
Definition at line 250 of file class.SurveyQuestion.php.
References $title.
Referenced by SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), and SurveyTextQuestion\loadFromDb().
SurveyQuestion::stripSlashesAddSpaceFallback | ( | $a_str | ) |
Strip slashes with add space fallback, see https://mantis.ilias.de/view.php?id=19727 and https://mantis.ilias.de/view.php?id=24200.
string | $a_str | string |
Definition at line 2199 of file class.SurveyQuestion.php.
References ilUtil\stripSlashes().
Referenced by SurveyTextQuestion\saveUserInput().
SurveyQuestion::syncWithOriginal | ( | ) |
Reimplemented in SurveyMatrixQuestion.
Definition at line 1227 of file class.SurveyQuestion.php.
References $ilDB, ilInternalLink\_deleteAllLinksOfSource(), ilInternalLink\_saveLink(), getId(), getOriginalId(), saveToDb(), setId(), and setOriginalId().
SurveyQuestion::usableForPrecondition | ( | ) |
Returns if the question is usable for preconditions.
Reimplemented in SurveyMatrixQuestion, SurveyMetricQuestion, SurveyMultipleChoiceQuestion, SurveySingleChoiceQuestion, and SurveyTextQuestion.
Definition at line 2003 of file class.SurveyQuestion.php.
|
private |
data array containing the question data
Definition at line 145 of file class.SurveyQuestion.php.
SurveyQuestion::$author |
Definition at line 69 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\__construct(), __construct(), SurveyTextQuestion\__construct(), SurveyMultipleChoiceQuestion\__construct(), SurveySingleChoiceQuestion\__construct(), SurveyMetricQuestion\__construct(), duplicate(), and setAuthor().
SurveyQuestion::$complete |
Definition at line 135 of file class.SurveyQuestion.php.
|
protected |
An array containing the cumulated results of the question for a given survey.
Definition at line 140 of file class.SurveyQuestion.php.
SurveyQuestion::$description |
Definition at line 54 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\__construct(), __construct(), SurveyTextQuestion\__construct(), SurveyMultipleChoiceQuestion\__construct(), SurveySingleChoiceQuestion\__construct(), SurveyMetricQuestion\__construct(), and setDescription().
SurveyQuestion::$id |
Definition at line 41 of file class.SurveyQuestion.php.
Referenced by getId(), SurveyMatrixQuestion\getQuestionDataArray(), SurveyMetricQuestion\getQuestionDataArray(), SurveyMultipleChoiceQuestion\getQuestionDataArray(), SurveySingleChoiceQuestion\getQuestionDataArray(), SurveyTextQuestion\getQuestionDataArray(), SurveyMatrixQuestion\importResponses(), SurveyMetricQuestion\importResponses(), SurveyMultipleChoiceQuestion\importResponses(), SurveySingleChoiceQuestion\importResponses(), SurveyTextQuestion\importResponses(), SurveyMatrixQuestion\loadFromDb(), SurveyMetricQuestion\loadFromDb(), SurveyMultipleChoiceQuestion\loadFromDb(), SurveySingleChoiceQuestion\loadFromDb(), SurveyTextQuestion\loadFromDb(), setId(), and setSurveyId().
SurveyQuestion::$ilias |
Definition at line 111 of file class.SurveyQuestion.php.
Referenced by __construct().
SurveyQuestion::$lng |
Definition at line 125 of file class.SurveyQuestion.php.
Referenced by __construct(), _getQuestionTypeName(), SurveyMultipleChoiceQuestion\getPreconditionOptions(), and SurveySingleChoiceQuestion\getPreconditionOptions().
|
protected |
Definition at line 150 of file class.SurveyQuestion.php.
SurveyQuestion::$material |
Definition at line 134 of file class.SurveyQuestion.php.
Referenced by getMaterial(), SurveyMatrixQuestion\importResponses(), SurveyMultipleChoiceQuestion\importResponses(), SurveySingleChoiceQuestion\importResponses(), QTIMaterialToString(), and saveMaterial().
SurveyQuestion::$materials |
Definition at line 76 of file class.SurveyQuestion.php.
SurveyQuestion::$obj_id |
Definition at line 90 of file class.SurveyQuestion.php.
Referenced by createNewQuestion(), delete(), getObjId(), and setObjId().
SurveyQuestion::$obligatory |
Definition at line 104 of file class.SurveyQuestion.php.
Referenced by setObligatory().
SurveyQuestion::$orientation |
Definition at line 132 of file class.SurveyQuestion.php.
Referenced by SurveyMultipleChoiceQuestion\__construct(), SurveySingleChoiceQuestion\__construct(), getOrientation(), and setOrientation().
SurveyQuestion::$owner |
Definition at line 61 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\__construct(), __construct(), SurveyTextQuestion\__construct(), SurveyMultipleChoiceQuestion\__construct(), SurveySingleChoiceQuestion\__construct(), SurveyMetricQuestion\__construct(), duplicate(), getOwner(), and setOwner().
SurveyQuestion::$questiontext |
Definition at line 97 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\__construct(), __construct(), SurveyTextQuestion\__construct(), SurveyMultipleChoiceQuestion\__construct(), SurveySingleChoiceQuestion\__construct(), SurveyMetricQuestion\__construct(), and setQuestiontext().
SurveyQuestion::$survey_id |
Definition at line 83 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\checkUserInput(), SurveyMetricQuestion\checkUserInput(), SurveyMultipleChoiceQuestion\checkUserInput(), SurveySingleChoiceQuestion\checkUserInput(), SurveyTextQuestion\checkUserInput(), and getSurveyId().
SurveyQuestion::$title |
Definition at line 48 of file class.SurveyQuestion.php.
Referenced by SurveyMatrixQuestion\__construct(), __construct(), SurveyTextQuestion\__construct(), SurveyMultipleChoiceQuestion\__construct(), SurveySingleChoiceQuestion\__construct(), SurveyMetricQuestion\__construct(), copyObject(), duplicate(), SurveyMatrixQuestion\getPreconditionSelectValue(), SurveyMetricQuestion\getPreconditionSelectValue(), SurveyMultipleChoiceQuestion\getPreconditionSelectValue(), SurveySingleChoiceQuestion\getPreconditionSelectValue(), getTitle(), phraseExists(), questionTitleExists(), SurveyMatrixQuestion\savePhrase(), SurveySingleChoiceQuestion\savePhrase(), and setTitle().
SurveyQuestion::$tpl |
Definition at line 118 of file class.SurveyQuestion.php.
Referenced by __construct().