Documentation

Delete

bool
CRatings::Delete(
 int id
);

The method deletes rating with the ID. Non-static method.

Method parameters

Parameter Description
id Rating ID

Example of use

<?
// delete a rating
$ID = 1;
$result = CRatings::Delete($ID);
if ($result)
    echo "Rating is deleted successfully.";
?>


© «Bitrix24», 2001-2024
Up