Documentation

OnBlogDelete

bool
Handler function(
 int   ID
);

The event is called when blog is being deleted.

Function parameters

ParameterDescription
ID Deleted blog ID.

See Also

Example

<?
//  /bitrix/php_interface/init.php file 
// register the handler
AddEventHandler("blog", 
                "OnBlogDelete",
                Array("MyClass", "OnBlogDeleteHandler"));


class MyClass
{
    // create the event handler "OnBlogDelete"
    public static function OnBlogDeleteHandler($ID)
    {
	    ...
    }
}
?>


© «Bitrix24», 2001-2024
Up