Bitrix Site Manager

CForumPoints::GetLangByID

array
CForumPoints::GetLangByID(
 int POINTS_ID, 
 string strLang
);

The method GetLangByID returns an array of language parameters of the specified rating.

Parameters

ParameterDescription
POINTS_ID The ID of rating whose parameters are required.
strLang The ID of the language.

Return Values

Returns the associated array with the following keys.

Key Value
POINTS_ID The rating ID.
LID The ID of the language.
NAME Name of the rating in the language LID.

Example



<?
$ar_res = CForumPoints::GetLangByID(3, "en");
echo "Name of rating with ID=".$ar_res["POINTS_ID"]." in English is ".$ar_res["NAME"]."";
?>