Свойство | Тип | Описание | |
---|---|---|---|
$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 ( ) |
public setErrorStore ( AdamWathan\Form\ErrorStore\ErrorStoreInterface $errorStore ) | ||
$errorStore | AdamWathan\Form\ErrorStore\ErrorStoreInterface |
public setOldInputProvider ( AdamWathan\Form\OldInput\OldInputInterface $oldInputProvider ) | ||
$oldInputProvider | AdamWathan\Form\OldInput\OldInputInterface |