Field\TextareaFormField (Component\DomCrawler)
Symfony\Component\DomCrawler\Field\TextareaFormField
class TextareaFormField extends FormField
TextareaFormField represents a textarea form field (an HTML textarea tag).
Methods
__construct(DOMElement $node) Constructor. | from FormField | |
string | getName() Returns the name of the field. | from FormField |
string|array | getValue() Gets the value of the field. | from FormField |
setValue(string $value) Sets the value of the field. | from FormField | |
bool | hasValue() Returns true if the field should be included in the submitted values. | from FormField |
bool | isDisabled() Check if the current field is disabled. | from FormField |
Details
public __construct(DOMElement $node)
Constructor.
public string getName()
Returns the name of the field.
public string|array getValue()
Gets the value of the field.
public setValue(string $value)
Sets the value of the field.
public bool hasValue()
Returns true if the field should be included in the submitted values.
public bool isDisabled()
Check if the current field is disabled.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/DomCrawler/Field/TextareaFormField.html