コード例 #1
0
ファイル: class.ilObjTest.php プロジェクト: bheyser/qplskl
 /**
  * Returns true, if a test is complete for use and can be set online
  * 
  * @param ilTestQuestionSetConfig $testQuestionSetConfig
  * @return boolean
  */
 public final function isComplete(ilTestQuestionSetConfig $testQuestionSetConfig)
 {
     if (!count($this->mark_schema->mark_steps)) {
         return false;
     }
     if (!$testQuestionSetConfig->isQuestionSetConfigured()) {
         return false;
     }
     return true;
 }