bool CGradeBook::Delete( int ID );
The Delete method removes a record identified by the ID from the grade book.
Parameter | Description |
---|---|
ID | The record ID. |
The method returns true on success, or false otherwise.
<? 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(); } ?>
© 2001-2007 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |