Broarm\EventTickets\Model\UserFields\UserDateField
Class UserTextField
- Author: Bram de Leeuw
Synopsis
class UserDateField
extends UserField
{
- // members
- private static string $table_name = 'EventTickets_UserDateField';
- protected DateField $fieldType = DateField::class;
- private static array $db = ;
- // Inherited members from UserField
- protected FormField $fieldType;
- protected $fieldName;
- // methods
- public void getType()
- public void getCMSFields()
- public DateField createField()
- // Inherited methods from UserField
- public void getType()
- public void getCMSFields()
- public void onBeforeWrite()
- public FormField getFieldType()
- public mixed getRequiredNice()
- public mixed|string getValue()
- public static UserField|DataObject createDefaultField()
- public FormField createField()
- public string singular_name()
- public void canDelete()
- public static void availableFields()
Hierarchy
Tasks
Line | Task |
---|---|
60 | set min max |
Members
private
- $db
- $table_name
protected
- $fieldName
—
string
Field name to be used in the AttendeeField (Composite field) - $fieldType — SilverStripe\Forms\DateField
- $fieldType — SilverStripe\Forms\FormField
Methods
public
- createField() — Create a default text field
- getCMSFields()
- getType()
Inherited from Broarm\EventTickets\Model\UserFields\UserField
public
- availableFields()
- canDelete()
- createDefaultField() — Create a field from given configuration These fields are created based on the set default fields @see Attendee::$default_fields
- createField() — Create the actual field Overwrite this on the field subclass
- getCMSFields()
- getFieldType() — Get the filed type
- getRequiredNice() — Show if the field is required in a nice format
- getType()
- getValue() — Get the value
- onBeforeWrite()
- singular_name() — Returns the singular name without the namespaces