array CTestResult::GetProgress( int ATTEMPT_ID );
The GetProgress method returns a number of answered questions and questions with no answers.
Parameter | Description |
---|---|
ATTEMPT_ID | The attempt ID. |
The method returns an associated array with the following keys:
<? if (CModule::IncludeModule("learning")) { $ATTEMPT_ID = 588; $arStat = CTestResult::GetProgress($ATTEMPT_ID); echo $arStat["TODO"]; echo $arStat["DONE"]; } ?>
© 2001-2007 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |