API docs     >     Pages and Sites     >     Templates

Templates->onPermissionsChange

Description

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

Parameters

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