bool CIBlock::Delete( int ID );
The method deletes an information block.
Parameter | Description |
---|---|
ID | Information block ID. |
<? if($USER->IsAdmin()) { $DB->StartTransaction(); if(!CIBlock::Delete($iblock_id)) { $strWarning .= GetMessage("IBLOCK_DELETE_ERROR"); $DB->Rollback(); } else $DB->Commit(); } ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |