Bitrix Site Manager

CFormStatus::GetByID

CDBResult
CFormStatus::GetByID(
 int status_id
)

The method GetByID returns the parameters of a status as a CDBResult instance. 

Parameters

status_id The status ID.

See Also

Example



<?
$status_id = 1; // The status ID
$rsStatus = CFormStatus::GetByID($status_id);
$arStatus = $rsStatus->Fetch();
echo "<pre>"; print_r($arStatus); echo "</pre";
?>