|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjQuestionPool:
Collaboration diagram for ilObjQuestionPool:Public Member Functions | |
| __construct ($a_id=0, $a_call_by_reference=true) | |
| Constructor public. More... | |
| create ($a_upload=false) | |
| create questionpool object More... | |
| createReference () | |
| Creates a database reference id for the object (saves the object to the database and creates a reference id in the database) More... | |
| update () | |
| update object data More... | |
| read ($a_force_db=false) | |
| read object data from db into object More... | |
| delete () | |
| delete object and all related data More... | |
| deleteQuestionpool () | |
| deleteQuestion (int $question_id) | |
| loadFromDb () | |
| saveToDb () | |
| getQuestiontype ($question_id) | |
| isInUse (int $question_id) | |
| createQuestion (string $question_type, int $question_id=-1) | |
| duplicateQuestion (int $question_id) | |
| copyQuestion (int $question_id, int $questionpool_to) | |
| getPrintviewQuestions () | |
| objectToXmlWriter (ilXmlWriter &$a_xml_writer, $a_inst, $a_target_dir, &$expLog, $questions) | |
| export pages of test to xml (see ilias_co.dtd) More... | |
| exportXMLMetaData (&$a_xml_writer) | |
| export content objects meta data to xml (see ilias_co.dtd) More... | |
| modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
| exportXMLPageObjects (&$a_xml_writer, $a_inst, &$expLog, $questions) | |
| export page objects to xml (see ilias_co.dtd) More... | |
| exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
| exportFileItems ($target_dir, &$expLog) | |
| export files of file itmes More... | |
| createExportDirectory () | |
| creates data directory for export files (data_dir/qpl_data/qpl_<id>/export, depending on data directory that is set in ILIAS setup/ini) More... | |
| getExportDirectory ($type='') | |
| get export directory of questionpool More... | |
| getImportDirectory () | |
| & | getAllQuestions () |
| Retrieve an array containing all question ids of the questionpool. More... | |
| & | getAllQuestionIds () |
| checkQuestionParent (int $question_id) | |
| getImportMapping () | |
| get array of (two) new created questions for import id More... | |
| questionsToXML ($questions) | |
| Returns a QTI xml representation of a list of questions. More... | |
| setShowTaxonomies ($show_taxonomies) | |
| getShowTaxonomies () | |
| pasteFromClipboard () | |
| Copies/Moves a question from the clipboard. More... | |
| copyToClipboard ($question_id) | |
| Copies a question to the clipboard. More... | |
| moveToClipboard ($question_id) | |
| Moves a question to the clipboard. More... | |
| cleanupClipboard ($deletedQuestionId) | |
| getQuestionDetails ($question_ids) | |
| Returns an array containing the qpl_question and qpl_qst_type fields for an array of question ids. More... | |
| getDeleteableQuestionDetails ($question_ids) | |
| Returns an array containing the qpl_question and qpl_qst_type fields of deleteable questions for an array of question ids. More... | |
| getQplQuestions () | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
| Creates a 1:1 copy of the object and places the copy in a given repository. More... | |
| getQuestionTypes ($all_tags=false, $fixOrder=false, $withDeprecatedTypes=true) | |
| getQuestionList () | |
| isPluginActive ($questionType) | |
| Checks wheather or not a question plugin with a given name is active. More... | |
| purgeQuestions () | |
| getTaxonomyIds () | |
| get ids of all taxonomies corresponding to current pool More... | |
| isSkillServiceEnabled () | |
| setSkillServiceEnabled (bool $skill_service_enabled) | |
| fromXML ($xmlFile) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | _setImportDirectory ($a_import_dir=null) |
| static | _getImportDirectory () |
| get import directory of lm More... | |
| static | _hasEqualPoints ($a_obj_id, $is_reference=false) |
| Checks a question pool for questions with the same maximum points. More... | |
| static | _isWriteable ($object_id, $user_id) |
| Returns true, if the question pool is writeable by a given user. More... | |
| static | _getAvailableQuestionpools ( $use_object_id=false, $equal_points=false, $could_be_offline=false, $showPath=false, $with_questioncount=false, $permission='read', $usr_id='') |
| Returns the available question pools for the active user. More... | |
| static | _getQuestionTypes ($all_tags=false, $fixOrder=false, $withDeprecatedTypes=true) |
| static | getQuestionTypeByTypeId ($type_id) |
| static | getQuestionTypeTranslations () |
| static & | _getSelfAssessmentQuestionTypes ($all_tags=false) |
| static | _updateQuestionCount (int $object_id) |
| static | isSkillManagementGloballyActivated () |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
Protected Member Functions | |
| populateQuestionSkillAssignmentsXml (ilXmlWriter &$a_xml_writer, $questions) | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Static Protected Member Functions | |
| static | _getQuestionCount (int $pool_id) |
Private Member Functions | |
| exportXMLSettings ($xmlWriter) | |
Private Attributes | |
| ilComponentRepository | $component_repository |
| ilBenchmark | $benchmark |
| array | $mob_ids |
| array | $file_ids |
| bool | $show_taxonomies = null |
| bool | $skill_service_enabled |
| ILIAS TestQuestionPool QuestionInfoService | $questioninfo |
Static Private Attributes | |
| static | $isSkillManagementGloballyActivated = null |
Additional Inherited Members | |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
Protected Attributes inherited from ilObject | |
| ilLogger | $obj_log |
| ILIAS | $ilias |
| ilObjectDefinition | $obj_definition |
| ilDBInterface | $db |
| ilLogger | $log |
| ilErrorHandling | $error |
| ilTree | $tree |
| ilAppEventHandler | $app_event_handler |
| ilRbacAdmin | $rbac_admin |
| ilRbacReview | $rbac_review |
| ilObjUser | $user |
| ilLanguage | $lng |
| bool | $call_by_reference |
| int | $max_title = self::TITLE_LENGTH |
| int | $max_desc = self::DESC_LENGTH |
| bool | $add_dots = true |
| int | $ref_id = null |
| string | $type = "" |
| string | $title = "" |
| string | $desc = "" |
| string | $long_desc = "" |
| int | $owner = 0 |
| string | $create_date = "" |
| string | $last_update = "" |
| string | $import_id = "" |
| bool | $register = false |
Definition at line 30 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::__construct | ( | $a_id = 0, |
|
$a_call_by_reference = true |
|||
| ) |
Constructor public.
| integer | reference_id or object_id |
| boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 47 of file class.ilObjQuestionPool.php.
References $DIC, and ILIAS\MetaData\Repository\Validation\Data\__construct().
Here is the call graph for this function:
|
static |
Returns the available question pools for the active user.
Definition at line 962 of file class.ilObjQuestionPool.php.
References $DIC, $ilDB, ilObject\$lng, ilObject\$ref_id, ilObject\$title, ilUtil\_getObjectsByOperations(), _hasEqualPoints(), ilObject\_lookupObjId(), ilObject\_prepareCloneSelection(), and ilLanguage\txt().
Referenced by ilTestExpressPageObjectGUI\addQuestion(), ilObjTestGUI\addQuestionObject(), ilObjTestGUI\createQuestionObject(), ilObjTest\getAvailableQuestionpools(), ilObjTest\getAvailableQuestions(), and ilTestQuestionBrowserTableGUI\getQuestionParentObjIds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get import directory of lm
Definition at line 574 of file class.ilObjQuestionPool.php.
References ilSession\get().
Referenced by assFormulaQuestionImport\fromXML(), getImportDirectory(), assQuestionImport\getQplImportArchivDirectory(), ilObjQuestionPoolGUI\importVerifiedFileObject(), and ilObjQuestionPoolGUI\uploadQplObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 675 of file class.ilObjQuestionPool.php.
Referenced by _updateQuestionCount().
Here is the caller graph for this function:
|
static |
Definition at line 1097 of file class.ilObjQuestionPool.php.
References $DIC, $ilDB, ilObject\$lng, ilObjAssessmentFolder\_getForbiddenQuestionTypes(), ilLanguage\loadLanguageModule(), ilAssQuestionTypeOrderer\ORDER_MODE_ALPHA, ilAssQuestionTypeOrderer\ORDER_MODE_FIX, and ilLanguage\txt().
Referenced by _getSelfAssessmentQuestionTypes(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ilObjAssessmentFolderGUI\buildSettingsForm(), QuestionTable\getFilter(), ilTestRandomQuestionSetSourcePoolDefinition\getTypeFilterAsTypeTags(), ilQuestionBrowserTableGUI\initFilter(), ilTestQuestionBrowserTableGUI\initFilter(), ilTestQuestionFilterLabelTranslater\loadTypeLabels(), ilObjAssessmentFolderGUI\saveSettingsObject(), and ilTestRandomQuestionSetSourcePoolDefinition\setTypeFilterFromTypeTags().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1174 of file class.ilObjQuestionPool.php.
References _getQuestionTypes().
Referenced by ilCopySelfAssQuestionTableGUI\getQuestions(), and ilPCQuestionGUI\insert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Checks a question pool for questions with the same maximum points.
| integer | $a_obj_id | Object id of the question pool private |
Definition at line 704 of file class.ilObjQuestionPool.php.
Referenced by _getAvailableQuestionpools().
Here is the caller graph for this function:
|
static |
Returns true, if the question pool is writeable by a given user.
| integer | $object_id | The object id of the question pool object |
| integer | $user_id | The database id of the user public |
Definition at line 847 of file class.ilObjQuestionPool.php.
References $DIC, ilObject\$ref_id, ilObject\_getAllReferences(), and ilObject\_hasUntrashedReference().
Referenced by assQuestion\_isWriteable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 561 of file class.ilObjQuestionPool.php.
References ilSession\clear(), and ilSession\set().
Referenced by ilTestQuestionPoolImporter\importXmlRepresentation(), and ilObjQuestionPoolGUI\uploadQplObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1214 of file class.ilObjQuestionPool.php.
References $DIC, $ilDB, and _getQuestionCount().
Referenced by assQuestion\delete(), duplicateQuestion(), pasteFromClipboard(), and assQuestion\saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::checkQuestionParent | ( | int | $question_id | ) |
Definition at line 625 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::cleanupClipboard | ( | $deletedQuestionId | ) |
Definition at line 820 of file class.ilObjQuestionPool.php.
References ilSession\clear(), ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilObjQuestionPool::cloneObject | ( | int | $target_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Creates a 1:1 copy of the object and places the copy in a given repository.
public
Definition at line 1057 of file class.ilObjQuestionPool.php.
References ilObject\getId(), getQplQuestions(), getShowTaxonomies(), ilObject\getType(), and isSkillServiceEnabled().
Here is the call graph for this function:| ilObjQuestionPool::copyQuestion | ( | int | $question_id, |
| int | $questionpool_to | ||
| ) |
Definition at line 270 of file class.ilObjQuestionPool.php.
References createQuestion(), duplicateQuestion(), and ilObject\getId().
Referenced by pasteFromClipboard().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::copyToClipboard | ( | $question_id | ) |
Copies a question to the clipboard.
| integer | $question_id | Object id of the question private |
Definition at line 794 of file class.ilObjQuestionPool.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilObjQuestionPool::create | ( | $a_upload = false | ) |
create questionpool object
Definition at line 62 of file class.ilObjQuestionPool.php.
References $id, and ilObject\createMetaData().
Here is the call graph for this function:| ilObjQuestionPool::createExportDirectory | ( | ) |
creates data directory for export files (data_dir/qpl_data/qpl_<id>/export, depending on data directory that is set in ILIAS setup/ini)
Definition at line 512 of file class.ilObjQuestionPool.php.
References ilFileUtils\getDataDir(), getExportDirectory(), ilObject\getId(), and ilFileUtils\makeDir().
Here is the call graph for this function:| ilObjQuestionPool::createQuestion | ( | string | $question_type, |
| int | $question_id = -1 |
||
| ) |
Definition at line 241 of file class.ilObjQuestionPool.php.
References assQuestion\instantiateQuestionGUI().
Referenced by copyQuestion(), duplicateQuestion(), getDeleteableQuestionDetails(), and questionsToXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::createReference | ( | ) |
Creates a database reference id for the object (saves the object to the database and creates a reference id in the database)
public
Definition at line 80 of file class.ilObjQuestionPool.php.
References saveToDb().
Here is the call graph for this function:| ilObjQuestionPool::delete | ( | ) |
delete object and all related data
public
Definition at line 122 of file class.ilObjQuestionPool.php.
References ilObject\deleteMetaData(), deleteQuestionpool(), and ilObject\getId().
Here is the call graph for this function:| ilObjQuestionPool::deleteQuestion | ( | int | $question_id | ) |
Definition at line 158 of file class.ilObjQuestionPool.php.
References assQuestion\instantiateQuestion().
Referenced by deleteQuestionpool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::deleteQuestionpool | ( | ) |
Definition at line 141 of file class.ilObjQuestionPool.php.
References ilFileUtils\delDir(), deleteQuestion(), getAllQuestions(), ilFileUtils\getDataDir(), and ilObject\getId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::duplicateQuestion | ( | int | $question_id | ) |
Definition at line 251 of file class.ilObjQuestionPool.php.
References _updateQuestionCount(), and createQuestion().
Referenced by copyQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 489 of file class.ilObjQuestionPool.php.
References IL_INST_ID, and ilFileUtils\makeDir().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::exportXMLMediaObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
Definition at line 472 of file class.ilObjQuestionPool.php.
References ilObjMediaObject\_exists().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export content objects meta data to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 404 of file class.ilObjQuestionPool.php.
References ilObject\getId(), and ilObject\getType().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::exportXMLPageObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| & | $expLog, | ||
| $questions | |||
| ) |
export page objects to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 427 of file class.ilObjQuestionPool.php.
References $benchmark, ilPCFileList\collectFileItems(), and ilBenchmark\start().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilXmlWriter | $xmlWriter |
Definition at line 320 of file class.ilObjQuestionPool.php.
References getShowTaxonomies(), and isSkillServiceEnabled().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::fromXML | ( | $xmlFile | ) |
Definition at line 1293 of file class.ilObjQuestionPool.php.
| & ilObjQuestionPool::getAllQuestionIds | ( | ) |
Definition at line 603 of file class.ilObjQuestionPool.php.
References ilObject\getId(), and isPluginActive().
Here is the call graph for this function:| & ilObjQuestionPool::getAllQuestions | ( | ) |
Retrieve an array containing all question ids of the questionpool.
Definition at line 589 of file class.ilObjQuestionPool.php.
References ilObject\getId().
Referenced by deleteQuestionpool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::getDeleteableQuestionDetails | ( | $question_ids | ) |
Returns an array containing the qpl_question and qpl_qst_type fields of deleteable questions for an array of question ids.
| array | $question_ids | An array containing the question ids |
Definition at line 897 of file class.ilObjQuestionPool.php.
References createQuestion().
Here is the call graph for this function:| ilObjQuestionPool::getExportDirectory | ( | $type = '' | ) |
get export directory of questionpool
Definition at line 544 of file class.ilObjQuestionPool.php.
References ilObject\$type, ilExport\_getExportDirectory(), ilFileUtils\getDataDir(), ilObject\getId(), and ilObject\getType().
Referenced by createExportDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::getImportDirectory | ( | ) |
Definition at line 579 of file class.ilObjQuestionPool.php.
References _getImportDirectory().
Here is the call graph for this function:| ilObjQuestionPool::getImportMapping | ( | ) |
get array of (two) new created questions for import id
Definition at line 642 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::getPrintviewQuestions | ( | ) |
Definition at line 293 of file class.ilObjQuestionPool.php.
References ilObject\getId(), getQuestionTypeTranslations(), and isPluginActive().
Here is the call graph for this function:| ilObjQuestionPool::getQplQuestions | ( | ) |
Definition at line 1038 of file class.ilObjQuestionPool.php.
References ilObject\getId().
Referenced by cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::getQuestionDetails | ( | $question_ids | ) |
Returns an array containing the qpl_question and qpl_qst_type fields for an array of question ids.
| array | $question_ids | An array containing the question ids |
Definition at line 870 of file class.ilObjQuestionPool.php.
References $ilDB.
| ilObjQuestionPool::getQuestionList | ( | ) |
Definition at line 1200 of file class.ilObjQuestionPool.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjQuestionPool::getQuestiontype | ( | $question_id | ) |
Definition at line 211 of file class.ilObjQuestionPool.php.
References $data.
|
static |
Definition at line 1129 of file class.ilObjQuestionPool.php.
Referenced by ilTestExpressPageObjectGUI\addPageOfQuestions(), ilTestCorrectionsGUI\allowedInAdjustment(), ilObjTestGUI\createQuestionObject(), ilTestExpressPageObjectGUI\executeCommand(), ilObjTestGUI\executeCreateQuestionObject(), and ilTestExpressPageObjectGUI\handleToolbarCommand().
Here is the caller graph for this function:| ilObjQuestionPool::getQuestionTypes | ( | $all_tags = false, |
|
$fixOrder = false, |
|||
$withDeprecatedTypes = true |
|||
| ) |
Definition at line 1092 of file class.ilObjQuestionPool.php.
|
static |
Definition at line 1145 of file class.ilObjQuestionPool.php.
References $DIC, $ilDB, ilObject\$lng, ilLanguage\loadLanguageModule(), and ilLanguage\txt().
Referenced by getPrintviewQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::getShowTaxonomies | ( | ) |
Definition at line 693 of file class.ilObjQuestionPool.php.
References $show_taxonomies.
Referenced by cloneObject(), exportXMLSettings(), and saveToDb().
Here is the caller graph for this function:| ilObjQuestionPool::getTaxonomyIds | ( | ) |
get ids of all taxonomies corresponding to current pool
Definition at line 1265 of file class.ilObjQuestionPool.php.
References ilObject\getId(), and ilObjTaxonomy\getUsageOfObject().
Here is the call graph for this function:| ilObjQuestionPool::isInUse | ( | int | $question_id | ) |
Definition at line 230 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::isPluginActive | ( | $questionType | ) |
Checks wheather or not a question plugin with a given name is active.
| string | $a_pname | The plugin name public |
Definition at line 1231 of file class.ilObjQuestionPool.php.
References ilComponentInfo\TYPE_MODULES.
Referenced by getAllQuestionIds(), and getPrintviewQuestions().
Here is the caller graph for this function:
|
static |
Definition at line 1282 of file class.ilObjQuestionPool.php.
Referenced by ilObjQuestionPoolSettingsGeneralGUI\buildForm(), ilQuestionPoolSkillAdministrationGUI\isAccessDenied(), and ilObjQuestionPoolGUI\isSkillsTabRequired().
Here is the caller graph for this function:| ilObjQuestionPool::isSkillServiceEnabled | ( | ) |
Definition at line 1270 of file class.ilObjQuestionPool.php.
References $skill_service_enabled.
Referenced by cloneObject(), exportXMLSettings(), and saveToDb().
Here is the caller graph for this function:| ilObjQuestionPool::loadFromDb | ( | ) |
Definition at line 164 of file class.ilObjQuestionPool.php.
References ilObject\getId(), setShowTaxonomies(), and setSkillServiceEnabled().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) |
Definition at line 412 of file class.ilObjQuestionPool.php.
References ilUtil\insertInstIntoID().
Here is the call graph for this function:| ilObjQuestionPool::moveToClipboard | ( | $question_id | ) |
Moves a question to the clipboard.
| integer | $question_id | Object id of the question private |
Definition at line 810 of file class.ilObjQuestionPool.php.
References ilSession\get(), and ilSession\set().
Here is the call graph for this function:| ilObjQuestionPool::objectToXmlWriter | ( | ilXmlWriter & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog, | ||
| $questions | |||
| ) |
export pages of test to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 336 of file class.ilObjQuestionPool.php.
References $benchmark, exportFileItems(), exportXMLMediaObjects(), exportXMLMetaData(), exportXMLPageObjects(), exportXMLSettings(), populateQuestionSkillAssignmentsXml(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilObjQuestionPool::pasteFromClipboard | ( | ) |
Copies/Moves a question from the clipboard.
private
Definition at line 738 of file class.ilObjQuestionPool.php.
References _updateQuestionCount(), ilSession\clear(), CLIENT_WEB_DIR, copyQuestion(), ilSession\get(), ilObject\getId(), and ilFileUtils\makeDirParents().
Here is the call graph for this function:
|
protected |
| ilXmlWriter | $a_xml_writer | |
| $questions |
Definition at line 384 of file class.ilObjQuestionPool.php.
References ilObject\getId().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::purgeQuestions | ( | ) |
Definition at line 1253 of file class.ilObjQuestionPool.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilObjQuestionPool::questionsToXML | ( | $questions | ) |
Returns a QTI xml representation of a list of questions.
| array | $questions | An array containing the question ids of the questions |
Definition at line 654 of file class.ilObjQuestionPool.php.
References ILIAS\LTI\ToolProvider\$key, and createQuestion().
Here is the call graph for this function:| ilObjQuestionPool::read | ( | $a_force_db = false | ) |
read object data from db into object
| boolean | public |
Definition at line 110 of file class.ilObjQuestionPool.php.
References loadFromDb().
Here is the call graph for this function:| ilObjQuestionPool::saveToDb | ( | ) |
Definition at line 178 of file class.ilObjQuestionPool.php.
References ilObject\getId(), getShowTaxonomies(), and isSkillServiceEnabled().
Referenced by createReference().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::setShowTaxonomies | ( | $show_taxonomies | ) |
Definition at line 688 of file class.ilObjQuestionPool.php.
References $show_taxonomies.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjQuestionPool::setSkillServiceEnabled | ( | bool | $skill_service_enabled | ) |
Definition at line 1275 of file class.ilObjQuestionPool.php.
References $skill_service_enabled.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjQuestionPool::update | ( | ) |
update object data
public
Definition at line 93 of file class.ilObjQuestionPool.php.
References ilObject\updateMetaData().
Here is the call graph for this function:
|
private |
Definition at line 33 of file class.ilObjQuestionPool.php.
Referenced by exportXMLPageObjects(), and objectToXmlWriter().
|
private |
Definition at line 32 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 36 of file class.ilObjQuestionPool.php.
|
staticprivate |
Definition at line 1280 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 35 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 39 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 37 of file class.ilObjQuestionPool.php.
Referenced by getShowTaxonomies(), and setShowTaxonomies().
|
private |
Definition at line 38 of file class.ilObjQuestionPool.php.
Referenced by isSkillServiceEnabled(), and setSkillServiceEnabled().