API docs     >     Files     >     Views

Views->onPermissionsChange

Description

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

Parameters

$usergroupId
int
$permissions
array
Permission (RREAD, RWRITE, RDELETE, RSUB, RSTAGE, RMODERATE, RCOMMENT, RSEND)
$objectId
int
File Id