PHP 클래스 AdamWathan\Form\FormBuilder

파일 보기 프로젝트 열기: adamwathan/form 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$boundData
$csrfToken
$errorStore
$oldInput

공개 메소드들

메소드 설명
bind ( $data )
button ( $value, $name = null )
checkbox ( $name, $value = 1 )
close ( )
date ( $name )
dateTimeLocal ( $name )
email ( $name )
file ( $name )
getError ( $name, $format = null )
getValueFor ( $name )
hasError ( $name )
hidden ( $name )
label ( $label )
open ( )
password ( $name )
radio ( $name, $value = null )
select ( $name, $options = [] )
selectMonth ( $name )
setErrorStore ( AdamWathan\Form\ErrorStore\ErrorStoreInterface $errorStore )
setOldInputProvider ( AdamWathan\Form\OldInput\OldInputInterface $oldInputProvider )
setToken ( $token )
submit ( $value = 'Submit' )
text ( $name )
textarea ( $name )
token ( )

보호된 메소드들

메소드 설명
escape ( $value )
getBoundValue ( $name, $default )
getOldInput ( $name )
hasBoundData ( )
hasOldInput ( )
hasToken ( )
unbindData ( )

메소드 상세

bind() 공개 메소드

public bind ( $data )

button() 공개 메소드

public button ( $value, $name = null )

checkbox() 공개 메소드

public checkbox ( $name, $value = 1 )

close() 공개 메소드

public close ( )

date() 공개 메소드

public date ( $name )

dateTimeLocal() 공개 메소드

public dateTimeLocal ( $name )

email() 공개 메소드

public email ( $name )

escape() 보호된 메소드

protected escape ( $value )

file() 공개 메소드

public file ( $name )

getBoundValue() 보호된 메소드

protected getBoundValue ( $name, $default )

getError() 공개 메소드

public getError ( $name, $format = null )

getOldInput() 보호된 메소드

protected getOldInput ( $name )

getValueFor() 공개 메소드

public getValueFor ( $name )

hasBoundData() 보호된 메소드

protected hasBoundData ( )

hasError() 공개 메소드

public hasError ( $name )

hasOldInput() 보호된 메소드

protected hasOldInput ( )

hasToken() 보호된 메소드

protected hasToken ( )

hidden() 공개 메소드

public hidden ( $name )

label() 공개 메소드

public label ( $label )

open() 공개 메소드

public open ( )

password() 공개 메소드

public password ( $name )

radio() 공개 메소드

public radio ( $name, $value = null )

select() 공개 메소드

public select ( $name, $options = [] )

selectMonth() 공개 메소드

public selectMonth ( $name )

setErrorStore() 공개 메소드

public setErrorStore ( AdamWathan\Form\ErrorStore\ErrorStoreInterface $errorStore )
$errorStore AdamWathan\Form\ErrorStore\ErrorStoreInterface

setOldInputProvider() 공개 메소드

public setOldInputProvider ( AdamWathan\Form\OldInput\OldInputInterface $oldInputProvider )
$oldInputProvider AdamWathan\Form\OldInput\OldInputInterface

setToken() 공개 메소드

public setToken ( $token )

submit() 공개 메소드

public submit ( $value = 'Submit' )

text() 공개 메소드

public text ( $name )

textarea() 공개 메소드

public textarea ( $name )

token() 공개 메소드

public token ( )

unbindData() 보호된 메소드

protected unbindData ( )

프로퍼티 상세

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

protected $boundData

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

protected $csrfToken

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

protected $errorStore

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

protected $oldInput