AddTags
void CTasks::AddTags( ID, USER_ID, array arTags );
This method adds tags to a task.
Method parameters
Parameter | Description |
---|---|
ID | ID of the task, to which the tags are added |
USER_ID | ID of the user, who added the tags |
arTags | Array of task IDs |
Returned value
Method does not have a returned value.
Examples of use
<?
if (CModule::IncludeModule("tasks"))
{
$ID = 1;
$USER_ID = 1; $arTags = array("javascript", "php", "css");
CTasks::AddTags($ID, $USER_ID, $arTags);
}
?>
© «Bitrix24», 2001-2024