API docs     >     Files     >     Filetypes

Filetypes->onPermissionsChange

Description

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

Parameters

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