Textarea
class Textarea extends EscapableRawText
Textarea - Multiline text field
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 Textarea erstellen
Prüfen ob der Tag ein schliessendes Tag benötigt. Das ist der Fall wenn selfClosing und EndTag true sind.
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 autofocus setzen
HTML-Attribute autofocus holen
HTML-Attribute cols holen
HTML-Attribute dirname setzen
HTML-Attribute dirname holen
HTML-Attribute disabled setzen
HTML-Attribute disabled holen
HTML-Attribute form holen
HTML-Attribute maxlength setzen
HTML-Attribute maxlength holen
HTML-Attribute minlength setzen
HTML-Attribute minlength holen
HTML-Attribute name setzen
HTML-Attribute name 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 rows holen
HTML-Attribute wrap holen
Details
at line 44
__construct(string $value = null)
Neue Instanz von Textarea erstellen
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 Element at line 148
boolean
hasEndTag()
Prüfen ob der Tag ein schliessendes Tag benötigt. Das ist der Fall wenn selfClosing und EndTag true sind.
<br>
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
Textarea
setAutoFocus(string $value)
HTML-Attribute autofocus setzen
<textarea autofocus="$value" />
at line 74
string
getAutoFocus()
HTML-Attribute autofocus holen
<textarea autofocus="$value" />
at line 89
Textarea
setCols(string $value)
HTML-Attribute cols setzen
<textarea cols="$value" />
at line 103
string
getCols()
HTML-Attribute cols holen
<textarea cols="$value" />
at line 118
Textarea
setDirname(string $value)
HTML-Attribute dirname setzen
<textarea dirname="$value" />
at line 132
string
getDirname()
HTML-Attribute dirname holen
<textarea dirname="$value" />
at line 147
Textarea
setDisabled(string $value)
HTML-Attribute disabled setzen
<textarea disabled="$value" />
at line 161
string
getDisabled()
HTML-Attribute disabled holen
<textarea disabled="$value" />
at line 176
Textarea
setForm(string $value)
HTML-Attribute form setzen
<textarea form="$value" />
at line 190
string
getForm()
HTML-Attribute form holen
<textarea form="$value" />
at line 205
Textarea
setMaxlength(string $value)
HTML-Attribute maxlength setzen
<textarea maxlength="$value" />
at line 219
string
getMaxlength()
HTML-Attribute maxlength holen
<textarea maxlength="$value" />
at line 234
Textarea
setMinlength(string $value)
HTML-Attribute minlength setzen
<textarea minlength="$value" />
at line 248
string
getMinlength()
HTML-Attribute minlength holen
<textarea minlength="$value" />
at line 263
Textarea
setNameAttribute(string $value)
HTML-Attribute name setzen
<textarea name="$value" />
at line 277
string
getNameAttribute()
HTML-Attribute name holen
<textarea name="$value" />
at line 292
Textarea
setPlaceholder(string $value)
HTML-Attribute placeholder setzen
<textarea placeholder="$value" />
at line 306
string
getPlaceholder()
HTML-Attribute placeholder holen
<textarea placeholder="$value" />
at line 321
Textarea
setReadonly(string $value)
HTML-Attribute readonly setzen
<textarea readonly="$value" />
at line 335
string
getReadonly()
HTML-Attribute readonly holen
<textarea readonly="$value" />
at line 350
Textarea
setRequired(string $value)
HTML-Attribute required setzen
<textarea required="$value" />
at line 364
string
getRequired()
HTML-Attribute required holen
<textarea required="$value" />
at line 379
Textarea
setRows(string $value)
HTML-Attribute rows setzen
<textarea rows="$value" />
at line 393
string
getRows()
HTML-Attribute rows holen
<textarea rows="$value" />
at line 408
Textarea
setWrap(string $value)
HTML-Attribute wrap setzen
<textarea wrap="$value" />
at line 422
string
getWrap()
HTML-Attribute wrap holen
<textarea wrap="$value" />