Delete
CDBResult CTaskTags::Delete( array arFilter = array() );
This method deletes tags for task by the arFilter filter.
Method parameters
Parameter | Description |
---|---|
arFilter | Array of the array("filtered field"=>"filter value" [, ...]) type. Filtered field can have the following values:
"filter values" - single value or an array. |
Returned value
CDBResult object is returned.
Examples of use
<?
// Delete all tags for the task with ID = 28
if (CModule::IncludeModule("tasks") && $USER->IsAdmin())
{
$res = CTaskTags::Delete(
Array("TASK_ID" => "28")
);
}
?>
© «Bitrix24», 2001-2024