File/templates/goc/delete.php

Description

This file contains functions that are used for deleting a ROC, country or site. For a site, the related contacts, downtimes etc.

that are related to this site are deleted as well. For a country, the sites that are related to it are deleted as well. Similarly, all the countries that are related to a ROC are deleted as well, when the ROC is deleted.

Functions
del_countries (line 61)

Delete all the countries in the list, and all the sites related to them.

$country_list is a comma-separated list of country_id-s.

void del_countries (mixed $country_list)
del_rocs (line 81)

Delete all the ROCs in the list and all the countries related to them.

$roc_list is a comma-separated list of ROC_id-s.

void del_rocs (mixed $roc_list)
del_sites (line 38)

$site_list is a comma-separated list of site ids. All the sites in the list are deleted. For each of the sites in the list, the related contacts, downtimes etc. that are related to this site are deleted as well.

void del_sites (mixed $site_list)

Documentation generated on Fri, 20 Jan 2006 10:34:38 +0100 by phpDocumentor 1.3.0RC3