Documentation

Delete

CDBResult
CEventType::Delete(
 string EVENT_NAME
)

The method removes the mail event type. Returns a CDBResult object. Static method.

Parameters

ParameterDescription
EVENT_NAME Mail event type.

See Also

Examples of use

<?
$et = new CEventType;
$et->Delete("ADV_BANNER_STATUS_CHANGE");
?>

From version 6.0.3 onwards, the following array can be used:

CEventType::Delete(
 array (
  "ID" => 1,
  "LID"=> "en",
  "EVENT_NAME" => "EVENT_NAME",
  "NAME" => "NAME",
  "SORT" => 100500
)
);


© «Bitrix24», 2001-2024
Up