Documentation

GetByID

CDBResult
CTaskElapsedTime::GetByID(
  ID
);

Returns fields with elapsed time for the record by its ID.

Method parameters

Parameter Description
ID Record ID.

Returned value

CDBResult object is returned.

See also

  • CDBResult

Examples of use

<?
if (CModule::IncludeModule("tasks")) { $rsElapsedTime = CTaskElapsedTime::GetByID(18); if ($arElapsedTime = $rsElapsedTime->GetNext()) { echo $arElapsedTime["MINUTES"]; } } ?>


© «Bitrix24», 2001-2024