Documentation

Delete

mixed
CSite::Delete(
 string id
)

The method deletes a site. The function returns an object of CDBResult on success, or false otherwise. Static method.

Parameters

ParameterDescription
id Delete site ID.

See Also

Examples of use

<?
if (CSite::Delete("ru")===false) 
  echo "The site cannot be deleted as bound records are found.";
?>


© «Bitrix24», 2001-2022
Up