Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

Classes

  • BaseControl
  • Button
  • Checkbox
  • CheckboxList
  • ChoiceControl
  • CsrfProtection
  • HiddenField
  • ImageButton
  • MultiChoiceControl
  • MultiSelectBox
  • RadioList
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput
  • UploadControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class TextInput

Single line text input control.

Nette\Object
Extended by Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
Extended by Nette\Forms\Controls\BaseControl implements Nette\Forms\IControl
Extended by Nette\Forms\Controls\TextBase
Extended by Nette\Forms\Controls\TextInput
Namespace: Nette\Forms\Controls
Author: David Grudl
Located at Forms/Controls/TextInput.php
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

Nette\Forms\Controls\BaseControl::__construct()
public
# loadHttpData( )

Loads HTTP data.

Loads HTTP data.

Overrides

Nette\Forms\Controls\BaseControl::loadHttpData()
public Nette\Forms\Controls\TextInput
# setType( string $type )

Changes control's type attribute.

Changes control's type attribute.

Parameters

$type
string

Returns

Nette\Forms\Controls\TextInput
public
# setPasswordMode( $mode = TRUE )

Deprecated

public Nette\Utils\Html
# getControl( )

Generates control's HTML element.

Generates control's HTML element.

Returns

Nette\Utils\Html

Overrides

Nette\Forms\Controls\TextBase::getControl()
Methods inherited from Nette\Forms\Controls\TextBase
addFilter(), addRule(), filterUrl(), getEmptyValue(), getValue(), setEmptyValue(), setValue(), validateRegexp()
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()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from Nette\ComponentModel\IComponent
setParent()
Constants inherited from Nette\ComponentModel\IComponent
NAME_SEPARATOR
Properties inherited from Nette\Forms\Controls\TextBase
$emptyValue, $filters, $rawValue
Properties inherited from Nette\Forms\Controls\BaseControl
$caption, $control, $disabled, $idMask, $label, $value
Magic properties summary
public write-only $type
#
Magic properties inherited from Nette\Forms\Controls\TextBase
$emptyValue
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
Magic properties inherited from Nette\ComponentModel\Component
$name, $parent
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0