Documentation

OnBlogUpdate

bool
Handler function(
 int   ID
 array &arParams 
);

The event is called when the blog is modified.

Function parameters

ParameterDescription
ID Modified blog ID.
arParams Array of fields of blog.

See Also

Example

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


class MyClass
{
    // create the event handler "OnBlogUpdate"
    public static function OnBlogUpdateHandler($ID, &$arFields)
    {
	    ...
    }
}
?>


© «Bitrix24», 2001-2024