Muskie9\PageProofer\Model\PageProoferCode
Class PageProoferCode
Synopsis
class PageProoferCode
extends DataObject
implements
PermissionProvider
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $defaults = ;
- private static array $summary_fields = ;
- private static array $index = ;
- private static string $table_name = 'PageProoferCode';
- // methods
- public FieldList getCMSFields()
- public ValidationResult validate()
- public bool getIsActiveCode()
- public static bool|PageProoferCode get_by_code()
- public static mixed get_page_proofer()
- public array providePermissions()
- public bool|int canCreate()
- public bool|int canEdit()
- public bool|int canDelete()
- public bool canView()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Implements
- SilverStripe\Security\PermissionProvider
Members
private
- $db — array
- $defaults — array
- $has_one — array
- $index — array
- $summary_fields — array
- $table_name — string
Methods
public
- canCreate()
- canDelete()
- canEdit()
- canView()
- getCMSFields()
- getIsActiveCode()
- get_by_code() — returns a PageProoferCode based on a given code
- get_page_proofer()
- providePermissions()
- validate()