CGradeBook::Delete
bool CGradeBook::Delete( int ID );
The Delete method removes a record identified by the ID from the grade book.
Parameters
Parameter | Description |
---|---|
ID | The record ID. |
Return Values
The method returns true on success, or false otherwise.
Example
<? if (CModule::IncludeModule("learning")) { $RECORD_ID = 96; @set_time_limit(0); $DB->StartTransaction(); if (!CGradeBook::Delete($RECORD_ID)) { echo "Error!"; $DB->Rollback(); } else $DB->Commit(); } ?>
© «Bitrix24», 2001-2024