Documentation

Delete

bool
CBlogImage::Delete(
 int ID
);

The method deletes image with the ID. Static method.

Method parameters

ParameterDescription
ID Image ID.

Returned value

The method returns true if the image was deleted successfully, otherwise returns false.

Examples of use

Delete image with identifier 13:

$res = CBlogImage::Delete(13);
if($res)
	echo 'Success';


© «Bitrix24», 2001-2024
Up