user_defined_handler( int ID );
Called when an information block element is deleted.
Parameter | Description |
---|---|
ID | Information block element ID. |
<? // Connect the handler RegisterModuleDependences("iblock", "OnIBlockElementDelete", "catalog", "CCatalogProduct", "OnIBlockElementDelete"); // Implement the handler class CCatalogProduct { * * * function OnIBlockElementDelete($PRODUCT_ID) { // Now the handler is called upon deletion global $DB; echo "Deleting..."; return True; } } ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |