Метод |
Описание |
|
__clone ( ) |
Clones this field. |
|
addError ( Symfony\Component\Form\FieldError $error, Symfony\Component\Form\PropertyPathIterator $pathIterator = null, $type = null ) |
Recursively adds constraint violations to the fields |
|
bind ( string | array $taintedData ) : boolean |
Binds POST data to the field, transforms and validates it. |
|
getData ( ) : mixed |
Returns the normalized data of the field. |
|
getDisplayedData ( ) : string | array |
Returns the data of the field as it is displayed to the user. |
|
getId ( ) : string |
Returns the ID of the field. |
|
getKey ( ) : string |
Returns the key by which the field is identified in field groups. |
|
getName ( ) : string |
Returns the name of the field. |
|
getParent ( ) : Symfony\Component\Form\FieldInterface |
Returns the parent field. |
|
getPropertyPath ( ) : PropertyPath |
Returns the property path of the field |
|
isBound ( ) : boolean |
Returns whether the field is bound. |
|
isDisabled ( ) : boolean |
Returns whether this field is disabled |
|
isHidden ( ) : boolean |
Returns whether the field is hidden |
|
isMultipart ( ) : boolean |
Returns whether the field requires a multipart form. |
|
isRequired ( ) : boolean |
Returns whether the field is required to be filled out. |
|
isValid ( ) : boolean |
Returns whether the field is valid. |
|
setData ( mixed $default ) |
Sets the default data |
|
setKey ( string $key ) |
Sets the key by which the field is identified in field groups. |
|
setParent ( Symfony\Component\Form\FieldInterface $parent = null ) |
Sets the parent field. |
|
setPropertyPath ( string $propertyPath ) |
Sets the property path |
|
setRequired ( boolean $required ) |
Sets whether this field is required to be filled out when submitted. |
|
updateFromObject ( array | object &$objectOrArray ) |
Writes a property value of the object into the field |
|
updateObject ( array | object &$objectOrArray ) |
Writes a the field value into a property of the object |
|