\SchemaPlace
Description
Synopsis
class SchemaPlace
extends SchemaThing
{
- // members
- private static string $singular_name = 'Place';
- private static string $plural_name = 'Places';
- private static string $schema_type = 'Place';
- private static array $db = ;
- private static array $many_many = ;
- // methods
- public FieldList getCMSFields()
- public array buildSchemaArray()
- // Inherited methods from SchemaThing
- 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 - $many_many
—
array
Many_many relationship - $plural_name
—
string
Plural name for CMS - $schema_type
—
string
Defines the current schema type - $singular_name
—
string
Singular name for CMS
Methods
public
- buildSchemaArray() — Builds array ready to be converted into json schema
- getCMSFields() — CMS Fields
Inherited from SchemaThing
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