OnBlogAdd
bool Handler function( int ID array &arParams );
Event is called when a blog is added.
Function parameters
Parameter | Description |
---|---|
ID | Added blog ID. |
arParams | Array of fields for blog. |
See Also
- "OnBeforeBlogAdd" event
- CBlog::Add
Example
<? // /bitrix/php_interface/init.php file // register the handler AddEventHandler("blog", "OnBlogAdd", Array("MyClass", "OnBlogAddHandler")); class MyClass { // create the "OnBlogAdd" event handler public static function OnBlogAddHandler($ID, &$arFields) { ... } } ?>
© «Bitrix24», 2001-2024