Documentation

CForumPoints::GetByID

array
CForumPoints::GetByID(
 int ID
);

The method GetByID returns an array containing parameters of the specified rating.

Parameters

ParameterDescription
$ID The ID of rating whose parameters are required.

Return Values

Array of rating parameters on success. For a complete list of fields, see Forum fields.

Example



<?

$ar_res = CForumPoints::GetByID(3);
echo "A user with this rating can give ".$ar_res["VOTES"]." vote(s)";
?>
© «Bitrix24», 2001-2024