Documentation

DeleteByName

bool
CTaskTags::DeleteByName(
 NAME
);

This method deletes tags with NAME name.

Method parameters

Parameter Description
NAME Tag name.

Returned value

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

Examples of use

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

$NAME = "task 2.0";

if($USER->IsAdmin())
{
CTaskTags::DeleteByName($NAME);
}

}
?>


© «Bitrix24», 2001-2024
Up