Bitrix Site Manager

CStatEvent::Delete

bool
CStatEvent::Delete(
 int event_id
)

The method Delete deletes the specified event.

Parameters

Parameter Description
event_id The ID of the event to be deleted.

Return Values

Returns true on success, or false otherwise.

See Also

Example



<?
$event_id = 1;
if (CStatEvent::Delete($event_id)) 
    echo "Event #".$event_id." successfully deleted.";
?>