DirtyClass
extends DataObject
in package
Class \Firesphere\SearchBackend\Models\DirtyClass
Table of Contents
Properties
- $Class : string
- $IDs : string
- $Type : string
- $db : array<string|int, mixed>
- $plural_name : string
- $singular_name : string
- $summary_fields : array<string|int, mixed>
- $table_name : mixed
Methods
- canCreate() : bool
- Nope, can't create these
- canDelete() : bool
- Nope, can't delete these
- canEdit() : bool
- Nope, can't edit these
- getCMSFields() : FieldList
- Make the CMS fields readable
Properties
$Class
public
string
$Class
$IDs
public
string
$IDs
$Type
public
string
$Type
$db
private
static array<string|int, mixed>
$db
= ['Type' => 'Varchar(6)', 'Class' => 'Varchar(512)', 'IDs' => 'Varchar(255)']
Database fields
$plural_name
private
static string
$plural_name
= 'Dirty classes'
Plural name
$singular_name
private
static string
$singular_name
= 'Dirty class'
Singular name
$summary_fields
private
static array<string|int, mixed>
$summary_fields
= ['Class', 'Type', 'IDs']
Summary fields in CMS
$table_name
private
static mixed
$table_name
= 'DirtyClass'
Methods
canCreate()
Nope, can't create these
public
canCreate([null|Member $member = null ][, array<string|int, mixed> $context = [] ]) : bool
Parameters
- $member : null|Member = null
- $context : array<string|int, mixed> = []
Return values
boolcanDelete()
Nope, can't delete these
public
canDelete([null|Member $member = null ]) : bool
Parameters
- $member : null|Member = null
Return values
boolcanEdit()
Nope, can't edit these
public
canEdit([null|Member $member = null ]) : bool
Parameters
- $member : null|Member = null
Return values
boolgetCMSFields()
Make the CMS fields readable
public
getCMSFields() : FieldList