\Hubleto\Framework\Description\Input
| Implements | `JsonSerializable` |
Properties
### ☍ type
```php
protected string $type
```
### ☍ title
```php
protected string $title
```
### ☍ readonly
```php
protected bool $readonly
```
### ☍ required
```php
protected bool $required
```
### ☍ placeholder
```php
protected string $placeholder
```
### ☍ decimals
```php
protected int $decimals
```
### ☍ step
```php
protected float $step
```
### ☍ icon
```php
protected string $icon
```
### ☍ unit
```php
protected string $unit
```
### ☍ format
```php
protected string $format
```
### ☍ description
```php
protected string $description
```
### ☍ reactComponent
```php
protected string $reactComponent
```
### ☍ lookupModel
```php
protected string $lookupModel
```
### ☍ inputProps
```php
protected array $inputProps
```
### ☍ examples
```php
protected array $examples
```
### ☍ enumValues
```php
protected array $enumValues
```
### ☍ enumCssClasses
```php
protected array $enumCssClasses
```
### ☍ predefinedValues
```php
protected array $predefinedValues
```
### ☍ defaultValue
```php
protected mixed $defaultValue
```
### ☍ cssClass
```php
protected string $cssClass
```
### ☍ endpoint
```php
protected string $endpoint
```
### ☍ creatable
```php
protected bool $creatable
```
### ☍ properties
```php
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