API docs     >     Files     >     FileMgr

FileMgr->onPermissionsChange

Description

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

Parameters

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