Documentation

Delete

bool
CBlogCandidate::Delete(
 int ID
);

The method deletes a record with the ID from the list of candidates who wish to join the blog friends. Non-static method.

Method parameters

ParameterDescription
ID Record ID.

Returned value

The method returns true if the record was deleted successfully, otherwise returns false.

Examples of use

<?

if(!CBlogCandidate::Delete($ID))
{
    echo 'Error while deleting the record!';
}
else
{
    echo 'User is deleted from the list of candidates who want to join the community.';
}
?>


© «Bitrix24», 2001-2024
Up