You are here

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

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

Check if the interaction has sub interactions with scoring.

1 call to H5PReportXAPIData::isCompound()
H5PReportXAPIData::saveXAPIData in ActivityTypes/opigno_h5p/src/H5PReportXAPIData.php
Recursive save of xAPI data.

File

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

Class

H5PReportXAPIData
Class H5PReportXAPIData.

Namespace

Drupal\opigno_h5p

Code

public function isCompound() {
  return $this
    ->getInteractionType() === 'compound';
}