bool CStatEventType::Delete( int type_id )
The method Delete deletes the specified event type and all events of this type.
Parameter | Description |
---|---|
type_id | The event type ID. |
Returns true on success, or false otherwise.
<? $type_id = 1; if (CStatEventType::Delete($type_id)) echo "Event type #".$type_id." has been deleted."; ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |