bool CIBlockElement::Delete( int ID );
The method deletes an element from the information block.
Parameter | Description |
---|---|
ID | Element ID. |
<? if(CIBlock::GetPermission($IBLOCK_ID)>='W') { $DB->StartTransaction(); if(!CIBlockElement::Delete($ELEMENT_ID)) { $strWarning .= 'Error!'; $DB->Rollback(); } else $DB->Commit(); } ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |