CDBResult CGradeBook::GetByID( int ID );
The GetByID method returns a specified grade book record. The current user access permissions are respected.
Parameter | Description |
---|---|
ID | The ID of the required grade book record. |
The method returns an instance of the CDBResult object.
<? if (CModule::IncludeModule("learning")) { $RECORD_ID = 95; $res = CGradeBook::GetByID($RECORD_ID); if ($arGradeBook = $res->GetNext()) { echo "Test: ".$arGradeBook["TEST_NAME"]." User: ".$arGradeBook["USER_NAME"]." Score: ".$arGradeBook["RESULT"]; } } ?>
© 2001-2007 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |