CStudent::GetByID
CDBResult CStudent::GetByID( int USER_ID );
The GetByID method returns a student account of a specified user.
Parameters
Parameter | Description |
---|---|
USER_ID | The user ID. |
Return Values
The method returns an instance of the CDBResult object.
See Also
Example
<? if (CModule::IncludeModule("learning")) { $USER_ID = 3; $res = CStudent::GetByID($USER_ID); if ($arStudent = $res->GetNext()) { echo "CP: ".$arStudent["RESUME"]; } } ?>
© «Bitrix24», 2001-2024