Documentation

OnAfterGroupUpdate

void
EventHandler(
 int ID,
 array &arFields
);

The event OnAfterGroupUpdate fires in the method CGroup::Update after the group fields are updated. It can be used for additional actions, related with the group.

Method parameters

Parameter Description
IDUpdated user group ID.
arFields List of (CGroup class) fields for updated user group.

Returned value

Not used.

See Also

Examples of use

<?
AddEventHandler("main", "OnAfterGroupUpdate", "MyOnAfterGroupUpdate");
function MyOnAfterGroupUpdate($ID, &$arFields)
{
if($ID == 1)
AddMessage2Log(print_r($arFields, true));
}
?>


© «Bitrix24», 2001-2022
Up