# Class: SCORMAdapter1_2

## adapters SCORMAdapter1_2

Implementation of SCORM 1.2 adapte.

#### new SCORMAdapter1_2()

  Implementation of SCORM 1.2 adapter.

### Extends

- adapters.SCORMAdapter

### Methods

#### connect()

  Init function of adpater that connects adapter to API, if not connected. Sets values from SCORM server and inits objectives.
  Inherited From:
    - adapters.SCORMAdapter#connect

#### disconnect()

  Disconnect adapter from server, if connected
  Inherited From:
    - adapters.SCORMAdapter#disconnect

#### getProperty(id)

  Get course property for current course

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | string | key of property

  Inherited From:
    - adapters.SCORMAdapter#getProperty

  ##### Returns:

  proeprty value or null
  Type
    string | null

#### initObjectives(objectives)

  Register objectives on server if there are none

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `objectives` | array | objectives list

  Inherited From:
    - adapters.SCORMAdapter#initObjectives

#### saveProperty(id, proeprty)

  Set course property for current course and commit to server

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | string | key of property
  `proeprty` | string | value

  Inherited From:
    - adapters.SCORMAdapter#saveProperty

  ##### Returns:

  success
  Type
    boolean

#### Search results