DeleteByTaskID
bool
CTaskReminders::DeleteByTaskID(
TASK_ID
);
This method deletes notifications for the task with TASK_ID identifier.
Note: This method accepts an array of configruation parameters and generates scripts, necessary to show file dialog. Static method.
Method parameters метода
Parameter | Description |
---|---|
TASK_ID | Task ID. |
Returned value
This method returns true when the association is deleted successfully, otherwise returns false.
Examples of use
<?
if (CModule::IncludeModule("tasks"))
{
$TASK_ID = 15;
if($USER->IsAdmin())
{
CTaskReminders::DeleteByTaskID($TASK_ID);
}
}
?>
© «Bitrix24», 2001-2024