CGradeBook::GetByID
CDBResult CGradeBook::GetByID( int ID );
The GetByID method returns a specified grade book record. The current user access permissions are respected.
Parameters
Parameter | Description |
---|---|
ID | The ID of the required grade book record. |
Return Values
The method returns an instance of the CDBResult object.
See Also
Example
<? 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"]; } } ?>
© «Bitrix24», 2001-2024