Documentation

AddAuditors

void
CTasks::AddAuditors(
 ID,
 array arAuditors
);

This method adds observers to a task.

Method parameters

Parameter Description
ID ID of the task to which observing users are added
arAuditors Array of observer IDs

Returned value

Method does not have a returned value. 

Examples of use

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

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

CTasks::AddAuditors($ID, $arAuditors);
}
?>


© «Bitrix24», 2001-2024
Up