bool CSaleLocation::Delete( int ID );
The method Delete deletes the existing location. The method also deletes the location city, the location country (if the latter is not a member of any other location). All links of the deleted location to location groups and delivery services are also deleted.
|ID||The ID of the location to be deleted.|
Returns true on success, or false otherwise.
<? if (!CSaleLocation::Delete(12)) echo "Error deleting location"; ?>
|© 2001-2005 Bitrix||Bitrix Site Manager|