Documentation

DeleteByDate

bool
CTaskReminders::DeleteByDate(
 REMIND_DATE
);

This method deletes notifications with REMIND_DATE date.

Note: This method accepts an array of configuration parameters and generates scripts, necessary to show file dialog. Static method.

Method parameters

Parameter Description
 REMIND_DATE Date of reminder.

Returned value

The method returns true if an association is deleted successfully; otherwise returns false

Examples of use

<?
if (CModule::IncludeModule("tasks"))
{

$REMIND_DATE = "2011-11-01";

if($USER->IsAdmin())
{
CTaskReminders::DeleteByDate($REMIND_DATE);
}

}
?>


© «Bitrix24», 2001-2024