Class TextInput
Single line text input control.
-
Nette\Object
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
-
Nette\Forms\Controls\BaseControl
implements
Nette\Forms\IControl
-
Nette\Forms\Controls\TextBase
-
Nette\Forms\Controls\TextInput
Methods summary
public
|
#
__construct( string $label = NULL, integer $maxLength = NULL )
Parameters
- $label
string label
- $maxLength
integer maximum number of characters the user may enter
Overrides
|
public
|
|
public
Nette\Forms\Controls\TextInput
|
#
setType( string $type )
Changes control's type attribute.
Changes control's type attribute.
Parameters
Returns
|
public
Nette\Utils\Html
|
#
getControl( )
Generates control's HTML element.
Generates control's HTML element.
Returns
Overrides
|
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(),
addConditionOn(),
addError(),
attached(),
cleanErrors(),
exportRules(),
getControlPrototype(),
getError(),
getErrors(),
getForm(),
getHtmlId(),
getHtmlName(),
getHttpData(),
getLabel(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
hasErrors(),
isDisabled(),
isFilled(),
isOmitted(),
isRequired(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlId(),
setOmitted(),
setOption(),
setRequired(),
setTranslator(),
translate(),
validate()
|
Methods inherited from Nette\ComponentModel\Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$rules,
$translator,
$value
|