API docs     >     Content Blocks     >     Entrymasks

Entrymasks->onPermissionChange

Description

onPermissionChange ( $usergroupId, $permission, $value, $objectId )
Callback method which is executed when a Usergroup permissions on an Entrymask changes

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
$objectId
int
Entrymask Id