Class TextArea (namespace Nette\Forms)


Multiline text input control.

Object
   |
   --Component
      |
      --FormControl
         |
         --TextBase
            |
            --TextArea
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/Controls/TextArea.php (line 34)
Public Method Summary
TextArea
__construct (string $label, [string $cols = NULL], [int $rows = NULL], int 3)
Html
Generates control's HTML element.
Methods Inherited From TextBase
addFilter(), filterFloat(), getEmptyValue(), loadHttpData(), notifyRule(), setEmptyValue(), setValue(), validateEmail(), validateFloat(), validateInteger(), validateLength(), validateMaxLength(), validateMinLength(), validateRange(), validateRegexp(), validateUrl()
Methods Inherited From FormControl
__construct(), addCondition(), addConditionOn(), addError(), addRule(), cleanErrors(), getControl(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getHtmlName(), getLabel(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), isRendered(), isRequired(), loadHttpData(), notifyRule(), setDisabled(), setHtmlId(), setOption(), setParent(), setRendered(), setRequired(), setTranslator(), setValue(), translate(), validateEqual(), validateFilled(), validateValid()
Methods Inherited From Component
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary

Method Details

line 43

__construct

public TextArea __construct (string $label, [string $cols = NULL], [int $rows = NULL], int 3)

Input
string $label control name
string $cols label
int $rows width of the control
int 3 height of the control in text lines
Output
TextArea  

line 58

getControl

public Html getControl ()

Generates control's HTML element.

Output
Html