You are here

public function H5PReportXAPIData::getInteractionType in Opigno module 3.x

Same name and namespace in other branches
  1. 8 ActivityTypes/opigno_h5p/src/H5PReportXAPIData.php \Drupal\opigno_h5p\H5PReportXAPIData::getInteractionType()

Get the type of interaction.

3 calls to H5PReportXAPIData::getInteractionType()
H5PReportXAPIData::getAdditionals in ActivityTypes/opigno_h5p/src/H5PReportXAPIData.php
Get additional data for some interaction types.
H5PReportXAPIData::isCompound in ActivityTypes/opigno_h5p/src/H5PReportXAPIData.php
Check if the interaction has sub interactions with scoring.
H5PReportXAPIData::validateData in ActivityTypes/opigno_h5p/src/H5PReportXAPIData.php
Checks if data is valid.

File

ActivityTypes/opigno_h5p/src/H5PReportXAPIData.php, line 159

Class

H5PReportXAPIData
Class H5PReportXAPIData.

Namespace

Drupal\opigno_h5p

Code

public function getInteractionType() {

  // Can be any string.
  return $this
    ->getObjectDefinition('interactionType');
}