Input
class Input extends VoidView
Input - Form control
Die Beschreibung des Elements ist in der HTML-Spezifikation zu finden
Properties
protected AttributeMap | $attributes | from Element | |
protected type | $selfClosing | from Element | |
protected type | $noEndTag | from Element | |
protected Namespaces | $namespace | from Element | |
protected string | $prefix | from Element | |
protected string | $localName | from Element |
Methods
Neue Instanz von Input erstellen
Acceskey setzen. Der Wert muss ein einzelnes Zeichen sein. Werden mehrere Zeichen übergeben, so wird nur der erste Wert genommen.
Klassenwert setzen. Sollen mehrere Klassen gesetzt werden, so müssen diese durch ein Leerzeichen getrennt werden.
ID (es wird nicht die ObjektID, der Hash gesetzt, sondern das HTML Attribute ID="")
HTML-Attribute accept holen
HTML-Attribute alt holen
HTML-Attribute autocomplete setzen
HTML-Attribute autocomplete holen
HTML-Attribute autofocus setzen
HTML-Attribute autofocus holen
HTML-Attribute checked setzen
HTML-Attribute checked holen
HTML-Attribute dirname setzen
HTML-Attribute dirname holen
HTML-Attribute disabled setzen
HTML-Attribute disabled holen
HTML-Attribute form holen
HTML-Attribute formaction setzen
HTML-Attribute formaction holen
HTML-Attribute formenctype setzen
HTML-Attribute formenctype holen
HTML-Attribute formmethod setzen
HTML-Attribute formmethod holen
HTML-Attribute formnovalidate setzen
HTML-Attribute formnovalidate holen
HTML-Attribute formtarget setzen
HTML-Attribute formtarget holen
HTML-Attribute height holen
HTML-Attribute list holen
HTML-Attribute max holen
HTML-Attribute maxlength setzen
HTML-Attribute maxlength holen
HTML-Attribute min holen
HTML-Attribute minlength setzen
HTML-Attribute minlength holen
HTML-Attribute multiple setzen
HTML-Attribute multiple holen
HTML-Attribute name setzen
HTML-Attribute name holen
HTML-Attribute pattern setzen
HTML-Attribute pattern holen
HTML-Attribute placeholder setzen
HTML-Attribute placeholder holen
HTML-Attribute readonly setzen
HTML-Attribute readonly holen
HTML-Attribute required setzen
HTML-Attribute required holen
HTML-Attribute size holen
HTML-Attribute src holen
HTML-Attribute step holen
HTML-Attribute type holen
HTML-Attribute value holen
HTML-Attribute width holen
Details
at line 44
__construct(string $value = null)
Neue Instanz von Input erstellen
at line 901
Node
setValue(string $value)
HTML-Attribute value setzen
<input value="$value" />
in Element at line 216
string
getHTML()
HTML-Zeichenkette
in Node at line 85
string
__toString()
Liefert die Nodes als Zeichenkette zurück
Ruft getHTML() auf
in Element at line 97
Element
setNamespace(Namespaces $namespace)
Namespace setzen
in Element at line 107
Namespaces|null
getNamespace()
Namespace
in Element at line 116
string
getTag()
Alias auf getName
in Element at line 131
protected Element
setSelfClosing(boolean $mode)
Selbstschliessender Tag
<br>
in VoidView at line 40
boolean
hasEndTag()
Void-Elemente wie br haben kein schliessenden Tag
in Element at line 172
string
getAttributeValue(string $name)
Den Wert eines Attributes abfragen
in Element at line 195
AttributeMap
getAttributes()
AttributeMap
in Element at line 206
Element
setAttributes(AttributeMap $map)
AttributeMap setzen
in Element at line 247
__clone()
Erstellt eine Kopie dieser Node.
Auch alle Kinder weden dabei kopiert.
in Html at line 57
string
getAccesskey()
Accesskey
in Html at line 66
string
getClass()
Klassen
in Html at line 75
string
getContenteditable()
ContentEditable-Flag
in Html at line 84
string
getDir()
Direction
in Html at line 93
string
getHidden()
Hidden
in Html at line 103
string
getIdAttribute()
ID des Tags (nicht mit der ID, dem Hash des Objekts verwechseln)
in Html at line 112
string
getLang()
Sprache (ISO)
in Html at line 121
string
getSpellcheck()
Rechtschreibung
in Html at line 130
string
getStyle()
CSS-Style Anweisungen
in Html at line 139
string
getTabindex()
Tabindes
in Html at line 148
string
getTitle()
Titel
in Html at line 157
string
getTranslate()
Ãœbersetzung
in Html at line 173
Html
setAccesskey(string $accesskey)
Acceskey setzen. Der Wert muss ein einzelnes Zeichen sein. Werden mehrere Zeichen übergeben, so wird nur der erste Wert genommen.
in Html at line 189
Html
setClass(string $class)
Klassenwert setzen. Sollen mehrere Klassen gesetzt werden, so müssen diese durch ein Leerzeichen getrennt werden.
in Html at line 252
Html
setId(string $id)
ID (es wird nicht die ObjektID, der Hash gesetzt, sondern das HTML Attribute ID="")
in Html at line 306
boolean
isDraggable()
Ist das Element Dragable
at line 60
Input
setAccept(string $value)
HTML-Attribute accept setzen
<input accept="$value" />
at line 74
string
getAccept()
HTML-Attribute accept holen
<input accept="$value" />
at line 89
Input
setAlt(string $value)
HTML-Attribute alt setzen
<input alt="$value" />
at line 103
string
getAlt()
HTML-Attribute alt holen
<input alt="$value" />
at line 118
Input
setAutocomplete(string $value)
HTML-Attribute autocomplete setzen
<input autocomplete="$value" />
at line 132
string
getAutocomplete()
HTML-Attribute autocomplete holen
<input autocomplete="$value" />
at line 147
Input
setAutoFocus(string $value)
HTML-Attribute autofocus setzen
<input autofocus="$value" />
at line 161
string
getAutoFocus()
HTML-Attribute autofocus holen
<input autofocus="$value" />
at line 176
Input
setChecked(string $value)
HTML-Attribute checked setzen
<input checked="$value" />
at line 190
string
getChecked()
HTML-Attribute checked holen
<input checked="$value" />
at line 205
Input
setDirname(string $value)
HTML-Attribute dirname setzen
<input dirname="$value" />
at line 219
string
getDirname()
HTML-Attribute dirname holen
<input dirname="$value" />
at line 234
Input
setDisabled(string $value)
HTML-Attribute disabled setzen
<input disabled="$value" />
at line 248
string
getDisabled()
HTML-Attribute disabled holen
<input disabled="$value" />
at line 263
Input
setForm(string $value)
HTML-Attribute form setzen
<input form="$value" />
at line 277
string
getForm()
HTML-Attribute form holen
<input form="$value" />
at line 292
Input
setFormAction(string $value)
HTML-Attribute formaction setzen
<input formaction="$value" />
at line 306
string
getFormAction()
HTML-Attribute formaction holen
<input formaction="$value" />
at line 321
Input
setFormenCType(string $value)
HTML-Attribute formenctype setzen
<input formenctype="$value" />
at line 335
string
getFormenCType()
HTML-Attribute formenctype holen
<input formenctype="$value" />
at line 350
Input
setFormMethod(string $value)
HTML-Attribute formmethod setzen
<input formmethod="$value" />
at line 364
string
getFormMethod()
HTML-Attribute formmethod holen
<input formmethod="$value" />
at line 379
Input
setFormNoValidate(string $value)
HTML-Attribute formnovalidate setzen
<input formnovalidate="$value" />
at line 393
string
getFormNoValidate()
HTML-Attribute formnovalidate holen
<input formnovalidate="$value" />
at line 408
Input
setFormTarget(string $value)
HTML-Attribute formtarget setzen
<input formtarget="$value" />
at line 422
string
getFormTarget()
HTML-Attribute formtarget holen
<input formtarget="$value" />
at line 437
Input
setHeight(string $value)
HTML-Attribute height setzen
<input height="$value" />
at line 451
string
getHeight()
HTML-Attribute height holen
<input height="$value" />
at line 466
Input
setList(string $value)
HTML-Attribute list setzen
<input list="$value" />
at line 480
string
getList()
HTML-Attribute list holen
<input list="$value" />
at line 495
Input
setMax(string $value)
HTML-Attribute max setzen
<input max="$value" />
at line 509
string
getMax()
HTML-Attribute max holen
<input max="$value" />
at line 524
Input
setMaxlength(string $value)
HTML-Attribute maxlength setzen
<input maxlength="$value" />
at line 538
string
getMaxlength()
HTML-Attribute maxlength holen
<input maxlength="$value" />
at line 553
Input
setMin(string $value)
HTML-Attribute min setzen
<input min="$value" />
at line 567
string
getMin()
HTML-Attribute min holen
<input min="$value" />
at line 582
Input
setMinlength(string $value)
HTML-Attribute minlength setzen
<input minlength="$value" />
at line 596
string
getMinlength()
HTML-Attribute minlength holen
<input minlength="$value" />
at line 611
Input
setMultiple(string $value)
HTML-Attribute multiple setzen
<input multiple="$value" />
at line 625
string
getMultiple()
HTML-Attribute multiple holen
<input multiple="$value" />
at line 640
Input
setNameAttribute(string $value)
HTML-Attribute name setzen
<input name="$value" />
at line 654
string
getNameAttribute()
HTML-Attribute name holen
<input name="$value" />
at line 669
Input
setPattern(string $value)
HTML-Attribute pattern setzen
<input pattern="$value" />
at line 683
string
getPattern()
HTML-Attribute pattern holen
<input pattern="$value" />
at line 698
Input
setPlaceholder(string $value)
HTML-Attribute placeholder setzen
<input placeholder="$value" />
at line 712
string
getPlaceholder()
HTML-Attribute placeholder holen
<input placeholder="$value" />
at line 727
Input
setReadonly(string $value)
HTML-Attribute readonly setzen
<input readonly="$value" />
at line 741
string
getReadonly()
HTML-Attribute readonly holen
<input readonly="$value" />
at line 756
Input
setRequired(string $value)
HTML-Attribute required setzen
<input required="$value" />
at line 770
string
getRequired()
HTML-Attribute required holen
<input required="$value" />
at line 785
Input
setSize(string $value)
HTML-Attribute size setzen
<input size="$value" />
at line 799
string
getSize()
HTML-Attribute size holen
<input size="$value" />
at line 814
Input
setSrc(string $value)
HTML-Attribute src setzen
<input src="$value" />
at line 828
string
getSrc()
HTML-Attribute src holen
<input src="$value" />
at line 843
Input
setStep(string $value)
HTML-Attribute step setzen
<input step="$value" />
at line 857
string
getStep()
HTML-Attribute step holen
<input step="$value" />
at line 872
Input
setType(string $value)
HTML-Attribute type setzen
<input type="$value" />
at line 886
string
getType()
HTML-Attribute type holen
<input type="$value" />
at line 915
string
getValue()
HTML-Attribute value holen
<input value="$value" />
at line 930
Input
setWidth(string $value)
HTML-Attribute width setzen
<input width="$value" />
at line 944
string
getWidth()
HTML-Attribute width holen
<input width="$value" />