|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilObjQuestionPool:
Collaboration diagram for ilObjQuestionPool:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| 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) | |
| appendCounterToQuestionTitleIfNecessary (string $title) | |
| getPrintviewQuestions () | |
| objectToXmlWriter (ilXmlWriter &$a_xml_writer, $a_inst, $a_target_dir, &$expLog, $questions) | |
| export pages of test to xml (see ilias_co.dtd) More... | |
| exportTitleAndDescription (ilXmlWriter &$a_xml_writer) | |
| 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... | |
| & | 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... | |
| pasteFromClipboard () | |
| Copies/Moves a question from the clipboard. More... | |
| copyToClipboard ($question_id) | |
| Copies a question to the clipboard. More... | |
| moveToClipboard (int $question_id) | |
| Moves a question to the clipboard. More... | |
| cleanupClipboard (int $deleted_question_id) | |
| 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 (?string $xml_file) | |
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, int $new_obj_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 | _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 (bool $use_object_id=false, bool $equal_points=false, bool $could_be_offline=false, bool $showPath=false, bool $with_questioncount=false, string $permission='read', int $usr_id=0) |
| 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 | getIconForType (string $type) |
| 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 | $skill_service_enabled |
| GeneralQuestionPropertiesRepository | $questionrepository |
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 |
| LOMServices | $lom_services |
| 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 33 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::__construct | ( | int | $a_id = 0, |
| bool | $a_call_by_reference = true |
||
| ) |
Definition at line 43 of file class.ilObjQuestionPool.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
Returns the available question pools for the active user.
Definition at line 919 of file class.ilObjQuestionPool.php.
Referenced by ilObjTestGUI\buildInputPoolSelection(), ilObjTest\getAvailableQuestions(), and ilTestQuestionBrowserTableGUI\getQuestionParentObjIds().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 639 of file class.ilObjQuestionPool.php.
Referenced by _updateQuestionCount().
Here is the caller graph for this function:
|
static |
Definition at line 1051 of file class.ilObjQuestionPool.php.
References $DIC, $ilDB, $lng, ilAssQuestionTypeOrderer\ORDER_MODE_ALPHA, and ilAssQuestionTypeOrderer\ORDER_MODE_FIX.
Referenced by _getSelfAssessmentQuestionTypes(), ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getFilter(), ilTestRandomQuestionSetSourcePoolDefinition\getTypeFilterAsTypeTags(), ilQuestionBrowserTableGUI\initFilter(), ilTestQuestionFilterLabelTranslator\loadTypeLabels(), ILIAS\Test\Questions\Presentation\QuestionsBrowserFilter\resolveQuestionTypeFilterOptions(), and ilTestRandomQuestionSetSourcePoolDefinition\setTypeFilterFromTypeTags().
Here is the caller graph for this function:
|
static |
Definition at line 1127 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 @access private |
Definition at line 658 of file class.ilObjQuestionPool.php.
|
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 @access public |
Definition at line 801 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 1167 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::appendCounterToQuestionTitleIfNecessary | ( | string | $title | ) |
Definition at line 270 of file class.ilObjQuestionPool.php.
References ilObject\$title, and ilObject\getId().
Referenced by copyQuestion(), ilObjTestGUI\copyQuestionToPool(), and duplicateQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::checkQuestionParent | ( | int | $question_id | ) |
Definition at line 589 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::cleanupClipboard | ( | int | $deleted_question_id | ) |
Definition at line 774 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.
@access public
Definition at line 1013 of file class.ilObjQuestionPool.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjQuestionPool::copyQuestion | ( | int | $question_id, |
| int | $questionpool_to | ||
| ) |
Definition at line 254 of file class.ilObjQuestionPool.php.
References appendCounterToQuestionTitleIfNecessary(), 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 @access private |
Definition at line 748 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 499 of file class.ilObjQuestionPool.php.
References error(), 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 233 of file class.ilObjQuestionPool.php.
Referenced by copyQuestion(), duplicateQuestion(), getDeleteableQuestionDetails(), and questionsToXML().
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)
@access public
Reimplemented from ilObject.
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
@access public
Reimplemented from ilObject.
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 153 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(), ilFileUtils\getDataDir(), and getQplQuestions().
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 243 of file class.ilObjQuestionPool.php.
References _updateQuestionCount(), appendCounterToQuestionTitleIfNecessary(), 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 476 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::exportTitleAndDescription | ( | ilXmlWriter & | $a_xml_writer | ) |
Definition at line 386 of file class.ilObjQuestionPool.php.
References ilObject\getDescription(), ilObject\getTitle(), and ilXmlWriter\xmlElement().
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 452 of file class.ilObjQuestionPool.php.
References ilObjMediaObject\_exists(), ilFileUtils\createDirectory(), and IL_INST_ID.
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 407 of file class.ilObjQuestionPool.php.
References $benchmark, $file_ids, $mob_ids, 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 311 of file class.ilObjQuestionPool.php.
References isSkillServiceEnabled().
Referenced by objectToXmlWriter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::fromXML | ( | ?string | $xml_file | ) |
Definition at line 1246 of file class.ilObjQuestionPool.php.
| & ilObjQuestionPool::getAllQuestionIds | ( | ) |
Definition at line 567 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 553 of file class.ilObjQuestionPool.php.
References ilObject\getId().
Here is the call 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 854 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 531 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::getImportMapping | ( | ) |
get array of (two) new created questions for import id
Definition at line 606 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::getPrintviewQuestions | ( | ) |
Definition at line 284 of file class.ilObjQuestionPool.php.
References ilObject\getId(), getQuestionTypeTranslations(), and isPluginActive().
Here is the call graph for this function:| ilObjQuestionPool::getQplQuestions | ( | ) |
Definition at line 994 of file class.ilObjQuestionPool.php.
References ILIAS\Survey\Mode\getId(), and ilDBConstants\T_INTEGER.
Referenced by deleteQuestionpool().
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 824 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::getQuestionList | ( | ) |
Definition at line 1153 of file class.ilObjQuestionPool.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjQuestionPool::getQuestiontype | ( | $question_id | ) |
Definition at line 203 of file class.ilObjQuestionPool.php.
References $data.
|
static |
Definition at line 1083 of file class.ilObjQuestionPool.php.
| ilObjQuestionPool::getQuestionTypes | ( | $all_tags = false, |
|
$fixOrder = false, |
|||
$withDeprecatedTypes = true |
|||
| ) |
Definition at line 1046 of file class.ilObjQuestionPool.php.
|
static |
Definition at line 1099 of file class.ilObjQuestionPool.php.
References $DIC, $ilDB, and $lng.
Referenced by getPrintviewQuestions().
Here is the caller graph for this function:| ilObjQuestionPool::getTaxonomyIds | ( | ) |
get ids of all taxonomies corresponding to current pool
Definition at line 1218 of file class.ilObjQuestionPool.php.
References ILIAS\Survey\Mode\getId(), and ilObjTaxonomy\getUsageOfObject().
Here is the call graph for this function:| ilObjQuestionPool::isInUse | ( | int | $question_id | ) |
Definition at line 222 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 @access public |
Definition at line 1184 of file class.ilObjQuestionPool.php.
References ilComponentInfo\TYPE_COMPONENT.
Referenced by getAllQuestionIds(), and getPrintviewQuestions().
Here is the caller graph for this function:
|
static |
Definition at line 1235 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 1223 of file class.ilObjQuestionPool.php.
Referenced by exportXMLSettings(), and saveToDb().
Here is the caller graph for this function:| ilObjQuestionPool::loadFromDb | ( | ) |
Definition at line 159 of file class.ilObjQuestionPool.php.
References ilObject\getId(), 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 392 of file class.ilObjQuestionPool.php.
References ilUtil\insertInstIntoID().
Here is the call graph for this function:| ilObjQuestionPool::moveToClipboard | ( | int | $question_id | ) |
Moves a question to the clipboard.
| integer | $question_id | Object id of the question @access private |
Definition at line 764 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 324 of file class.ilObjQuestionPool.php.
References $benchmark, exportFileItems(), exportTitleAndDescription(), exportXMLMediaObjects(), 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.
@access private
Definition at line 692 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 372 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 1206 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 618 of file class.ilObjQuestionPool.php.
References createQuestion().
Here is the call graph for this function:| ilObjQuestionPool::read | ( | $a_force_db = false | ) |
read object data from db into object
| boolean | @access 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 172 of file class.ilObjQuestionPool.php.
References ilObject\getId(), and isSkillServiceEnabled().
Referenced by createReference().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjQuestionPool::setSkillServiceEnabled | ( | bool | $skill_service_enabled | ) |
Definition at line 1228 of file class.ilObjQuestionPool.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjQuestionPool::update | ( | ) |
update object data
@access public
Reimplemented from ilObject.
Definition at line 93 of file class.ilObjQuestionPool.php.
References ilObject\updateMetaData().
Here is the call graph for this function:
|
private |
Definition at line 36 of file class.ilObjQuestionPool.php.
Referenced by exportXMLPageObjects(), and objectToXmlWriter().
|
private |
Definition at line 35 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 39 of file class.ilObjQuestionPool.php.
Referenced by exportXMLPageObjects().
|
staticprivate |
Definition at line 1233 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 38 of file class.ilObjQuestionPool.php.
Referenced by exportXMLPageObjects().
|
private |
Definition at line 41 of file class.ilObjQuestionPool.php.
|
private |
Definition at line 40 of file class.ilObjQuestionPool.php.