|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 () | |
| Set Editable. More... | |
| 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... | |
| 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 () | |
| offlineMode More... | |
| setDebug (bool $a_debug) | |
| setAutoContinue (bool $a_auto_continue) | |
| debug pw More... | |
| getAutoContinue () | |
| getAuto_last_visited () | |
| setAuto_last_visited (bool $a_auto_last_visited) | |
| setAutoSuspend (bool $a_auto_suspend) | |
| Set sequencing expert mode. More... | |
| 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 | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | 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' |
| ILIAS DI UIServices | $ui |
Protected Attributes inherited from ilObject | |
| ilLogger | $obj_log |
| ILIAS | $ilias |
| ilObjectDefinition | $obj_definition |
| ilDBInterface | $db |
| ilLogger | $log |
| ilErrorHandling | $error |
| ilTree | $tree |
| ilAppEventHandler | $app_event_handler |
| ilRbacAdmin | $rbac_admin |
| ilRbacReview | $rbac_review |
| ilObjUser | $user |
| ilLanguage | $lng |
| bool | $call_by_reference |
| int | $max_title = self::TITLE_LENGTH |
| int | $max_desc = self::DESC_LENGTH |
| bool | $add_dots = true |
| int | $ref_id = null |
| string | $type = "" |
| string | $title = "" |
| string | $desc = "" |
| string | $long_desc = "" |
| int | $owner = 0 |
| string | $create_date = "" |
| string | $last_update = "" |
| string | $import_id = "" |
| bool | $register = false |
Private Attributes | |
| string | $api_func_prefix = 'LMS' |
| 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 | $a_id | reference_id or object_id |
| boolean | $a_call_by_reference | treat the id as reference_id (true) or object_id (false) |
Definition at line 79 of file class.ilObjSAHSLearningModule.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
static |
obsolet?
Definition at line 260 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and $lm_set.
|
static |
lookup subtype id (scorm, )
Definition at line 202 of file class.ilObjSAHSLearningModule.php.
Referenced by ilLPStatusSCORM\_getStatusInfo(), ilLPStatusSCORM\determinePercentage(), ilLPStatusSCORM\determineStatus(), ilSAHSPresentationGUI\executeCommand(), ilSAHSEditGUI\executeCommand(), ilLPCollectionSettingsTableGUI\fillRow(), ilTrQuery\getObjectsDataForUser(), ilTrQuery\getParticipantsForObject(), ilLPCollectionOfSCOs\getPossibleItems(), ilObjSAHSLearningModuleListGUI\getProperties(), ilLPCollectionOfSCOs\getScoresForUserAndCP_Node_Id(), ilTrQuery\getSCOsStatusForUser(), ilScormLP\getValidModes(), ilObjSCORMLearningModuleGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\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 759 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and ilObject\$type.
| ilObjSAHSLearningModule::create | ( | bool | $upload = false | ) |
create file based lm
Definition at line 90 of file class.ilObjSAHSLearningModule.php.
References $DIC, $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 290 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
Definition at line 998 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 180 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 309 of file class.ilObjSAHSLearningModule.php.
References $api_adapter.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAPIFunctionsPrefix | ( | ) |
get api functions prefix
Definition at line 326 of file class.ilObjSAHSLearningModule.php.
References $api_func_prefix.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getApiStudentId | ( | ) |
Get cmi.core.student_id / cmi.learner_id for API.
Definition at line 1287 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 1308 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 440 of file class.ilObjSAHSLearningModule.php.
References $assigned_glossary.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAuto_last_visited | ( | ) |
Definition at line 665 of file class.ilObjSAHSLearningModule.php.
References $auto_last_visited.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoContinue | ( | ) |
Definition at line 660 of file class.ilObjSAHSLearningModule.php.
References $auto_continue.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), 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 400 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 420 of file class.ilObjSAHSLearningModule.php.
References $auto_review.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoSuspend | ( | ) |
Definition at line 701 of file class.ilObjSAHSLearningModule.php.
References $auto_suspend.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getCacheDeactivated | ( | ) |
BrowserCacheDisabled for SCORM 2004 / ENABLE_JS_DEBUG.
Definition at line 500 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
| ilObjSAHSLearningModule::getCheck_values | ( | ) |
Definition at line 606 of file class.ilObjSAHSLearningModule.php.
References $check_values.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getComments | ( | ) |
Definition at line 586 of file class.ilObjSAHSLearningModule.php.
References $comments.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getCreditMode | ( | ) |
get credit mode
Definition at line 342 of file class.ilObjSAHSLearningModule.php.
References ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_SCORM, and ilLPObjSettings\LP_MODE_SCORM_PACKAGE.
Referenced by ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDataDirectory | ( | ?string | $mode = "filesystem" | ) |
get data directory of lm
Definition at line 300 of file class.ilObjSAHSLearningModule.php.
References ilObject\getId(), and ilFileUtils\getWebspaceDir().
Referenced by ilObjSCORM2004LearningModule\convert_1_2_to_2004(), createDataDirectory(), delete(), ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), ilObjSCORMLearningModule\readObject(), and ilObjSCORM2004LearningModule\readObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDebug | ( | ) |
offlineMode
Definition at line 629 of file class.ilObjSAHSLearningModule.php.
References $debug.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDebugActivated | ( | ) |
debugActivated
Definition at line 522 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
| ilObjSAHSLearningModule::getDefaultLessonMode | ( | ) |
get default lesson mode
Definition at line 364 of file class.ilObjSAHSLearningModule.php.
References $DIC, and $lesson_mode.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDiskUsage | ( | ) |
Gets the disk usage of the object in bytes.
Definition at line 280 of file class.ilObjSAHSLearningModule.php.
References ilObjSAHSLearningModuleAccess\_lookupDiskUsage().
Here is the call graph for this function:| ilObjSAHSLearningModule::getEditable | ( | ) |
Set Editable.
| boolean | $a_editable | Editable |
Definition at line 229 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 546 of file class.ilObjSAHSLearningModule.php.
References $fourth_edition.
| ilObjSAHSLearningModule::getHeight | ( | ) |
Definition at line 736 of file class.ilObjSAHSLearningModule.php.
References $height.
Referenced by getViewButton(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getHideNavig | ( | ) |
hide navigation tree
Definition at line 484 of file class.ilObjSAHSLearningModule.php.
References $hide_navig.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getIdSetting | ( | ) |
Definition at line 796 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 533 of file class.ilObjSAHSLearningModule.php.
References $ie_force_render.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getInteractions | ( | ) |
Definition at line 566 of file class.ilObjSAHSLearningModule.php.
References $interactions.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getLocalization | ( | ) |
Definition at line 252 of file class.ilObjSAHSLearningModule.php.
References $localization.
Referenced by create(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getMasteryScore | ( | ) |
Definition at line 746 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 791 of file class.ilObjSAHSLearningModule.php.
References $mastery_score_values.
| ilObjSAHSLearningModule::getMaxAttempt | ( | ) |
Definition at line 425 of file class.ilObjSAHSLearningModule.php.
References $max_attempt.
Referenced by populateByDirectoy(), and 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 1135 of file class.ilObjSAHSLearningModule.php.
References $DIC, $res, ilObjSCORM2004LearningModule\_getMaxScoreForUser(), ilObject\getId(), and getSubType().
Here is the call graph for this function:| ilObjSAHSLearningModule::getModuleVersion | ( | ) |
Definition at line 435 of file class.ilObjSAHSLearningModule.php.
References $module_version.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getNameSetting | ( | ) |
Definition at line 806 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 468 of file class.ilObjSAHSLearningModule.php.
References $no_menu.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getObjectives | ( | ) |
Definition at line 576 of file class.ilObjSAHSLearningModule.php.
References $objectives.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), 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 716 of file class.ilObjSAHSLearningModule.php.
References $open_mode.
Referenced by getViewButton(), populateByDirectoy(), 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 1114 of file class.ilObjSAHSLearningModule.php.
References $DIC, $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 944 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and ilObject\_hasUntrashedReference().
Referenced by ilObjGlossaryGUI\addUsagesToInfo(), and ilObjGlossary\getDeletionDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSequencing | ( | ) |
Definition at line 556 of file class.ilObjSAHSLearningModule.php.
References $sequencing.
Referenced by populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSession | ( | ) |
Definition at line 455 of file class.ilObjSAHSLearningModule.php.
References $session.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSessionDeactivated | ( | ) |
sessionDisabled for SCORM 2004
Definition at line 511 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 376 of file class.ilObjSAHSLearningModule.php.
References $style_id.
Referenced by populateByDirectoy(), read(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSubType | ( | ) |
Definition at line 983 of file class.ilObjSAHSLearningModule.php.
References $sub_type.
Referenced by create(), delete(), getMaxPoints(), getPointsInPercent(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getTime_from_lms | ( | ) |
Definition at line 596 of file class.ilObjSAHSLearningModule.php.
References $time_from_lms.
Referenced by ilObjSCORMInitData\getIliasScormVars(), populateByDirectoy(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getTries | ( | ) |
Definition at line 242 of file class.ilObjSAHSLearningModule.php.
References $tries.
Referenced by populateByDirectoy(), and 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 getHeight(), ilObject\getId(), ilLinkButton\getInstance(), getOpenMode(), and getWidth().
Here is the call graph for this function:| ilObjSAHSLearningModule::getWidth | ( | ) |
Definition at line 726 of file class.ilObjSAHSLearningModule.php.
References $width.
Referenced by getViewButton(), populateByDirectoy(), and update().
Here is the caller graph for this function:
|
static |
Get SCORM modules that assign a certain glossary.
Definition at line 963 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.
Definition at line 1157 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, ilObject\$lng, ilCopyWizardOptions\_getInstance(), ilObject\cloneMetaData(), getAPIAdapterName(), getAPIFunctionsPrefix(), getAssignedGlossary(), getAuto_last_visited(), getAutoContinue(), getAutoReviewChar(), getAutoSuspend(), getCheck_values(), getComments(), getDataDirectory(), getDebug(), getDefaultLessonMode(), ilObject\getDescription(), getHeight(), getHideNavig(), ilObject\getId(), getIe_force_render(), ilObjectLP\getInstance(), getInteractions(), getLocalization(), getMaxAttempt(), getModuleVersion(), getNoMenu(), getObjectives(), ilObject\getOfflineStatus(), getOpenMode(), ilObject\getRefId(), getSequencing(), getSession(), getStyleSheetId(), getSubType(), getTime_from_lms(), getTries(), getWidth(), populateByDirectoy(), ilFileUtils\rCopy(), and ilFileUtils\renameExecutables().
Referenced by populateByDirectoy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::read | ( | ) |
read object
Definition at line 119 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(), 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 317 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 334 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 445 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 670 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoContinue | ( | bool | $a_auto_continue | ) |
debug pw
debug pw
Definition at line 655 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 392 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 408 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoSuspend | ( | bool | $a_auto_suspend | ) |
Set sequencing expert mode.
| boolean | $a_val | sequencing expert mode Get sequencing expert mode |
Definition at line 696 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 611 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setComments | ( | bool | $a_comments | ) |
Definition at line 591 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setDebug | ( | bool | $a_debug | ) |
Definition at line 634 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 356 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 551 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setHeight | ( | int | $a_height | ) |
Definition at line 741 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 492 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 801 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 538 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setInteractions | ( | bool | $a_interactions | ) |
Definition at line 571 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setLocalization | ( | string | $a_val | ) |
Definition at line 247 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 751 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 430 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 450 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 811 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 476 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setObjectives | ( | bool | $a_objectives | ) |
Definition at line 581 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 721 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSequencing | ( | bool | $a_sequencing | ) |
Definition at line 561 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSession | ( | bool | $a_session | ) |
Definition at line 460 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 384 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 978 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 601 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 237 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setWidth | ( | int | $a_width | ) |
Definition at line 731 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::update | ( | ) |
Definition at line 816 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 70 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 40 of file class.ilObjSAHSLearningModule.php.
Referenced by getAssignedGlossary().
|
private |
Definition at line 52 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoContinue().
|
private |
Definition at line 53 of file class.ilObjSAHSLearningModule.php.
Referenced by getAuto_last_visited().
|
private |
Definition at line 37 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoReviewChar().
|
private |
Definition at line 54 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoSuspend().
|
private |
Definition at line 50 of file class.ilObjSAHSLearningModule.php.
Referenced by getCheck_values().
|
private |
Definition at line 48 of file class.ilObjSAHSLearningModule.php.
Referenced by getComments().
|
private |
Definition at line 51 of file class.ilObjSAHSLearningModule.php.
Referenced by getDebug().
|
private |
Definition at line 45 of file class.ilObjSAHSLearningModule.php.
Referenced by getFourth_Edition().
|
private |
Definition at line 57 of file class.ilObjSAHSLearningModule.php.
Referenced by getHeight().
|
private |
Definition at line 43 of file class.ilObjSAHSLearningModule.php.
Referenced by getHideNavig().
|
private |
Definition at line 59 of file class.ilObjSAHSLearningModule.php.
Referenced by getIdSetting().
|
private |
Definition at line 44 of file class.ilObjSAHSLearningModule.php.
Referenced by getIe_force_render().
|
private |
Definition at line 46 of file class.ilObjSAHSLearningModule.php.
Referenced by getInteractions().
|
private |
Definition at line 35 of file class.ilObjSAHSLearningModule.php.
Referenced by getDefaultLessonMode().
|
protected |
Definition at line 64 of file class.ilObjSAHSLearningModule.php.
Referenced by getLocalization().
|
private |
Definition at line 58 of file class.ilObjSAHSLearningModule.php.
Referenced by getMasteryScore().
|
protected |
Definition at line 66 of file class.ilObjSAHSLearningModule.php.
Referenced by getMasteryScoreValues().
|
private |
Definition at line 38 of file class.ilObjSAHSLearningModule.php.
Referenced by getMaxAttempt().
|
private |
Definition at line 39 of file class.ilObjSAHSLearningModule.php.
Referenced by getModuleVersion().
|
private |
Definition at line 60 of file class.ilObjSAHSLearningModule.php.
Referenced by getNameSetting().
|
private |
Definition at line 42 of file class.ilObjSAHSLearningModule.php.
Referenced by getNoMenu().
|
private |
Definition at line 47 of file class.ilObjSAHSLearningModule.php.
Referenced by getObjectives().
|
private |
Definition at line 55 of file class.ilObjSAHSLearningModule.php.
Referenced by getOpenMode().
|
protected |
Definition at line 62 of file class.ilObjSAHSLearningModule.php.
Referenced by getSequencing().
|
private |
Definition at line 41 of file class.ilObjSAHSLearningModule.php.
Referenced by getSession().
|
private |
Definition at line 36 of file class.ilObjSAHSLearningModule.php.
Referenced by getStyleSheetId().
|
private |
Definition at line 61 of file class.ilObjSAHSLearningModule.php.
Referenced by getSubType().
|
private |
Definition at line 49 of file class.ilObjSAHSLearningModule.php.
Referenced by getTime_from_lms().
|
protected |
Definition at line 68 of file class.ilObjSAHSLearningModule.php.
Referenced by getTries().
|
protected |
Definition at line 72 of file class.ilObjSAHSLearningModule.php.
|
private |
Definition at line 56 of file class.ilObjSAHSLearningModule.php.
Referenced by getWidth().