bool CTestResult::Delete( int ID );
The Delete method deletes an examination question identified by the ID.
| Parameter | Description |
|---|---|
| ID | The examination question ID. |
The method returns true on success, or false otherwise.
<?
if (CModule::IncludeModule("learning"))
{
$TEST_RESULT_ID = 2967;
@set_time_limit(0);
$DB->StartTransaction();
if (!CTestResult::Delete($TEST_RESULT_ID))
{
echo "Error!";
$DB->Rollback();
}
else
$DB->Commit();
}
?>| © 2001-2007 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |