Documentation

Delete

bool
CSaleLocationGroup::Delete(
  int ID
);

The method Delete deletes a location group. Locations of this group remain untouched.

Parameters

ParameterDescription
ID The location group ID.

Returned values

Returns true on success or false otherwise.

Example


<?
if (!CSaleLocationGroup::Delete(2))
   echo "Error deleting a location group";
?>
© «Bitrix24», 2001-2024
Up