Documentation

GetByID

array
CBlogUserGroup::GetByID(
 int ID
);

The method returns parameters for blog user group with the ID. Non-static method.

Method parameters

ParameterDescription
ID Blog user group ID.

Returned value

Array with the fields for blog user group is returned.

Note

This method uses built-in caching. As a result, when the method is used multiple times on the page, the database request will be performed only once.

See Also

Examples of use

<?
$ID = 3;
$arUserGroup = CBlogUserGroup::GetByID($ID);
if(is_array($arUserGroup))
    print_r($arUserGroup);
else
    echo "User group not found.";
?>


© «Bitrix24», 2001-2024
Up