Documentation

AddPrevious

void
CTasks::AddPrevious(
 ID,
 array arPrevious
);

This method adds previous tasks.

Method parameters

Parameter Description
ID ID of the task to which the previous tasks are added
arPrevious Array of task IDs

Returned value

Method does not have a returned value. 

Examples of use

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

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

CTasks::AddPrevious($ID, $arPrevious);
}
?>


© «Bitrix24», 2001-2024