Documentation

GetByID

CDBResult
CLanguage::GetByID(
 string id
)

The method returns language by its ID as an object of CDBResult class. Non-static method.

Parameters

ParameterDescription
id Double-character language ID.

See Also

Examples of use

<?
$rsLang = CLanguage::GetByID("en");
$arLang = $rsLang->Fetch();
echo "<pre>"; print_r($arLang); echo "</pre>";
?>


© «Bitrix24», 2001-2022
Up