/** * Get tables by mode */ protected function getTableByMode() { $collection = $this->obj_lp->getCollectionInstance(); if ($collection && $collection->hasSelectableItems()) { include_once "Services/Tracking/classes/repository_statistics/class.ilLPCollectionSettingsTableGUI.php"; $table = new ilLPCollectionSettingsTableGUI($this, 'show', $this->getRefId(), $this->obj_lp->getCurrentMode()); $table->parse($collection); return $table->getHTML(); } }
/** * Get tables by mode */ protected function getTableByMode() { include_once './Services/Tracking/classes/class.ilLPCollectionSettingsTableGUI.php'; switch ($this->obj_settings->getMode()) { case LP_MODE_COLLECTION: case LP_MODE_MANUAL_BY_TUTOR: case LP_MODE_SCORM: $table = new ilLPCollectionSettingsTableGUI($this->getRefId(), $this, 'show'); $table->setMode($this->obj_settings->getMode()); $table->parse(); return $table->getHTML(); default: return ''; } }