Documentation

DeleteDocument

void
IBPWorkflowDocument::DeleteDocument(  mixed documentId
);

This method deletes the specified document.

Method parameters

ParameterDescription
documentIdDocument ID code

Examples

<?
public function DeleteDocument($documentId)
{
$documentId = intval($documentId);
if ($documentId <= 0)
throw new CBPArgumentNullException("documentId");

CIBlockElement::Delete($documentId);
}
?>


© «Bitrix24», 2001-2024
Up