Documentation

Delete

bool
CBlogSitePath::Delete(
 int ID
);

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

Method parameters

ParameterDescription
ID Path ID.

Returned value

Method returns true when path is deleted successfully, otherwise returns false.

Examples of use

<?
$ID = 1;
if(!CBlogSitePath::Delete($ID))
{
    echo 'Error while deleting the path '.$ID;
}
else
    echo 'Path is deleted.';
?>


© «Bitrix24», 2001-2024
Up