API docs     >     Mailings     >     Mailing

Mailing->onPermissionChange

Description

onPermissionChange ( $usergroupId, $permission, $value )
Callback method which is executed when Usergroup permissions on this Mailing change

Parameters

$usergroupId
int
$permission
string
Permission (RREAD, RWRITE, RDELETE, RSUB, RSTAGE, RMODERATE, RCOMMENT, RSEND)
$value
bool
TRUE when the permission is granted, FALSE when it is removed