CTestResult::Delete
bool CTestResult::Delete( int ID );
The Delete method deletes an examination question identified by the ID.
Parameters
Parameter | Description |
---|---|
ID | The examination question ID. |
Return Values
The method returns true on success, or false otherwise.
Example
<? 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(); } ?>
© «Bitrix24», 2001-2024