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.

Return

Not used.

See Also

Example

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


© «Bitrix24», 2001-2024
Up