CDBResult CStudent::GetByID( int USER_ID );
The GetByID method returns a student account of a specified user.
| Parameter | Description |
|---|---|
| USER_ID | The user ID. |
The method returns an instance of the CDBResult object.
<?
if (CModule::IncludeModule("learning"))
{
$USER_ID = 3;
$res = CStudent::GetByID($USER_ID);
if ($arStudent = $res->GetNext())
{
echo "CP: ".$arStudent["RESUME"];
}
}
?>| © 2001-2007 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |