g
Frontend | Backend | Api

Users\Models\Backend\PrivilegeTarget

PrivilegeTarget

Method Description Returns
hasPermissions() Check if the PrivilegeTarget has any assigned permissions bool
getId() int
getModule() string
getEntity() string
getRecordId() int
getDefaultMode() int
getUserPrivileges() Collection (UserPrivilege)
getGroupPrivileges() Collection (GroupPrivilege)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool