Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description: Call the LMSCommit function

LMSFinish()

Inputs: None
Returns: CMIBoolean true if successful
               CMIBoolean false if failed.

Description:
Close communication with LMS by calling the LMSFinish function which will be implemented by the LMS

LMSGetLastError()

Inputs: None
Returns: The error code that was set by the last LMS function call

...

Description:
Call the LMSGetDiagnostic function

LMSGetValue(name)

Inputs: name - string representing the cmi data model defined category or element (e.g. cmi.core.student_id)
Returns: The value presently assigned by the LMS to the cmi data model element defined by the element or category identified by the name input value.

Description:
Wraps the call to the LMS LMSGetValue method

LMSInitialize()

Inputs: None
Returns: CMIBoolean true if the initialization was successful, or
                CMIBoolean false if the initialization failed.

Description:
Initialize communication with LMS by calling the LMSInitialize function which will be implemented by the LMS. This function also gets the SCO id by grabbing the last token of the path in the iframe and adds it to the SCOIDMapping object.

LMSFinish()

Inputs: None
Returns: CMIBoolean true if successful
               CMIBoolean false if failed.

Description:
Close communication with LMS by calling the LMSFinish function which will be implemented by the LMS

LMSGetValue(name)

Inputs: name - string representing the cmi data model defined category or element (e.g. cmi.core.student_id)
Returns: The value presently assigned by the LMS to the cmi data model element defined by the element or category identified by the name input value.Description:
Wraps the call to the LMS LMSGetValue method

LMSSetValue(cmiElementName, value)

...