DeleteDocument
void
IBPWorkflowDocument::DeleteDocument( mixed documentId
);
This method deletes the specified document.
Method parameters
Parameter | Description |
---|---|
documentId | Document ID code |
Examples
<?
public function DeleteDocument($documentId)
{
$documentId = intval($documentId);
if ($documentId <= 0)
throw new CBPArgumentNullException("documentId");
CIBlockElement::Delete($documentId);
}
?>
© «Bitrix24», 2001-2024