|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
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 ("./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 | 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 | |
| getIrss () | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Protected Attributes | |
| bool | $sequencing = false |
| string | $localization = "" |
| string | $mastery_score_values = "" |
| int | $tries = 0 |
| string | $api_adapter = 'API' |
| ILIAS DI UIServices | $ui |
| string | $rid = null |
Protected Attributes inherited from ilObject | |
| ilLogger | $obj_log |
| ILIAS | $ilias |
| ilObjectDefinition | $obj_definition |
| ilDBInterface | $db |
| ilLogger | $log |
| ilErrorHandling | $error |
| ilTree | $tree |
| ilAppEventHandler | $app_event_handler |
| ilRbacAdmin | $rbac_admin |
| ilRbacReview | $rbac_review |
| ilObjUser | $user |
| ilLanguage | $lng |
| LOMServices | $lom_services |
| bool | $call_by_reference |
| int | $max_title = self::TITLE_LENGTH |
| int | $max_desc = self::DESC_LENGTH |
| bool | $add_dots = true |
| int | $ref_id = null |
| string | $type = "" |
| string | $title = "" |
| string | $desc = "" |
| string | $long_desc = "" |
| int | $owner = 0 |
| string | $create_date = "" |
| string | $last_update = "" |
| string | $import_id = "" |
| bool | $register = false |
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 |
| 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) |
Reimplemented in ilObjSCORM2004LearningModule, and ilObjSCORMLearningModule.
Definition at line 89 of file class.ilObjSAHSLearningModule.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
static |
obsolet?
Definition at line 271 of file class.ilObjSAHSLearningModule.php.
|
static |
lookup subtype id (scorm, )
Definition at line 213 of file class.ilObjSAHSLearningModule.php.
Referenced by ilLPStatusSCORM\_getStatusInfo(), ilObjSCORMLearningModuleGUI\applyAdoptSettings(), checkMasteryScoreValues(), ilLPStatusSCORM\determinePercentage(), ilSAHSPresentationGUI\executeCommand(), ilSAHSEditGUI\executeCommand(), ilLPCollectionSettingsTableGUI\fillRow(), ilTrQuery\getParticipantsForObject(), ilLPCollectionOfSCOs\getPossibleItems(), ilObjSAHSLearningModuleListGUI\getProperties(), ilScormLP\getValidModes(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjSCORMLearningModuleGUI\initPropertiesForm(), ilSCORMAdoptSettingsNodeRetrieval\isSelectableSource(), ilLPCollectionOfSCOs\itemsAreEqual(), ilObjSCORMLearningModuleGUI\newModuleVersion(), ilLPStatusSCORM\refreshStatus(), and ilSAHSPresentationGUI\setInfoTabs().
Here is the caller graph for this function:| ilObjSAHSLearningModule::adoptSettingsFrom | ( | ilObjSAHSLearningModule | $source | ) |
Adopt compatible SCORM runtime/settings from another SCORM module.
Returns false if source and target are not compatible.
Definition at line 1223 of file class.ilObjSAHSLearningModule.php.
References $sub_type, getAuto_last_visited(), getAutoContinue(), getAutoReviewChar(), getAutoSuspend(), getCheck_values(), getComments(), getDebug(), getDefaultLessonMode(), getFourth_Edition(), getHeight(), getHideNavig(), ilObject\getId(), getIdSetting(), getIe_force_render(), getInteractions(), getMasteryScore(), getNameSetting(), getNoMenu(), getObjectives(), getOpenMode(), getSequencing(), getSession(), getSubType(), getTime_from_lms(), getWidth(), setAuto_last_visited(), setAutoContinue(), setAutoReviewChar(), setAutoSuspend(), setCheck_values(), setComments(), setDebug(), setDefaultLessonMode(), setFourth_edition(), setHeight(), setHideNavig(), setIdSetting(), setIe_force_render(), setInteractions(), setMasteryScore(), setNameSetting(), setNoMenu(), setObjectives(), setOpenMode(), setSequencing(), setSession(), setTime_from_lms(), and setWidth().
Here is the call graph for this function:| ilObjSAHSLearningModule::checkMasteryScoreValues | ( | ) |
check mastery_score / min_normalized_measure of SCOs (SCORM 1.2) / objectives (SCORM 2004)
Definition at line 987 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 100 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 ("./public/data/lm_data/lm_<id>")
Definition at line 301 of file class.ilObjSAHSLearningModule.php.
References getDataDirectory(), ilFileUtils\getWebspaceDir(), and ilFileUtils\makeDir().
Referenced by create(), and extractContainerToDataDirectory().
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 1283 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, $res, ilSCORMObject\_getInstance(), ilFileUtils\delDir(), ilObject\deleteMetaData(), getDataDirectory(), ilObject\getId(), ilLoggerFactory\getLogger(), getSubType(), and removeContainerResource().
Here is the call graph for this function:| ilObjSAHSLearningModule::extractContainerToDataDirectory | ( | ) |
Extract the current container revision back onto disk at getDataDirectory().
Used to re-parse the manifest (cp_* tables) for a freshly cloned module. The caller must remove the directory afterwards.
Definition at line 495 of file class.ilObjSAHSLearningModule.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, createDataDirectory(), getDataDirectory(), getIrss(), and getResource().
Referenced by writeContentZip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get affective localization.
Definition at line 191 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 537 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 554 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 1582 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 1603 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 668 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 893 of file class.ilObjSAHSLearningModule.php.
References $auto_last_visited.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoContinue | ( | ) |
Definition at line 888 of file class.ilObjSAHSLearningModule.php.
References $auto_continue.
Referenced by adoptSettingsFrom(), 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 628 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 648 of file class.ilObjSAHSLearningModule.php.
References $auto_review.
Referenced by adoptSettingsFrom(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getAutoSuspend | ( | ) |
Definition at line 929 of file class.ilObjSAHSLearningModule.php.
References $auto_suspend.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getCacheDeactivated | ( | ) |
BrowserCacheDisabled for SCORM 2004 / ENABLE_JS_DEBUG.
Definition at line 728 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
| ilObjSAHSLearningModule::getCheck_values | ( | ) |
Definition at line 834 of file class.ilObjSAHSLearningModule.php.
References $check_values.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getComments | ( | ) |
Definition at line 814 of file class.ilObjSAHSLearningModule.php.
References $comments.
Referenced by adoptSettingsFrom(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::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.
"<base>/-/sco1/index.html"). Returns null for un-migrated modules; callers must then fall back to the web path of getDataDirectory().
Definition at line 363 of file class.ilObjSAHSLearningModule.php.
References getIrss(), and getResource().
Referenced by ilObjSCORMInitData\getIliasScormVars().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getCreditMode | ( | ) |
get credit mode
Definition at line 570 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 311 of file class.ilObjSAHSLearningModule.php.
References ilObject\getId(), and ilFileUtils\getWebspaceDir().
Referenced by ilObjSCORM2004LearningModule\convert_1_2_to_2004(), createDataDirectory(), delete(), extractContainerToDataDirectory(), ilObjSCORMInitData\getIliasScormVars(), moveDataDirectoryToContainer(), populateByDirectoy(), ilObjSCORM2004LearningModule\readObject(), ilObjSCORMLearningModule\readObject(), and writeContentZip().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDebug | ( | ) |
Definition at line 857 of file class.ilObjSAHSLearningModule.php.
References $debug.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getDebugActivated | ( | ) |
debugActivated
Definition at line 750 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilSetting, and $lm_set.
| ilObjSAHSLearningModule::getDefaultLessonMode | ( | ) |
get default lesson mode
Definition at line 592 of file class.ilObjSAHSLearningModule.php.
References $DIC, and $lesson_mode.
Referenced by adoptSettingsFrom(), 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 291 of file class.ilObjSAHSLearningModule.php.
References ilObjSAHSLearningModuleAccess\_lookupDiskUsage().
Here is the call graph for this function:| ilObjSAHSLearningModule::getEditable | ( | ) |
Definition at line 240 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 774 of file class.ilObjSAHSLearningModule.php.
References $fourth_edition.
Referenced by adoptSettingsFrom().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getHeight | ( | ) |
Definition at line 964 of file class.ilObjSAHSLearningModule.php.
References $height.
Referenced by adoptSettingsFrom(), getViewButton(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getHideNavig | ( | ) |
hide navigation tree
Definition at line 712 of file class.ilObjSAHSLearningModule.php.
References $hide_navig.
Referenced by adoptSettingsFrom(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getIdSetting | ( | ) |
Definition at line 1024 of file class.ilObjSAHSLearningModule.php.
References $id_setting.
Referenced by adoptSettingsFrom(), 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 761 of file class.ilObjSAHSLearningModule.php.
References $ie_force_render.
Referenced by adoptSettingsFrom(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getInteractions | ( | ) |
Definition at line 794 of file class.ilObjSAHSLearningModule.php.
References $interactions.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 327 of file class.ilObjSAHSLearningModule.php.
References $DIC.
Referenced by extractContainerToDataDirectory(), getContainerBaseUri(), getManifestFromContainer(), getResource(), moveDataDirectoryToContainer(), removeContainerResource(), and replaceContainerFromZipPath().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getLocalization | ( | ) |
Definition at line 263 of file class.ilObjSAHSLearningModule.php.
References $localization.
Referenced by create(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getManifestFromContainer | ( | string | $manifest_file = 'imsmanifest.xml' | ) |
Read the imsmanifest.xml of the current container revision (migrated modules).
Returns null when the module is not migrated or the manifest is absent. Used to validate that a new package version matches the existing manifest structure (cp_* tables) before replacing the resource.
Definition at line 408 of file class.ilObjSAHSLearningModule.php.
References $files, getIrss(), and getResource().
Here is the call graph for this function:| ilObjSAHSLearningModule::getMasteryScore | ( | ) |
Definition at line 974 of file class.ilObjSAHSLearningModule.php.
References $mastery_score.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getMasteryScoreValues | ( | ) |
Definition at line 1019 of file class.ilObjSAHSLearningModule.php.
References $mastery_score_values.
| ilObjSAHSLearningModule::getMaxAttempt | ( | ) |
Definition at line 653 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 1423 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 663 of file class.ilObjSAHSLearningModule.php.
References $module_version.
Referenced by update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getNameSetting | ( | ) |
Definition at line 1034 of file class.ilObjSAHSLearningModule.php.
References $name_setting.
Referenced by adoptSettingsFrom(), getApiStudentName(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getNoMenu | ( | ) |
disable menu
Definition at line 696 of file class.ilObjSAHSLearningModule.php.
References $no_menu.
Referenced by adoptSettingsFrom(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getObjectives | ( | ) |
Definition at line 804 of file class.ilObjSAHSLearningModule.php.
References $objectives.
Referenced by adoptSettingsFrom(), 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 944 of file class.ilObjSAHSLearningModule.php.
References $open_mode.
Referenced by adoptSettingsFrom(), 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 1402 of file class.ilObjSAHSLearningModule.php.
References $DIC, $res, ilObjSCORM2004LearningModule\_getUniqueScaledScoreForUser(), ilObject\getId(), and getSubType().
Here is the call graph for this function:| ilObjSAHSLearningModule::getResource | ( | ) |
Definition at line 343 of file class.ilObjSAHSLearningModule.php.
References $rid, getIrss(), and getRID().
Referenced by extractContainerToDataDirectory(), getContainerBaseUri(), getManifestFromContainer(), hasContainerResource(), removeContainerResource(), and replaceContainerFromZipPath().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::getRID | ( | ) |
Definition at line 317 of file class.ilObjSAHSLearningModule.php.
References $rid.
Referenced by getResource(), and update().
Here is the caller graph for this function:
|
static |
Get SCORM modules that assign a certain glossary.
Definition at line 1175 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and ilObject\_hasUntrashedReference().
Here is the call graph for this function:| ilObjSAHSLearningModule::getSequencing | ( | ) |
Definition at line 784 of file class.ilObjSAHSLearningModule.php.
References $sequencing.
Referenced by adoptSettingsFrom(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSession | ( | ) |
Definition at line 683 of file class.ilObjSAHSLearningModule.php.
References $session.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getSessionDeactivated | ( | ) |
sessionDisabled for SCORM 2004
Definition at line 739 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 604 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 1214 of file class.ilObjSAHSLearningModule.php.
References $sub_type.
Referenced by adoptSettingsFrom(), create(), delete(), getMaxPoints(), getPointsInPercent(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getTime_from_lms | ( | ) |
Definition at line 824 of file class.ilObjSAHSLearningModule.php.
References $time_from_lms.
Referenced by adoptSettingsFrom(), ilObjSCORMInitData\getIliasScormVars(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::getTries | ( | ) |
Definition at line 253 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 1650 of file class.ilObjSAHSLearningModule.php.
References $DIC, $height, $id, $width, getHeight(), ilObject\getId(), getOpenMode(), getWidth(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ilObjSAHSLearningModule::getWidth | ( | ) |
Definition at line 954 of file class.ilObjSAHSLearningModule.php.
References $width.
Referenced by adoptSettingsFrom(), getViewButton(), and update().
Here is the caller graph for this function:| ilObjSAHSLearningModule::hasContainerResource | ( | ) |
True when the module's content lives in a Resource Storage container.
The rid sentinel '-' marks a module whose migration failed, '' an un-migrated module; both fall back to the on-disk data directory.
Definition at line 338 of file class.ilObjSAHSLearningModule.php.
References getResource().
Referenced by writeContentZip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get SCORM modules that assign a certain glossary.
Definition at line 1194 of file class.ilObjSAHSLearningModule.php.
References $DIC, $ilDB, and ilObject\_lookupType().
Here is the call graph for this function:| ilObjSAHSLearningModule::moveDataDirectoryToContainer | ( | ) |
Move the on-disk data directory into a new container resource and remove the directory.
Call AFTER readObject() — manifest parsing reads the files from disk. The zip keeps the directory structure but strips the top lm_<id> folder, so files end up at the container root.
Definition at line 459 of file class.ilObjSAHSLearningModule.php.
References $rid, ilFileUtils\delDir(), getDataDirectory(), getIrss(), ilObject\getTitle(), setRID(), and update().
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 1445 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 129 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(), setRID(), setSequencing(), setSession(), setStyleSheetId(), setSubType(), setTime_from_lms(), setTries(), setWidth(), and ilUtil\yn2tf().
Here is the call graph for this function:| ilObjSAHSLearningModule::removeContainerResource | ( | ) |
Definition at line 389 of file class.ilObjSAHSLearningModule.php.
References getIrss(), getResource(), and setRID().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::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).
Returns false when the module is not migrated.
Definition at line 434 of file class.ilObjSAHSLearningModule.php.
References getIrss(), and getResource().
Here is the call graph for this function:| ilObjSAHSLearningModule::setAPIAdapterName | ( | string | $a_api | ) |
set api adapter name
Definition at line 545 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 562 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 673 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 898 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoContinue | ( | bool | $a_auto_continue | ) |
Definition at line 883 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and 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 620 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 636 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setAutoSuspend | ( | bool | $a_auto_suspend | ) |
Definition at line 924 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setCheck_values | ( | bool | $a_check_values | ) |
Definition at line 839 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setComments | ( | bool | $a_comments | ) |
Definition at line 819 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setDebug | ( | bool | $a_debug | ) |
Definition at line 862 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setDefaultLessonMode | ( | string | $a_lesson_mode | ) |
set default lesson mode
Definition at line 584 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setFourth_edition | ( | bool | $a_fourth_edition | ) |
Definition at line 779 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setHeight | ( | int | $a_height | ) |
Definition at line 969 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setHideNavig | ( | bool | $a_hide_navig | ) |
disable menu
Definition at line 720 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setIdSetting | ( | int | $a_id_setting | ) |
Definition at line 1029 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setIe_force_render | ( | bool | $a_ie_force_render | ) |
Definition at line 766 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setInteractions | ( | bool | $a_interactions | ) |
Definition at line 799 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setLocalization | ( | string | $a_val | ) |
Definition at line 258 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 979 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setMaxAttempt | ( | int | $a_max_attempt | ) |
Definition at line 658 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 678 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 1039 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setNoMenu | ( | bool | $a_no_menu | ) |
disable menu
Definition at line 704 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setObjectives | ( | bool | $a_objectives | ) |
Definition at line 809 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setOpenMode | ( | int | $a_open_mode | ) |
Definition at line 949 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setRID | ( | ?string | $rid | ) |
Definition at line 322 of file class.ilObjSAHSLearningModule.php.
References $rid.
Referenced by moveDataDirectoryToContainer(), read(), and removeContainerResource().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSequencing | ( | bool | $a_sequencing | ) |
Definition at line 789 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setSession | ( | bool | $a_session | ) |
Definition at line 688 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and 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 612 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 1209 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 829 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setTries | ( | int | $a_tries | ) |
Set default tries for questions.
Definition at line 248 of file class.ilObjSAHSLearningModule.php.
Referenced by read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::setWidth | ( | int | $a_width | ) |
Definition at line 959 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and read().
Here is the caller graph for this function:| ilObjSAHSLearningModule::update | ( | ) |
Reimplemented from ilObject.
Definition at line 1044 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(), getRID(), getSequencing(), getSession(), getStyleSheetId(), getSubType(), getTime_from_lms(), getTries(), getWidth(), ilUtil\tf2yn(), and ilObject\updateMetaData().
Referenced by moveDataDirectoryToContainer().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjSAHSLearningModule::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").
Sources from the container for migrated modules, otherwise from the on-disk data directory.
Definition at line 518 of file class.ilObjSAHSLearningModule.php.
References $DIC, ilFileUtils\delDir(), extractContainerToDataDirectory(), getDataDirectory(), and hasContainerResource().
Here is the call graph for this function:
|
protected |
Definition at line 78 of file class.ilObjSAHSLearningModule.php.
Referenced by getAPIAdapterName().
|
private |
Definition at line 42 of file class.ilObjSAHSLearningModule.php.
Referenced by getAPIFunctionsPrefix().
|
private |
Definition at line 48 of file class.ilObjSAHSLearningModule.php.
Referenced by getAssignedGlossary().
|
private |
Definition at line 60 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoContinue().
|
private |
Definition at line 61 of file class.ilObjSAHSLearningModule.php.
Referenced by getAuto_last_visited().
|
private |
Definition at line 45 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoReviewChar().
|
private |
Definition at line 62 of file class.ilObjSAHSLearningModule.php.
Referenced by getAutoSuspend().
|
private |
Definition at line 58 of file class.ilObjSAHSLearningModule.php.
Referenced by getCheck_values().
|
private |
Definition at line 56 of file class.ilObjSAHSLearningModule.php.
Referenced by getComments().
|
private |
Definition at line 59 of file class.ilObjSAHSLearningModule.php.
Referenced by getDebug().
|
private |
Definition at line 53 of file class.ilObjSAHSLearningModule.php.
Referenced by getFourth_Edition().
|
private |
Definition at line 65 of file class.ilObjSAHSLearningModule.php.
Referenced by getHeight(), and getViewButton().
|
private |
Definition at line 51 of file class.ilObjSAHSLearningModule.php.
Referenced by getHideNavig().
|
private |
Definition at line 67 of file class.ilObjSAHSLearningModule.php.
Referenced by getIdSetting().
|
private |
Definition at line 52 of file class.ilObjSAHSLearningModule.php.
Referenced by getIe_force_render().
|
private |
Definition at line 54 of file class.ilObjSAHSLearningModule.php.
Referenced by getInteractions().
|
private |
Definition at line 43 of file class.ilObjSAHSLearningModule.php.
Referenced by getDefaultLessonMode().
|
protected |
Definition at line 72 of file class.ilObjSAHSLearningModule.php.
Referenced by getLocalization().
|
private |
Definition at line 66 of file class.ilObjSAHSLearningModule.php.
Referenced by getMasteryScore().
|
protected |
Definition at line 74 of file class.ilObjSAHSLearningModule.php.
Referenced by getMasteryScoreValues().
|
private |
Definition at line 46 of file class.ilObjSAHSLearningModule.php.
Referenced by getMaxAttempt().
|
private |
Definition at line 47 of file class.ilObjSAHSLearningModule.php.
Referenced by getModuleVersion().
|
private |
Definition at line 68 of file class.ilObjSAHSLearningModule.php.
Referenced by getNameSetting().
|
private |
Definition at line 50 of file class.ilObjSAHSLearningModule.php.
Referenced by getNoMenu().
|
private |
Definition at line 55 of file class.ilObjSAHSLearningModule.php.
Referenced by getObjectives().
|
private |
Definition at line 63 of file class.ilObjSAHSLearningModule.php.
Referenced by getOpenMode().
|
protected |
Definition at line 82 of file class.ilObjSAHSLearningModule.php.
Referenced by getResource(), getRID(), moveDataDirectoryToContainer(), and setRID().
|
protected |
Definition at line 70 of file class.ilObjSAHSLearningModule.php.
Referenced by getSequencing().
|
private |
Definition at line 49 of file class.ilObjSAHSLearningModule.php.
Referenced by getSession().
|
private |
Definition at line 44 of file class.ilObjSAHSLearningModule.php.
Referenced by getStyleSheetId().
|
private |
Definition at line 69 of file class.ilObjSAHSLearningModule.php.
Referenced by adoptSettingsFrom(), and getSubType().
|
private |
Definition at line 57 of file class.ilObjSAHSLearningModule.php.
Referenced by getTime_from_lms().
|
protected |
Definition at line 76 of file class.ilObjSAHSLearningModule.php.
Referenced by getTries().
|
protected |
Definition at line 80 of file class.ilObjSAHSLearningModule.php.
|
private |
Definition at line 64 of file class.ilObjSAHSLearningModule.php.
Referenced by getViewButton(), and getWidth().