Documentation

DeleteByTaskID

bool
CTaskTags::DeleteByTaskID(
 TASK_ID
);

This method deletes tags for a task with the TASK_ID identifier.

Method parameters

Parameter Description
TASK_IDTask ID.

Returned value

The method returns true when an association is successfully deleted. Otherwise, returns false

Examples of use

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

$TASK_ID = 15;

if($USER->IsAdmin())
{
CTaskTags::DeleteByTaskID($TASK_ID);
}

}
?>


© «Bitrix24», 2001-2024
Up