FieldTrait
- Full name:
\EnvisionPortal\FieldTrait
Properties
field
private array $field
key
private string $key
Methods
__construct
public __construct(array $field, string $key): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$field | array | |
$key | string |
isRequired
public isRequired(): bool
getError
public getError(): array
getInputHtml
Returns the input so the user can enter a value.
public getInputHtml(): string
getOutputHtml
Returns the output. It’s the field’s value formatted acccording to its criteria.
public getOutputHtml(): string
setOptions
private setOptions(): void
Automatically generated on 2024-05-12