Class EventDate
Extends Field, Implements PreviewableFieldInterface, SortableFieldInterface
Properties
allowNeverEnding
public bool $allowNeverEnding
allDay
Methods
displayName
public static displayName(): string
icon
public static icon(): string
dbType
public static dbType(): array
phpType
public static phpType(): string
getElementValidationRules
public getElementValidationRules(): array
serializeValue
public serializeValue(?EventDate $value, ?ElementInterface $element): mixed
queryCondition
public static queryCondition(array $instances, mixed $value, array& $params): array|string|ExpressionInterface|false|null
normalizeValue
public normalizeValue(mixed $value, ?ElementInterface $element): mixed
getSortOption
public getSortOption(): array
getPreviewHtml
public getPreviewHtml(mixed $value, ElementInterface $element): string
previewPlaceholderHtml
public previewPlaceholderHtml(mixed $value, ?ElementInterface $element): string
public getInputHtml(mixed $value, ?ElementInterface $element = null): string
getSettingsHtml
public getSettingsHtml(): string