Copied!

CreateUserGroupEvent

CreateUserGroupEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CreateUserGroupEvent.php : 26
public __construct(UserGroup $userGroup, UserGroupCreateStruct $userGroupCreateStruct, UserGroup $parentGroup)

Parameters

Name Type Default value Description
$userGroup UserGroup - -
$userGroupCreateStruct UserGroupCreateStruct - -
$parentGroup UserGroup - -

publicgetParentGroup()

CreateUserGroupEvent.php : 41
public getParentGroup() : UserGroup

Return values

UserGroup

publicgetUserGroup()

CreateUserGroupEvent.php : 46
public getUserGroup() : UserGroup

Return values

UserGroup

publicgetUserGroupCreateStruct()

CreateUserGroupEvent.php : 36
public getUserGroupCreateStruct() : UserGroupCreateStruct

Return values

UserGroupCreateStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().