Documentation

AddAccomplices

void
CTasks::AddAccomplices(
 ID,
 array arAccomplices
);

This method adds participants to a task.

Method parameters

Parameter Description
ID ID of the task, to which the participants are added
arAccomplices Array of participant IDs

Returned value

Method does not have a returned value. 

Examples of use

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

$ID = 1;
$arAccomplices = array(102, 34, 5);

CTasks::AddAccomplices($ID, $arAccomplices);
}
?>


© «Bitrix24», 2001-2024
Up