Property | Type | Description | |
---|---|---|---|
$attributes | |||
$column | |||
$css | |||
$default | |||
$form | |||
$id | |||
$js | |||
$label | |||
$options | |||
$original | |||
$rules | |||
$script | |||
$value | |||
$variables |
Method | Description | |
---|---|---|
__call ( $method, $arguments ) | ||
__construct ( $column, $arguments = [] ) | ||
column ( ) : string | Get column of the field. | |
fill ( $data ) : void | Fill data to the field. | |
getView ( ) : string | Get view of this field. | |
label ( ) : string | Get label of the field. | |
options ( array $options = [] ) | Set the field options. | |
original ( ) : mixed | Get original value of the field. | |
readOnly ( ) | Set the field as readonly mode. | |
render ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | Render this filed. | |
rules ( null $rules = null ) : string | Get or set rules. | |
setForm ( |
||
setOriginal ( $data ) : void | Set original value to the field. | |
value ( null $value = null ) : mixed | Set or get value of the field. |
Method | Description | |
---|---|---|
formatAttributes ( ) : string | Format the field attributes. | |
formatId ( string | array $column ) : string | array | Format the field element id. | |
formatLabel ( array $arguments = [] ) : string | Format the label value. | |
formatName ( string $column ) : array | mixed | string | Format the name of the field. | |
variables ( ) : array | Get the view variables of this field. |
protected formatAttributes ( ) : string | ||
return | string |
protected formatLabel ( array $arguments = [] ) : string | ||
$arguments | array | |
return | string |
public render ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | ||
return | Illuminate\Contracts\View\Factory | Illuminate\View\View |
public setOriginal ( $data ) : void | ||
$data | ||
return | void |