Bitrix Site Manager

CEventType::GetByID

CDBResult
CEventType::GetByID(
 string type_id,
 string site_id
)

The method GetByID returns the mail event type by its ID as the CDBResult instance.

Parameters

ParameterDescription
type_id The mail event type ID.
site_id The site ID.

See Also

Example



<?
$rsET = CEventType::GetByID("ADV_BANNER_STATUS_CHANGE", "ru");
$arET = $rsET->Fetch();
?>