UnRegisterModuleDependences( string from_module_id, string event_id, string to_module_id, string to_class = "", string to_method = "" )
The function UnRegisterModuleDependences unregisters an event handler.
| Parameter | Description |
|---|---|
| from_module_id | The ID of the module whose events are processed. |
| event_id | The event ID. |
| to_module_id | The ID of the module containing an event handler. |
| to_class | Name of a class from the module, whose method is the event handler. Optional. The default value is "". |
| to_method | Method of a class to_class which is the event handler itself. Optional. The default value is "". |
<?
UnRegisterModuleDependences("main",
"OnUserDelete",
"forum",
"CForum",
"OnUserDelete");
?>
| © 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |