API docs     >     Pages and Sites     >     PageMgr

PageMgr->onPermissionsChange

Description

onPermissionsChange ( $usergroupId, $permissions, $value )
Callback method which is executed when Usergroup permissions on a Page change

Parameters

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