DeleteByUserID
bool
CTaskTags::DeleteByUserID(
USER_ID
);
The method deletes tags for user with USER_ID identifier.
Method parameters
Parameter | Description |
---|---|
USER_ID | User ID. |
Returned value
The method returns true when an association is deleted successfully. Otherwise, returns false.
Examples of use
<?
if (CModule::IncludeModule("tasks"))
{
$USER_ID = 4;
if($USER->IsAdmin())
{
CTaskTags::DeleteByUserID($USER_ID);
}
}
?>
© «Bitrix24», 2001-2024