\Hubleto\Framework\Description\Input
| Implements | `JsonSerializable` |
Properties
☍ type
protected string $type
☍ title
protected string $title
☍ readonly
protected bool $readonly
☍ required
protected bool $required
☍ placeholder
protected string $placeholder
☍ decimals
protected int $decimals
☍ step
protected float $step
☍ icon
protected string $icon
☍ unit
protected string $unit
☍ format
protected string $format
☍ description
protected string $description
☍ reactComponent
protected string $reactComponent
☍ lookupModel
protected string $lookupModel
☍ inputProps
protected array $inputProps
☍ examples
protected array $examples
☍ enumValues
protected array $enumValues
☍ enumCssClasses
protected array $enumCssClasses
☍ predefinedValues
protected array $predefinedValues
☍ defaultValue
protected mixed $defaultValue
☍ cssClass
protected string $cssClass
☍ endpoint
protected string $endpoint
☍ creatable
protected bool $creatable
☍ properties
protected array $properties
Methods
ƒ getProperty
public getProperty(string $pName): mixed
Parameters
| Parameter |
Type |
Description |
$pName |
string |
|
ƒ setProperty
public setProperty(string $pName, mixed $pValue): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$pName |
string |
|
$pValue |
mixed |
|
ƒ getType
public getType(): string
ƒ setType
public setType(string $type): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$type |
string |
|
ƒ getTitle
public getTitle(): string
ƒ setTitle
public setTitle(string $title): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$title |
string |
|
ƒ getReactComponent
public getReactComponent(): string
ƒ setReactComponent
public setReactComponent(string $reactComponent): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$reactComponent |
string |
|
ƒ getReadonly
public getReadonly(): bool
ƒ setReadonly
public setReadonly(bool $readonly = true): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$readonly |
bool |
|
ƒ getRequired
public getRequired(): bool
ƒ setRequired
public setRequired(bool $required = true): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$required |
bool |
|
ƒ getPlaceholder
public getPlaceholder(): bool
ƒ setPlaceholder
public setPlaceholder(bool $placeholder = true): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$placeholder |
bool |
|
ƒ getDecimals
public getDecimals(): int
ƒ setDecimals
public setDecimals(int $decimals): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$decimals |
int |
|
ƒ getStep
public getStep(): float
ƒ setStep
public setStep(float $step): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$step |
float |
|
ƒ getIcon
public getIcon(): string
ƒ setIcon
public setIcon(string $icon): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$icon |
string |
|
ƒ getUnit
public getUnit(): string
ƒ setUnit
public setUnit(string $unit): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$unit |
string |
|
ƒ getFormat
public getFormat(): bool
ƒ setFormat
public setFormat(bool $format = true): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$format |
bool |
|
ƒ getDescription
public getDescription(): string
ƒ setDescription
public setDescription(string $description): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$description |
string |
|
ƒ getLookupModel
public getLookupModel(): string
ƒ setLookupModel
public setLookupModel(string $lookupModel): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$lookupModel |
string |
|
ƒ getInputProps
public getInputProps(): array
ƒ setInputProps
public setInputProps(array $inputProps): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$inputProps |
array |
|
ƒ getExamples
public getExamples(): array
ƒ setExamples
public setExamples(array $examples): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$examples |
array |
|
ƒ getEnumValues
public getEnumValues(): array
ƒ setEnumValues
public setEnumValues(array $enumValues): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$enumValues |
array |
|
ƒ getEnumCssClasses
public getEnumCssClasses(): array
ƒ setEnumCssClasses
public setEnumCssClasses(array $enumCssClasses): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$enumCssClasses |
array |
|
ƒ getPredefinedValues
public getPredefinedValues(): array
ƒ setPredefinedValues
public setPredefinedValues(array $predefinedValues): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$predefinedValues |
array |
|
ƒ getDefaultValue
public getDefaultValue(): mixed
ƒ setDefaultValue
public setDefaultValue(mixed $defaultValue): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$defaultValue |
mixed |
|
ƒ getCssClass
public getCssClass(): string
ƒ setCssClass
public setCssClass(string $cssClass): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$cssClass |
string |
|
ƒ getEndpoint
public getEndpoint(): string
ƒ setEndpoint
public setEndpoint(string $endpoint): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$endpoint |
string |
|
ƒ getCreatable
public getCreatable(): bool
ƒ setCreatable
public setCreatable(bool $creatable = true): \Hubleto\Framework\Description\Input
Parameters
| Parameter |
Type |
Description |
$creatable |
bool |
|
ƒ jsonSerialize
public jsonSerialize(): array
ƒ toArray
public toArray(): array