Documentation

delete

void
public function delete();

The method deletes record on the elapsed time.

Examples of use

$taskId = ...;
$itemId = ...;
$oTask = CTaskItem::getInstance($taskId, $USER->getId());
$oElapsedItem = new CTaskElapsedItem($oTask, $itemId);
$oElapsedItem->delete();


© «Bitrix24», 2001-2024