PHP 클래스 Encore\Admin\Form\Field

파일 보기 프로젝트 열기: z-song/laravel-admin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes
$column
$css
$default
$form Encore\Admin\Form
$id
$js
$label
$options
$original
$rules
$script
$value
$variables

공개 메소드들

메소드 설명
__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 ( Form $form )
setOriginal ( $data ) : void Set original value to the field.
value ( null $value = null ) : mixed Set or get value of the field.

보호된 메소드들

메소드 설명
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.

메소드 상세

__call() 공개 메소드

public __call ( $method, $arguments )

__construct() 공개 메소드

public __construct ( $column, $arguments = [] )

column() 공개 메소드

Get column of the field.
public column ( ) : string
리턴 string

fill() 공개 메소드

Fill data to the field.
public fill ( $data ) : void
$data
리턴 void

formatAttributes() 보호된 메소드

Format the field attributes.
protected formatAttributes ( ) : string
리턴 string

formatId() 보호된 메소드

Format the field element id.
protected formatId ( string | array $column ) : string | array
$column string | array
리턴 string | array

formatLabel() 보호된 메소드

Format the label value.
protected formatLabel ( array $arguments = [] ) : string
$arguments array
리턴 string

formatName() 보호된 메소드

Format the name of the field.
protected formatName ( string $column ) : array | mixed | string
$column string
리턴 array | mixed | string

getView() 공개 메소드

Get view of this field.
public getView ( ) : string
리턴 string

label() 공개 메소드

Get label of the field.
public label ( ) : string
리턴 string

options() 공개 메소드

Set the field options.
public options ( array $options = [] )
$options array

original() 공개 메소드

Get original value of the field.
public original ( ) : mixed
리턴 mixed

readOnly() 공개 메소드

Set the field as readonly mode.
public readOnly ( )

render() 공개 메소드

Render this filed.
public render ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
리턴 Illuminate\Contracts\View\Factory | Illuminate\View\View

rules() 공개 메소드

Get or set rules.
public rules ( null $rules = null ) : string
$rules null
리턴 string

setForm() 공개 메소드

public setForm ( Form $form )
$form Encore\Admin\Form

setOriginal() 공개 메소드

Set original value to the field.
public setOriginal ( $data ) : void
$data
리턴 void

value() 공개 메소드

Set or get value of the field.
public value ( null $value = null ) : mixed
$value null
리턴 mixed

variables() 보호된 메소드

Get the view variables of this field.
protected variables ( ) : array
리턴 array

프로퍼티 상세

$attributes 보호되어 있는 프로퍼티

protected $attributes

$column 보호되어 있는 프로퍼티

protected $column

$css 보호되어 있는 프로퍼티

protected $css

$default 보호되어 있는 프로퍼티

protected $default

$form 보호되어 있는 프로퍼티

protected Form,Encore\Admin $form
리턴 Encore\Admin\Form

$id 보호되어 있는 프로퍼티

protected $id

$js 보호되어 있는 프로퍼티

protected $js

$label 보호되어 있는 프로퍼티

protected $label

$options 보호되어 있는 프로퍼티

protected $options

$original 보호되어 있는 프로퍼티

protected $original

$rules 보호되어 있는 프로퍼티

protected $rules

$script 보호되어 있는 프로퍼티

protected $script

$value 보호되어 있는 프로퍼티

protected $value

$variables 보호되어 있는 프로퍼티

protected $variables