\SchemaOpeningHours
Description
Synopsis
class SchemaOpeningHours
extends SchemaObject
{
- // members
- private static string $singular_name = 'Open hours';
- private static string $plural_name = 'Open hours';
- private static string $schema_type = 'OpeningHoursSpecification';
- private static array $db = ;
- private static array $summary_fields = ;
- // methods
- public FieldList getCMSFields()
- public array buildSchemaArray()
- // Inherited methods from SchemaObject
- public FieldList getCMSFields()
- public string getTitle()
- public array buildSchemaArray()
- public boolean canCreate()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canView()
Hierarchy
Extends
Members
private
- $db
—
array
Database fields - $plural_name
—
string
Plural name for CMS - $schema_type
—
string
Defines the current schema type - $singular_name
—
string
Singular name for CMS - $summary_fields
—
array
Defines summary fields commonly used in table columns as a quick overview of the data for this dataobject
Methods
public
- buildSchemaArray() — Builds array ready to be converted into json schema
- getCMSFields() — CMS Fields
Inherited from SchemaObject
public
- buildSchemaArray() — Builds array ready to be converted into json schema
- canCreate() — Creating Permissions
- canDelete() — Deleting Permissions
- canEdit() — Editing Permissions
- canView() — Viewing Permissions
- getCMSFields() — CMS Fields
- getTitle() — CMS Title