Documentation

GetByID

CDBResult
CRatings::GetByID(
 int ID
);

The method returns rating parameters with the ID as an CDBResult object class. Non-static method.

Method parameters

Parameter Description
id Rating ID

See Also

Examples of use

<?
$ID = 4;
$rsRating = CRatings::GetByID($ID);
$arRating = $rsRating->Fetch();
echo "<pre>"; print_r($arRating); echo "</pre>";
?>


© «Bitrix24», 2001-2024
Up