|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Class ilObjSCORMLearningModule. More...
Inheritance diagram for ilObjSCORMLearningModule:
Collaboration diagram for ilObjSCORMLearningModule:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| Constructor. More... | |
| getTrackingItems () | |
| readObject () | |
| read manifest file More... | |
| setLearningProgressSettingsAtUpload () | |
| set settings for learning progress determination per default at upload More... | |
| getTrackedItems () | |
| get all tracked items of current user More... | |
| getTrackedUsers (array $filters=[]) | |
| getAttemptsForUsers () | |
| Get attempts for all users. More... | |
| getAttemptsForUser (int $a_user_id) | |
| get number of attempts for a certain user and package More... | |
| getModuleVersionForUsers () | |
| Get module version for users. More... | |
| getModuleVersionForUser (int $a_user_id) | |
| get module version that tracking data for a user was recorded on More... | |
| getTrackingDataPerUser (int $a_sco_id, int $a_user_id) | |
| Get tracking data per user. More... | |
| getTrackingDataAgg (int $a_user_id) | |
| getTrackingDataAggSco (int $a_sco_id) | |
| exportSelected (bool $a_all, array $a_users=array()) | |
| Export selected user tracking data @global ilObjUser $ilUser. More... | |
| importTrackingData (string $a_file) | |
| importSuccess (string $a_file) | |
| importSuccessForSahsUser (int $user_id, ?DateTimeImmutable $last_access, int $status, ?int $attempts=null, ?int $percentage_completed=null, ?int $sco_total_time_sec=null) | |
| get_user_id (string $a_login) | |
| getUserIdEmail (string $a_mail) | |
| assumes that only one account exists for a mailadress More... | |
| sendExportFile (string $a_header, string $a_content) | |
| send export file to browser More... | |
| getAllScoIds () | |
| getStatusForUser (int $a_user, array $a_allScoIds, bool $a_numerical=false) | |
| getCourseCompletionForUser (int $a_user) | |
| getLastVisited (int $user_id) | |
| deleteTrackingDataOfUsers (array $a_users) | |
Public Member Functions inherited from ilObjSAHSLearningModule | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| Constructor. More... | |
| create (bool $upload=false) | |
| create file based lm More... | |
| read () | |
| read object More... | |
| getEditable () | |
| setTries (int $a_tries) | |
| Set default tries for questions. More... | |
| getTries () | |
| setLocalization (string $a_val) | |
| getLocalization () | |
| getDiskUsage () | |
| Gets the disk usage of the object in bytes. More... | |
| createDataDirectory () | |
| creates data directory for package files ("./public/data/lm_data/lm_<id>") More... | |
| getDataDirectory (?string $mode="filesystem") | |
| get data directory of lm More... | |
| getRID () | |
| setRID (?string $rid) | |
| hasContainerResource () | |
| True when the module's content lives in a Resource Storage container. More... | |
| getResource () | |
| getContainerBaseUri (float $valid_for_at_least_minutes=480.0) | |
| Base URL of the content container, ending in the sub-request separator so the player can append relative paths (e.g. More... | |
| removeContainerResource () | |
| getManifestFromContainer (string $manifest_file='imsmanifest.xml') | |
| Read the imsmanifest.xml of the current container revision (migrated modules). More... | |
| replaceContainerFromZipPath (string $absolute_zip_path, ?string $revision_title=null) | |
| Replace the content of the module's container resource with a new ZIP as a new revision (migrated modules only). More... | |
| moveDataDirectoryToContainer () | |
| Move the on-disk data directory into a new container resource and remove the directory. More... | |
| extractContainerToDataDirectory () | |
| Extract the current container revision back onto disk at getDataDirectory(). More... | |
| writeContentZip (string $target_zip_path) | |
| Write the module content to $target_zip_path as a zip without the lm_<id> top directory (export "content.zip"). More... | |
| getAPIAdapterName () | |
| get api adapter name More... | |
| setAPIAdapterName (string $a_api) | |
| set api adapter name More... | |
| getAPIFunctionsPrefix () | |
| get api functions prefix More... | |
| setAPIFunctionsPrefix (string $a_prefix) | |
| set api functions prefix More... | |
| getCreditMode () | |
| get credit mode More... | |
| setDefaultLessonMode (string $a_lesson_mode) | |
| set default lesson mode More... | |
| getDefaultLessonMode () | |
| get default lesson mode More... | |
| getStyleSheetId () | |
| get ID of assigned style sheet object More... | |
| setStyleSheetId (int $a_style_id) | |
| set ID of assigned style sheet object More... | |
| setAutoReview (bool $a_auto_review) | |
| set auto review as true/false for SCORM 1.2 More... | |
| getAutoReview () | |
| get auto review as true/false for SCORM 1.2 More... | |
| setAutoReviewChar (?string $a_auto_review) | |
| set auto review as Char for SCORM 2004 More... | |
| getAutoReviewChar () | |
| get auto review as Char for SCORM 2004 More... | |
| getMaxAttempt () | |
| setMaxAttempt (int $a_max_attempt) | |
| getModuleVersion () | |
| getAssignedGlossary () | |
| setAssignedGlossary (int $a_assigned_glossary) | |
| setModuleVersion (int $a_module_version) | |
| getSession () | |
| setSession (bool $a_session) | |
| getNoMenu () | |
| disable menu More... | |
| setNoMenu (bool $a_no_menu) | |
| disable menu More... | |
| getHideNavig () | |
| hide navigation tree More... | |
| setHideNavig (bool $a_hide_navig) | |
| disable menu More... | |
| getCacheDeactivated () | |
| BrowserCacheDisabled for SCORM 2004 / ENABLE_JS_DEBUG. More... | |
| getSessionDeactivated () | |
| sessionDisabled for SCORM 2004 More... | |
| getDebugActivated () | |
| debugActivated More... | |
| getIe_force_render () | |
| force Internet Explorer to render again after some Milliseconds - useful for learning Modules with a lot of iframes or frames and IE >=10 More... | |
| setIe_force_render (bool $a_ie_force_render) | |
| getFourth_Edition () | |
| SCORM 2004 4th edition features. More... | |
| setFourth_edition (bool $a_fourth_edition) | |
| getSequencing () | |
| setSequencing (bool $a_sequencing) | |
| getInteractions () | |
| setInteractions (bool $a_interactions) | |
| getObjectives () | |
| setObjectives (bool $a_objectives) | |
| getComments () | |
| setComments (bool $a_comments) | |
| getTime_from_lms () | |
| setTime_from_lms (bool $a_time_from_lms) | |
| getCheck_values () | |
| setCheck_values (bool $a_check_values) | |
| getDebug () | |
| setDebug (bool $a_debug) | |
| setAutoContinue (bool $a_auto_continue) | |
| getAutoContinue () | |
| getAuto_last_visited () | |
| setAuto_last_visited (bool $a_auto_last_visited) | |
| setAutoSuspend (bool $a_auto_suspend) | |
| getAutoSuspend () | |
| getOpenMode () | |
| open_mode 0: in Tab/new Window like in previous versions 1: in iFrame with width=100% and heigth=100% 2: in iFrame with specified width and height 3: 4: 5: in new Window without specified width and height 6: in new Window with specified width and height More... | |
| setOpenMode (int $a_open_mode) | |
| getWidth () | |
| setWidth (int $a_width) | |
| getHeight () | |
| setHeight (int $a_height) | |
| getMasteryScore () | |
| setMasteryScore (?int $a_mastery_score) | |
| checkMasteryScoreValues () | |
| check mastery_score / min_normalized_measure of SCOs (SCORM 1.2) / objectives (SCORM 2004) More... | |
| getMasteryScoreValues () | |
| getIdSetting () | |
| setIdSetting (int $a_id_setting) | |
| getNameSetting () | |
| setNameSetting (int $a_name_setting) | |
| update () | |
| setSubType (string $a_sub_type) | |
| getSubType () | |
| adoptSettingsFrom (ilObjSAHSLearningModule $source) | |
| Adopt compatible SCORM runtime/settings from another SCORM module. More... | |
| delete () | |
| delete SCORM learning module and all related data More... | |
| getPointsInPercent () | |
| Returns the points in percent for the learning module This is called by the certificate generator if [SCORM_POINTS] is inserted. More... | |
| getMaxPoints () | |
| Returns score.max for the learning module, refered to the last sco where score.max is set. More... | |
| populateByDirectoy (string $a_dir, string $a_filename="") | |
| Populate by directory. More... | |
| getApiStudentId () | |
| Get cmi.core.student_id / cmi.learner_id for API. More... | |
| getApiStudentName () | |
| Get cmi.core.student_name / cmi.learner_name for API note: 'lastname, firstname' is required for SCORM 1.2; 9 = no name to hide student_name for external content. More... | |
| getViewButton () | |
| get button for view More... | |
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 | _getTrackingItems (int $a_obj_id) |
| get all tracking items of scorm object More... | |
| static | _getAllScoIds (int $a_id) |
| Get an array of id's for all Sco's in the module. More... | |
| static | _getStatusForUser (int $a_id, int $a_user, array $a_allScoIds, bool $a_numerical=false) |
| Get the status of a SCORM module for a given user. More... | |
| static | _getCourseCompletionForUser (int $a_id, int $a_user) |
| Get the completion of a SCORM module for a given user. More... | |
| static | _removeTrackingDataForUser (int $user_id) |
| to be called from IlObjUser More... | |
| static | _getScoresForUser (int $a_item_id, int $a_user_id) |
Static Public Member Functions inherited from ilObjSAHSLearningModule | |
| static | getAffectiveLocalization (int $a_id) |
| Get affective localization. More... | |
| static | _lookupSubType (int $a_obj_id) |
| lookup subtype id (scorm, ) More... | |
| static | _getTries (int $a_id) |
| obsolet? More... | |
| static | getScormModulesForGlossary (int $a_glo_id) |
| Get SCORM modules that assign a certain glossary. More... | |
| static | lookupAssignedGlossary (int $a_slm_id) |
| Get SCORM modules that assign a certain glossary. More... | |
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 | |
| kindlyToDateTime (string $format, string $maybe_datetime, ?DateTimeImmutable $default=null) | |
Protected Member Functions inherited from ilObjSAHSLearningModule | |
| getIrss () | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Private Member Functions | |
| parseUserId (string $il_id) | |
| Parse il_usr_123_6 id. More... | |
| importRaw (string $a_file) | |
| Import raw data. More... | |
| lookupSCOId (string $a_referrer) | |
| resolves manifest SCOID to internal ILIAS SCO ID More... | |
| ilObjSCORMLearningModule::__construct | ( | int | $a_id = 0, |
| bool | $a_call_by_reference = true |
||
| ) |
Constructor.
| integer | $a_id | reference_id or object_id |
| boolean | $a_call_by_reference | treat the id as reference_id (true) or object_id (false) |
Reimplemented from ilObjSAHSLearningModule.
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 36 of file class.ilObjSCORMLearningModule.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
Get an array of id's for all Sco's in the module.
| int | $a_id | Object id |
Definition at line 1070 of file class.ilObjSCORMLearningModule.php.
Referenced by _getCourseCompletionForUser().
Here is the caller graph for this function:
|
static |
Get the completion of a SCORM module for a given user.
| int | $a_id | Object id |
| int | $a_user | User id |
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 1154 of file class.ilObjSCORMLearningModule.php.
References _getAllScoIds(), and _getStatusForUser().
Here is the call graph for this function:
|
static |
Definition at line 1254 of file class.ilObjSCORMLearningModule.php.
Referenced by ilLPCollectionOfSCOs\getScoresForUserAndCP_Node_Id().
Here is the caller graph for this function:
|
static |
Get the status of a SCORM module for a given user.
| int | $a_id | Object id |
| int | $a_user | User id |
| array | $a_allScoIds | Array of Sco id's in this module |
| boolean | $a_numerical | Text (false) or boolean result (true) |
Definition at line 1112 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and $lng.
Referenced by _getCourseCompletionForUser().
Here is the caller graph for this function:
|
static |
get all tracking items of scorm object
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 50 of file class.ilObjSCORMLearningModule.php.
References ilObject\$tree, ilTree\getNodeData(), ilTree\getSubTree(), and ilTree\readRootId().
Referenced by ilLPCollectionOfSCOs\getPossibleItems(), and getTrackingItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
to be called from IlObjUser
Definition at line 1237 of file class.ilObjSCORMLearningModule.php.
| ilObjSCORMLearningModule::deleteTrackingDataOfUsers | ( | array | $a_users | ) |
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 1301 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, ilChangeEvent\_deleteReadEventsForUsers(), ilLPStatusWrapper\_updateStatus(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Referenced by importSuccess().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSCORMLearningModule::exportSelected | ( | bool | $a_all, |
| array | $a_users = array() |
||
| ) |
Export selected user tracking data @global ilObjUser $ilUser.
Definition at line 530 of file class.ilObjSCORMLearningModule.php.
References $data, $DIC, $ilDB, $res, ilLearningProgressBaseGUI\__readStatus(), ilObject\getId(), ilPrivacySettings\getInstance(), ilObject\getTitle(), sendExportFile(), ilSCORMTrackingItems\userDataArrayForExport(), and ilSCORMTrackingItems\userDataHeaderForExport().
Here is the call graph for this function:| ilObjSCORMLearningModule::get_user_id | ( | string | $a_login | ) |
Definition at line 984 of file class.ilObjSCORMLearningModule.php.
Referenced by ilObjSCORM2004LearningModule\importSuccess(), and importSuccess().
Here is the caller graph for this function:| ilObjSCORMLearningModule::getAllScoIds | ( | ) |
Definition at line 1162 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getAttemptsForUser | ( | int | $a_user_id | ) |
get number of attempts for a certain user and package
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 321 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getAttemptsForUsers | ( | ) |
Get attempts for all users.
Definition at line 302 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_ASSOC, ilObject\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSCORMLearningModule::getCourseCompletionForUser | ( | int | $a_user | ) |
Definition at line 1229 of file class.ilObjSCORMLearningModule.php.
| ilObjSCORMLearningModule::getLastVisited | ( | int | $user_id | ) |
Definition at line 1284 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and $user_id.
Referenced by ilObjSCORMInitData\getIliasScormVars().
Here is the caller graph for this function:| ilObjSCORMLearningModule::getModuleVersionForUser | ( | int | $a_user_id | ) |
get module version that tracking data for a user was recorded on
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 359 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getModuleVersionForUsers | ( | ) |
Get module version for users.
Definition at line 342 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_ASSOC, ilObject\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjSCORMLearningModule::getStatusForUser | ( | int | $a_user, |
| array | $a_allScoIds, | ||
| bool | $a_numerical = false |
||
| ) |
Definition at line 1196 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjSCORMLearningModule::getTrackedItems | ( | ) |
get all tracked items of current user
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 206 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getTrackedUsers | ( | array | $filters = [] | ) |
Definition at line 258 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, ilObject\getId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilObjSCORMLearningModule::getTrackingDataAgg | ( | int | $a_user_id | ) |
Definition at line 404 of file class.ilObjSCORMLearningModule.php.
References $data, $DIC, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getTrackingDataAggSco | ( | int | $a_sco_id | ) |
Definition at line 466 of file class.ilObjSCORMLearningModule.php.
References $data, $DIC, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getTrackingDataPerUser | ( | int | $a_sco_id, |
| int | $a_user_id | ||
| ) |
Get tracking data per user.
Definition at line 380 of file class.ilObjSCORMLearningModule.php.
References $data, $DIC, $ilDB, and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getTrackingItems | ( | ) |
Definition at line 42 of file class.ilObjSCORMLearningModule.php.
References _getTrackingItems(), and ilObject\getId().
Here is the call graph for this function:| ilObjSCORMLearningModule::getUserIdEmail | ( | string | $a_mail | ) |
assumes that only one account exists for a mailadress
Definition at line 1035 of file class.ilObjSCORMLearningModule.php.
|
private |
Import raw data.
Definition at line 832 of file class.ilObjSCORMLearningModule.php.
References $data, $DIC, $ilDB, $lng, $user_id, ilLPStatus\_lookupPercentage(), ilLPStatus\_lookupStatus(), ilLPStatusWrapper\_refreshStatus(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Referenced by importTrackingData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSCORMLearningModule::importSuccess | ( | string | $a_file | ) |
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 601 of file class.ilObjSCORMLearningModule.php.
References $data, $DIC, $ilDB, $user_id, ilLPStatusWrapper\_refreshStatus(), deleteTrackingDataOfUsers(), get_user_id(), ilObject\getId(), ilObjectLP\getInstance(), importSuccessForSahsUser(), ILIAS\Repository\int(), kindlyToDateTime(), ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by importTrackingData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSCORMLearningModule::importSuccessForSahsUser | ( | int | $user_id, |
| ?DateTimeImmutable | $last_access, | ||
| int | $status, | ||
| ?int | $attempts = null, |
||
| ?int | $percentage_completed = null, |
||
| ?int | $sco_total_time_sec = null |
||
| ) |
Definition at line 758 of file class.ilObjSCORMLearningModule.php.
References $ilDB, and $user_id.
Referenced by ilObjSCORM2004LearningModule\importSuccess(), and importSuccess().
Here is the caller graph for this function:| ilObjSCORMLearningModule::importTrackingData | ( | string | $a_file | ) |
Definition at line 568 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilDB, importRaw(), and importSuccess().
Here is the call graph for this function:
|
protected |
Definition at line 735 of file class.ilObjSCORMLearningModule.php.
Referenced by ilObjSCORM2004LearningModule\importSuccess(), and importSuccess().
Here is the caller graph for this function:
|
private |
resolves manifest SCOID to internal ILIAS SCO ID
Definition at line 1007 of file class.ilObjSCORMLearningModule.php.
|
private |
Parse il_usr_123_6 id.
Definition at line 810 of file class.ilObjSCORMLearningModule.php.
References $DIC, and $ilSetting.
| ilObjSCORMLearningModule::readObject | ( | ) |
read manifest file
| ilSaxParserException |
Reimplemented in ilObjSCORM2004LearningModule.
Definition at line 74 of file class.ilObjSCORMLearningModule.php.
References $DIC, ILIAS\UI\examples\Symbol\Glyph\Copy\copy(), ilObjSAHSLearningModule\getDataDirectory(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjSCORMLearningModule::sendExportFile | ( | string | $a_header, |
| string | $a_content | ||
| ) |
send export file to browser
Definition at line 1056 of file class.ilObjSCORMLearningModule.php.
References $filename, $timestamp, ilUtil\deliverData(), and exit.
Referenced by exportSelected().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSCORMLearningModule::setLearningProgressSettingsAtUpload | ( | ) |
set settings for learning progress determination per default at upload
Definition at line 180 of file class.ilObjSCORMLearningModule.php.
References $DIC, $ilSetting, $lm_set, ilObjUserTracking\_enabledLearningProgress(), ilObject\getId(), and ilLPObjSettings\LP_MODE_SCORM.
Here is the call graph for this function: