\SimplifyPermission
SimplifyDataObjectDecorator Creates a Simplify specific permission - used to hide Pages, Tabs and Fields
Synopsis
class SimplifyPermission
extends DataObject
{
- // methods
- public static DataObjectSet getPermissionsByPage()
- public static boolean check()
- public static SimplifyPermission checkField()
Hierarchy
Extends
- DataObject
Members
public
- $db
- $has_one
Methods
public
- check() — Use the core Permission check method to see if the given Simplify Permission is set
- checkField() — Check to see if the given group has a specific page/field hide permission
- getPermissionsByPage() — Get all SimplifyPermissions that refer to the $page DAO class