Skip to content
Corex

DataField

Corex\Data\DataField · class · Core layer

__construct(string $key, string $label, string $type, bool $required, bool $nullable, bool $readOnly, array $filterOperators, bool $sortable, string $personalDataClass, array $validation, array $importAliases)

Section titled “__construct(string $key, string $label, string $type, bool $required, bool $nullable, bool $readOnly, array $filterOperators, bool $sortable, string $personalDataClass, array $validation, array $importAliases)”

isDeclarablePersonalClass(string $class): bool

Section titled “isDeclarablePersonalClass(string $class): bool”

Whether a model may declare a field to be of this class.

Whether the field is asked about and guarded: every class but “none”, undeclared among them.