Documentation

GetByID


CSite::GetByID(
 string id
)

The method returns the site information as an object of the CLangDBResult class. Static method.

Parameters

ParameterDescription
id Site ID.

See Also

Examples of use

<?
$rsSites = CSite::GetByID("ru");
$arSite = $rsSites->Fetch();
echo "<pre>"; print_r($arSite); echo "</pre>";
?>


© «Bitrix24», 2001-2024
Up