new SCORMAdapter1_2()
Implementation of SCORM 1.2 adapter.
Extends
Methods
-
connect()
-
Init function of adpater that connects adapter to API, if not connected. Sets values from SCORM server and inits objectives.
- Inherited From:
-
disconnect()
-
Disconnect adapter from server, if connected
- Inherited From:
-
getProperty(id)
-
Get course property for current course
Parameters:
Name Type Description idstring key of property - Inherited From:
Returns:
proeprty value or null- Type
- string | null
-
initObjectives(objectives)
-
Register objectives on server if there are none
Parameters:
Name Type Description objectivesarray objectives list - Inherited From:
-
saveProperty(id, proeprty)
-
Set course property for current course and commit to server
Parameters:
Name Type Description idstring key of property proeprtystring value - Inherited From:
Returns:
success- Type
- boolean