Documentation

GetByID

[link=89808]CDBResult[/link]
CFormAnswer::GetByID(
 int answer_id
)

The method GetByID returns the answer parameters as the CDBResult class object.

Parameters

Parameter Description
answer_id The answer ID.

See Also

Examples of use

<?
$answer_id = 589; // answer ID
$rsAnswer = CFormAnswer::GetByID($answer_id);
$arAnswer = $rsAnswer->Fetch();
echo "<pre>"; print_r($arAnswer); echo "</pre";
?>


© «Bitrix24», 2001-2024