Axllent\EnquiryPage\Model\EnquiryFormField
Synopsis
class EnquiryFormField
extends DataObject
{
- // members
- private static string $table_name = 'EnquiryFormField';
- private static array $default_sort = ;
- private static array $db = ;
- private static array $field_types = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static array $field_labels = ;
- // methods
- public FieldList getCMSFields()
- public string getType()
- public mixed getRequired()
- public string formFieldName()
- public ValidationResult validate()
- public void onBeforeWrite()
- public string getTitle()
- public boolean canView()
- public boolean canEdit()
- public boolean canCreate()
- public boolean canDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
—
array
Database field definitions. - $default_sort
—
array
The default sort. - $field_labels
—
string
Field labels - $field_types
—
array
Field types - $has_one
—
array
One-to-zero relationship defintions. - $summary_fields
—
string
Provides a default list of fields to be used by a 'summary' view of this object. - $table_name
—
string
Table name
Methods
public
- canCreate() — Permissions canCreate
- canDelete() — Permissions canDelete
- canEdit() — Permissions canEdit
- canView() — Permissions canView
- formFieldName() — Generate a unique form field name
- getCMSFields() — Data administration interface in Silverstripe.
- getRequired() — Get required
- getTitle() — Get title
- getType() — Get type
- onBeforeWrite() — Event handler called before writing to the database.
- validate() — Validate the current object.