|
ILIAS
release_8 Revision v8.24
|
Class ilObjSCORMLearningModule. More...
Inheritance diagram for ilObjSAHSLearningModule:
Collaboration diagram for ilObjSAHSLearningModule:Public Member Functions | |
| __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 ("./data/lm_data/lm_<id>") More... | |
| getDataDirectory (?string $mode="filesystem") | |
| get data directory of lm 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... | |
| setCreditMode (string $a_credit_mode) | |
| set 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 () | |
| 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 | |
| __construct (int $id=0, bool $reference=true) | |
| 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 $desc) | |
| 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 | 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 | _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 Attributes | |
| bool | $sequencing = false |
| string | $localization = "" |
| string | $mastery_score_values = "" |
| int | $tries = 0 |
| string | $api_adapter = 'API' |
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 |
| int | $id |
| bool | $referenced |
| 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 = "" |
| bool | $offline = false |
| string | $desc = "" |
| string | $long_desc = "" |
| int | $owner = 0 |
| string | $create_date = "" |
| string | $last_update = "" |
| string | $import_id = "" |
| bool | $register = false |
Private Attributes | |
| string | $api_func_prefix = 'LMS' |
| string | $credit_mode = 'credit' |
| string | $lesson_mode ='normal' |
| int | $style_id = 0 |
| string | $auto_review = 'n' |
| int | $max_attempt = 0 |
| int | $module_version = 1 |
| int | $assigned_glossary = 0 |
| bool | $session = false |
| bool | $no_menu = false |
| bool | $hide_navig = false |
| bool | $ie_force_render = false |
| bool | $fourth_edition = false |
| bool | $interactions = true |
| bool | $objectives = true |
| bool | $comments = true |
| bool | $time_from_lms = false |
| bool | $check_values = true |
| bool | $debug = false |
| bool | $auto_continue = false |
| bool | $auto_last_visited = true |
| bool | $auto_suspend = false |
| int | $open_mode = 0 |
| int | $width = 950 |
| int | $height = 650 |
| int | $mastery_score = null |
| int | $id_setting = 0 |
| int | $name_setting = 0 |
| string | $sub_type = 'scorm' |
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 Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Class ilObjSCORMLearningModule.
Definition at line 32 of file class.ilObjSAHSLearningModule.php.
| ilObjSAHSLearningModule::__construct | ( | int | $a_id = 0, |
| bool | $a_call_by_reference = true |
||
| ) |
Constructor.
| integer | reference_id or object_id |
| boolean | treat the id as reference_id (true) or object_id (false) |
Reimplemented from ilObject.
Reimplemented in ilObjSCORM2004LearningModule, and ilObjSCORMLearningModule.
Definition at line 78 of file class.ilObjSAHSLearningModule.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
obsolet?
Definition at line 256 of file class.ilObjSAHSLearningModule.php.
|
static |
lookup subtype id (scorm, )
Definition at line 200 of file class.ilObjSAHSLearningModule.php.
Referenced by ilLPStatusSCORM\_getStatusInfo(), checkMasteryScoreValues(), ilLPStatusSCORM\determinePercentage(), ilSAHSPresentationGUI\executeCommand(), ilSAHSEditGUI\executeCommand(), ilLPCollectionSettingsTableGUI\fillRow(), ilTrQuery\getParticipantsForObject(), ilLPCollectionOfSCOs\getPossibleItems(), ilObjSAHSLearningModuleListGUI\getProperties(), ilScormLP\getValidModes(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjSCORMLearningModuleGUI\initPropertiesForm(), ilLPCollectionOfSCOs\itemsAreEqual(), ilObjSCORMLearningModuleGUI\newModuleVersion(), ilLPStatusSCORM\refreshStatus(), and ilSAHSPresentationGUI\setInfoTabs().
Here is the caller graph for this function:| ilObjSAHSLearningModule::checkMasteryScoreValues | ( | ) |
check mastery_score / min_normalized_measure of SCOs (SCORM 1.2) / objectives (SCORM 2004)
Definition at line 757 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, ilObject\$type, and _lookupSubType().
Here is the call graph for this function:| ilObjSAHSLearningModule::create | ( | bool | $upload = false | ) |
create file based lm
Definition at line 87 of file class.ilObjSAHSLearningModule.php.
References $DIC, ilObject\$id, $ilDB, createDataDirectory(), ilObject\createMetaData(), getEditable(), ilObject\getId(), getLocalization(), and getSubType().
Here is the call graph for this function:| ilObjSAHSLearningModule::createDataDirectory | ( | ) |
creates data directory for package files ("./data/lm_data/lm_<id>")
Definition at line 286 of file class.ilObjSAHSLearningModule.php.
References getDataDirectory(), ilFileUtils\getWebspaceDir(), and ilFileUtils\makeDir().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::delete | ( | ) |
delete SCORM learning module and all related data
this method has been tested on may 9th 2004 meta data, scorm lm data, scorm tree, scorm objects (organization(s), manifest, resources and items), tracking data and data directory have been deleted correctly as desired
Reimplemented from ilObject.
Definition at line 996 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, $res, ilSCORMObject\_getInstance(), ilFileUtils\delDir(), ilObject\deleteMetaData(), getDataDirectory(), ilObject\getId(), ilLoggerFactory\getLogger(), and getSubType().
Here is the call graph for this function:
|
static |
Get affective localization.
Definition at line 178 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, $lm_set, ilObject\$lng, ilLanguage\getInstalledLanguages(), and ilLanguage\getLangKey().
Here is the call graph for this function:| ilObjSAHSLearningModule::getAPIAdapterName | ( | ) |
get api adapter name
Definition at line 305 of file class.ilObjSAHSLearningModule.php.
References $api_adapter.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAPIFunctionsPrefix | ( | ) |
get api functions prefix
Definition at line 322 of file class.ilObjSAHSLearningModule.php.
References $api_func_prefix.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getApiStudentId | ( | ) |
Get cmi.core.student_id / cmi.learner_id for API.
Definition at line 1285 of file class.ilObjSAHSLearningModule.php.
References $DIC, ilObject\getId(), getIdSetting(), and ilObject\getRefId().
Referenced by ilObjSCORMInitData\getIliasScormVars().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::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.
Definition at line 1306 of file class.ilObjSAHSLearningModule.php.
References $DIC, ilObject\$lng, getNameSetting(), and ilLanguage\txt().
Referenced by ilObjSCORMInitData\getIliasScormVars().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAssignedGlossary | ( | ) |
Definition at line 438 of file class.ilObjSAHSLearningModule.php.
References $assigned_glossary.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAuto_last_visited | ( | ) |
Definition at line 663 of file class.ilObjSAHSLearningModule.php.
References $auto_last_visited.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoContinue | ( | ) |
Definition at line 658 of file class.ilObjSAHSLearningModule.php.
References $auto_continue.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoReview | ( | ) |
get auto review as true/false for SCORM 1.2
Definition at line 398 of file class.ilObjSAHSLearningModule.php.
References ilUtil\yn2tf().
Referenced by ilObjSCORMInitData\getIliasScormVars().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoReviewChar | ( | ) |
get auto review as Char for SCORM 2004
Definition at line 418 of file class.ilObjSAHSLearningModule.php.
References $auto_review.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoSuspend | ( | ) |
Definition at line 699 of file class.ilObjSAHSLearningModule.php.
References $auto_suspend.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getCacheDeactivated | ( | ) |
BrowserCacheDisabled for SCORM 2004 / ENABLE_JS_DEBUG.
Definition at line 498 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
| ilObjSAHSLearningModule::getCheck_values | ( | ) |
Definition at line 604 of file class.ilObjSAHSLearningModule.php.
References $check_values.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getComments | ( | ) |
Definition at line 584 of file class.ilObjSAHSLearningModule.php.
References $comments.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getCreditMode | ( | ) |
get credit mode
Definition at line 338 of file class.ilObjSAHSLearningModule.php.
References $credit_mode.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDataDirectory | ( | ?string | $mode = "filesystem" | ) |
get data directory of lm
Definition at line 296 of file class.ilObjSAHSLearningModule.php.
References ilObject\getId(), and ilFileUtils\getWebspaceDir().
Referenced by ilObjSCORM2004LearningModule\convert_1_2_to_2004(), createDataDirectory(), delete(), ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), ilObjSCORM2004LearningModule\readObject(), and ilObjSCORMLearningModule\readObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDebug | ( | ) |
Definition at line 627 of file class.ilObjSAHSLearningModule.php.
References $debug.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDebugActivated | ( | ) |
debugActivated
Definition at line 520 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
| ilObjSAHSLearningModule::getDefaultLessonMode | ( | ) |
get default lesson mode
Definition at line 362 of file class.ilObjSAHSLearningModule.php.
References $DIC, and $lesson_mode.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDiskUsage | ( | ) |
Gets the disk usage of the object in bytes.
Definition at line 276 of file class.ilObjSAHSLearningModule.php.
References ilObjSAHSLearningModuleAccess\_lookupDiskUsage().
Here is the call graph for this function:| ilObjSAHSLearningModule::getEditable | ( | ) |
Definition at line 225 of file class.ilObjSAHSLearningModule.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getFourth_Edition | ( | ) |
SCORM 2004 4th edition features.
Definition at line 544 of file class.ilObjSAHSLearningModule.php.
References $fourth_edition.
| ilObjSAHSLearningModule::getHeight | ( | ) |
Definition at line 734 of file class.ilObjSAHSLearningModule.php.
References $height.
Referenced by getViewButton(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getHideNavig | ( | ) |
hide navigation tree
Definition at line 482 of file class.ilObjSAHSLearningModule.php.
References $hide_navig.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getIdSetting | ( | ) |
Definition at line 794 of file class.ilObjSAHSLearningModule.php.
References $id_setting.
Referenced by getApiStudentId(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::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
Definition at line 531 of file class.ilObjSAHSLearningModule.php.
References $ie_force_render.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getInteractions | ( | ) |
Definition at line 564 of file class.ilObjSAHSLearningModule.php.
References $interactions.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getLocalization | ( | ) |
Definition at line 248 of file class.ilObjSAHSLearningModule.php.
References $localization.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getMasteryScore | ( | ) |
Definition at line 744 of file class.ilObjSAHSLearningModule.php.
References $mastery_score.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getMasteryScoreValues | ( | ) |
Definition at line 789 of file class.ilObjSAHSLearningModule.php.
References $mastery_score_values.
| ilObjSAHSLearningModule::getMaxAttempt | ( | ) |
Definition at line 423 of file class.ilObjSAHSLearningModule.php.
References $max_attempt.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getMaxPoints | ( | ) |
Returns score.max for the learning module, refered to the last sco where score.max is set.
This is called by the certificate generator if [SCORM_POINTS_MAX] is inserted.
Definition at line 1133 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilUser, $res, ilObjSCORM2004LearningModule\_getMaxScoreForUser(), ilObject\getId(), and getSubType().
Here is the call graph for this function:| ilObjSAHSLearningModule::getModuleVersion | ( | ) |
Definition at line 433 of file class.ilObjSAHSLearningModule.php.
References $module_version.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getNameSetting | ( | ) |
Definition at line 804 of file class.ilObjSAHSLearningModule.php.
References $name_setting.
Referenced by getApiStudentName(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getNoMenu | ( | ) |
disable menu
Definition at line 466 of file class.ilObjSAHSLearningModule.php.
References $no_menu.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getObjectives | ( | ) |
Definition at line 574 of file class.ilObjSAHSLearningModule.php.
References $objectives.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::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
Definition at line 714 of file class.ilObjSAHSLearningModule.php.
References $open_mode.
Referenced by getViewButton(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getPointsInPercent | ( | ) |
Returns the points in percent for the learning module This is called by the certificate generator if [SCORM_POINTS] is inserted.
Definition at line 1112 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilUser, $res, ilObjSCORM2004LearningModule\_getUniqueScaledScoreForUser(), ilObject\getId(), and getSubType().
Here is the call graph for this function:
|
static |
Get SCORM modules that assign a certain glossary.
Definition at line 942 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and ilObject\_hasUntrashedReference().
Referenced by ilObjGlossary\getDeletionDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSequencing | ( | ) |
Definition at line 554 of file class.ilObjSAHSLearningModule.php.
References $sequencing.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSession | ( | ) |
Definition at line 453 of file class.ilObjSAHSLearningModule.php.
References $session.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSessionDeactivated | ( | ) |
sessionDisabled for SCORM 2004
Definition at line 509 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
Referenced by ilObjSCORMInitData\getIliasScormVars().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getStyleSheetId | ( | ) |
get ID of assigned style sheet object
Definition at line 374 of file class.ilObjSAHSLearningModule.php.
References $style_id.
Referenced by read(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSubType | ( | ) |
Definition at line 981 of file class.ilObjSAHSLearningModule.php.
References $sub_type.
Referenced by create(), delete(), getMaxPoints(), getPointsInPercent(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getTime_from_lms | ( | ) |
Definition at line 594 of file class.ilObjSAHSLearningModule.php.
References $time_from_lms.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getTries | ( | ) |
Definition at line 238 of file class.ilObjSAHSLearningModule.php.
References $tries.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getViewButton | ( | ) |
get button for view
Definition at line 1353 of file class.ilObjSAHSLearningModule.php.
References $height, $width, getHeight(), ilObject\getId(), ilLinkButton\getInstance(), getOpenMode(), and getWidth().
Here is the call graph for this function:| ilObjSAHSLearningModule::getWidth | ( | ) |
Definition at line 724 of file class.ilObjSAHSLearningModule.php.
References $width.
Referenced by getViewButton(), and update().
Here is the caller graph for this function:
|
static |
Get SCORM modules that assign a certain glossary.
Definition at line 961 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and ilObject\_lookupType().
Here is the call graph for this function:| ilObjSAHSLearningModule::populateByDirectoy | ( | string | $a_dir, |
| string | $a_filename = "" |
||
| ) |
Populate by directory.
Add a filename to do a special check for ILIAS SCORM export files. If the corresponding directory is found within the passed directory path (i.e. "htlm_<id>") this subdirectory is used instead.
ILIAS\Filesystem\Exception\DirectoryNotFoundException
ILIAS\Filesystem\Exception\FileNotFoundException
ILIAS\Filesystem\Exception\IOException
Definition at line 1155 of file class.ilObjSAHSLearningModule.php.
References getDataDirectory(), ilFileUtils\rCopy(), and ilFileUtils\renameExecutables().
Here is the call graph for this function:| ilObjSAHSLearningModule::read | ( | ) |
read object
Reimplemented from ilObject.
Definition at line 116 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, $lm_set, ilObject\_lookupType(), ilObject\getId(), getStyleSheetId(), setAPIAdapterName(), setAPIFunctionsPrefix(), setAssignedGlossary(), setAuto_last_visited(), setAutoContinue(), setAutoReviewChar(), setAutoSuspend(), setCheck_values(), setComments(), setCreditMode(), setDebug(), setDefaultLessonMode(), setFourth_edition(), setHeight(), setHideNavig(), setIdSetting(), setIe_force_render(), setInteractions(), setLocalization(), setMasteryScore(), setMaxAttempt(), setModuleVersion(), setNameSetting(), setNoMenu(), setObjectives(), setOpenMode(), setSequencing(), setSession(), setStyleSheetId(), setSubType(), setTime_from_lms(), setTries(), setWidth(), and ilUtil\yn2tf().
Here is the call graph for this function:| ilObjSAHSLearningModule::setAPIAdapterName | ( | string | $a_api | ) |
set api adapter name
Definition at line 313 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAPIFunctionsPrefix | ( | string | $a_prefix | ) |
set api functions prefix
Definition at line 330 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAssignedGlossary | ( | int | $a_assigned_glossary | ) |
Definition at line 443 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAuto_last_visited | ( | bool | $a_auto_last_visited | ) |
Definition at line 668 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoContinue | ( | bool | $a_auto_continue | ) |
Definition at line 653 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoReview | ( | bool | $a_auto_review | ) |
set auto review as true/false for SCORM 1.2
Definition at line 390 of file class.ilObjSAHSLearningModule.php.
References ilUtil\tf2yn().
Here is the call graph for this function:| ilObjSAHSLearningModule::setAutoReviewChar | ( | ?string | $a_auto_review | ) |
set auto review as Char for SCORM 2004
Definition at line 406 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoSuspend | ( | bool | $a_auto_suspend | ) |
Definition at line 694 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setCheck_values | ( | bool | $a_check_values | ) |
Definition at line 609 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setComments | ( | bool | $a_comments | ) |
Definition at line 589 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setCreditMode | ( | string | $a_credit_mode | ) |
set credit mode
Definition at line 346 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setDebug | ( | bool | $a_debug | ) |
Definition at line 632 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setDefaultLessonMode | ( | string | $a_lesson_mode | ) |
set default lesson mode
Definition at line 354 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setFourth_edition | ( | bool | $a_fourth_edition | ) |
Definition at line 549 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setHeight | ( | int | $a_height | ) |
Definition at line 739 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setHideNavig | ( | bool | $a_hide_navig | ) |
disable menu
Definition at line 490 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setIdSetting | ( | int | $a_id_setting | ) |
Definition at line 799 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setIe_force_render | ( | bool | $a_ie_force_render | ) |
Definition at line 536 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setInteractions | ( | bool | $a_interactions | ) |
Definition at line 569 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setLocalization | ( | string | $a_val | ) |
Definition at line 243 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setMasteryScore | ( | ?int | $a_mastery_score | ) |
Definition at line 749 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setMaxAttempt | ( | int | $a_max_attempt | ) |
Definition at line 428 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setModuleVersion | ( | int | $a_module_version | ) |
Definition at line 448 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setNameSetting | ( | int | $a_name_setting | ) |
Definition at line 809 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setNoMenu | ( | bool | $a_no_menu | ) |
disable menu
Definition at line 474 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setObjectives | ( | bool | $a_objectives | ) |
Definition at line 579 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setOpenMode | ( | int | $a_open_mode | ) |
Definition at line 719 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSequencing | ( | bool | $a_sequencing | ) |
Definition at line 559 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSession | ( | bool | $a_session | ) |
Definition at line 458 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setStyleSheetId | ( | int | $a_style_id | ) |
set ID of assigned style sheet object
Definition at line 382 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSubType | ( | string | $a_sub_type | ) |
Definition at line 976 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setTime_from_lms | ( | bool | $a_time_from_lms | ) |
Definition at line 599 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setTries | ( | int | $a_tries | ) |
Set default tries for questions.
Definition at line 233 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setWidth | ( | int | $a_width | ) |
Definition at line 729 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::update | ( | ) |
Reimplemented from ilObject.
Definition at line 814 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, getAPIAdapterName(), getAPIFunctionsPrefix(), getAssignedGlossary(), getAuto_last_visited(), getAutoContinue(), getAutoReviewChar(), getAutoSuspend(), getCheck_values(), getComments(), getCreditMode(), getDebug(), getDefaultLessonMode(), getEditable(), getHeight(), getHideNavig(), ilObject\getId(), getIdSetting(), getIe_force_render(), getInteractions(), getLocalization(), getMasteryScore(), getMaxAttempt(), getModuleVersion(), getNameSetting(), getNoMenu(), getObjectives(), getOpenMode(), getSequencing(), getSession(), getStyleSheetId(), getSubType(), getTime_from_lms(), getTries(), getWidth(), ilUtil\tf2yn(), and ilObject\updateMetaData().
Here is the call graph for this function:
|
protected |
Definition at line 71 of file class.ilObjSAHSLearningModule.php.
Referenced by getAPIAdapterName().
|
private |
Definition at line 34 of file class.ilObjSAHSLearningModule.php.
Referenced by getAPIFunctionsPrefix().
|
private |
Definition at line 41 of file class.ilObjSAHSLearningModule.php.
Referenced by getAssignedGlossary().
|
private |
Definition at line 53 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoContinue().
|
private |
Definition at line 54 of file class.ilObjSAHSLearningModule.php.
Referenced by getAuto_last_visited().
|
private |
Definition at line 38 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoReviewChar().
|
private |
Definition at line 55 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoSuspend().
|
private |
Definition at line 51 of file class.ilObjSAHSLearningModule.php.
Referenced by getCheck_values().
|
private |
Definition at line 49 of file class.ilObjSAHSLearningModule.php.
Referenced by getComments().
|
private |
Definition at line 35 of file class.ilObjSAHSLearningModule.php.
Referenced by getCreditMode().
|
private |
Definition at line 52 of file class.ilObjSAHSLearningModule.php.
Referenced by getDebug().
|
private |
Definition at line 46 of file class.ilObjSAHSLearningModule.php.
Referenced by getFourth_Edition().
|
private |
Definition at line 58 of file class.ilObjSAHSLearningModule.php.
Referenced by getHeight(), and getViewButton().
|
private |
Definition at line 44 of file class.ilObjSAHSLearningModule.php.
Referenced by getHideNavig().
|
private |
Definition at line 60 of file class.ilObjSAHSLearningModule.php.
Referenced by getIdSetting().
|
private |
Definition at line 45 of file class.ilObjSAHSLearningModule.php.
Referenced by getIe_force_render().
|
private |
Definition at line 47 of file class.ilObjSAHSLearningModule.php.
Referenced by getInteractions().
|
private |
Definition at line 36 of file class.ilObjSAHSLearningModule.php.
Referenced by getDefaultLessonMode().
|
protected |
Definition at line 65 of file class.ilObjSAHSLearningModule.php.
Referenced by getLocalization().
|
private |
Definition at line 59 of file class.ilObjSAHSLearningModule.php.
Referenced by getMasteryScore().
|
protected |
Definition at line 67 of file class.ilObjSAHSLearningModule.php.
Referenced by getMasteryScoreValues().
|
private |
Definition at line 39 of file class.ilObjSAHSLearningModule.php.
Referenced by getMaxAttempt().
|
private |
Definition at line 40 of file class.ilObjSAHSLearningModule.php.
Referenced by getModuleVersion().
|
private |
Definition at line 61 of file class.ilObjSAHSLearningModule.php.
Referenced by getNameSetting().
|
private |
Definition at line 43 of file class.ilObjSAHSLearningModule.php.
Referenced by getNoMenu().
|
private |
Definition at line 48 of file class.ilObjSAHSLearningModule.php.
Referenced by getObjectives().
|
private |
Definition at line 56 of file class.ilObjSAHSLearningModule.php.
Referenced by getOpenMode().
|
protected |
Definition at line 63 of file class.ilObjSAHSLearningModule.php.
Referenced by getSequencing().
|
private |
Definition at line 42 of file class.ilObjSAHSLearningModule.php.
Referenced by getSession().
|
private |
Definition at line 37 of file class.ilObjSAHSLearningModule.php.
Referenced by getStyleSheetId().
|
private |
Definition at line 62 of file class.ilObjSAHSLearningModule.php.
Referenced by getSubType().
|
private |
Definition at line 50 of file class.ilObjSAHSLearningModule.php.
Referenced by getTime_from_lms().
|
protected |
Definition at line 69 of file class.ilObjSAHSLearningModule.php.
Referenced by getTries().
|
private |
Definition at line 57 of file class.ilObjSAHSLearningModule.php.
Referenced by getViewButton(), and getWidth().