Bitrix Site Manager

CEventMessage::GetByID

CDBResult
CEventMessage::GetByID(
 int id
)

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

Parameters

ParameterDescription
id the template ID

See Also

Example



<?
$rsEM = CEventMessage::GetByID($ID);
$arEM = $rsEM->Fetch();
echo "<pre>"; print_r($arEM); echo "</pre>";
?>