CCertification::GetByID
CDBResult CCertification::GetByID( int ID );
The GetByID method returns the ID certificate respecting the current user's access permissions.
Parameters
Parameter | Description |
---|---|
ID | The certificate ID. |
Return Values
The method returns an instance of the CDBResult object.
See Also
Example
<? if (CModule::IncludeModule("learning")) { $CERTIFICATE_ID = 13; $res = CCertification::GetByID($CERTIFICATE_ID); if ($arCertificate = $res->GetNext()) { echo "Course: ".$arCertificate["COURSE_NAME"]. " User: ".$arCertificate["USER_NAME"]. " Score: ".$arCertificate["SUMMARY"]; } } ?>
© «Bitrix24», 2001-2024