SilverStripe Search

DirtyClass extends DataObject
in package

Class \Firesphere\SolrSearch\Models\DirtyClass Keeping track of Dirty classes in Solr

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  : string

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

$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 string $table_name = 'Solr_DirtyClass'

Table name

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
bool

canDelete()

Nope, can't delete these

public canDelete([null|Member $member = null ]) : bool
Parameters
$member : null|Member = null
Return values
bool

canEdit()

Nope, can't edit these

public canEdit([null|Member $member = null ]) : bool
Parameters
$member : null|Member = null
Return values
bool

getCMSFields()

Make the CMS fields readable

public getCMSFields() : FieldList
Return values
FieldList

        
On this page

Search results