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 42
__construct(string $value = null)
Neue Instanz von Textarea erstellen
in Element at line 214
string
getHTML()
HTML-Zeichenkette
in Node at line 83
string
__toString()
Liefert die Nodes als Zeichenkette zurück
Ruft getHTML() auf
in Element at line 95
Element
setNamespace(Namespaces $namespace)
Namespace setzen
in Element at line 105
Namespaces|null
getNamespace()
Namespace
in Element at line 114
string
getTag()
Alias auf getName
in Element at line 129
protected Element
setSelfClosing(boolean $mode)
Selbstschliessender Tag
<br>
in Element at line 146
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 170
string
getAttributeValue(string $name)
Den Wert eines Attributes abfragen
in Element at line 193
AttributeMap
getAttributes()
AttributeMap
in Element at line 204
Element
setAttributes(AttributeMap $map)
AttributeMap setzen
in Element at line 245
__clone()
Erstellt eine Kopie dieser Node.
Auch alle Kinder weden dabei kopiert.
in Html at line 55
string
getAccesskey()
Accesskey
in Html at line 64
string
getClass()
Klassen
in Html at line 73
string
getContenteditable()
ContentEditable-Flag
in Html at line 82
string
getDir()
Direction
in Html at line 91
string
getHidden()
Hidden
in Html at line 101
string
getIdAttribute()
ID des Tags (nicht mit der ID, dem Hash des Objekts verwechseln)
in Html at line 110
string
getLang()
Sprache (ISO)
in Html at line 119
string
getSpellcheck()
Rechtschreibung
in Html at line 128
string
getStyle()
CSS-Style Anweisungen
in Html at line 137
string
getTabindex()
Tabindes
in Html at line 146
string
getTitle()
Titel
in Html at line 155
string
getTranslate()
Übersetzung
in Html at line 171
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 187
Html
setClass(string $class)
Klassenwert setzen. Sollen mehrere Klassen gesetzt werden, so müssen diese durch ein Leerzeichen getrennt werden.
in Html at line 250
Html
setId(string $id)
ID (es wird nicht die ObjektID, der Hash gesetzt, sondern das HTML Attribute ID="")
in Html at line 304
boolean
isDraggable()
Ist das Element Dragable
at line 58
Textarea
setAutoFocus(string $value)
HTML-Attribute autofocus setzen
<textarea autofocus="$value" />
at line 72
string
getAutoFocus()
HTML-Attribute autofocus holen
<textarea autofocus="$value" />
at line 87
Textarea
setCols(string $value)
HTML-Attribute cols setzen
<textarea cols="$value" />
at line 101
string
getCols()
HTML-Attribute cols holen
<textarea cols="$value" />
at line 116
Textarea
setDirname(string $value)
HTML-Attribute dirname setzen
<textarea dirname="$value" />
at line 130
string
getDirname()
HTML-Attribute dirname holen
<textarea dirname="$value" />
at line 145
Textarea
setDisabled(string $value)
HTML-Attribute disabled setzen
<textarea disabled="$value" />
at line 159
string
getDisabled()
HTML-Attribute disabled holen
<textarea disabled="$value" />
at line 174
Textarea
setForm(string $value)
HTML-Attribute form setzen
<textarea form="$value" />
at line 188
string
getForm()
HTML-Attribute form holen
<textarea form="$value" />
at line 203
Textarea
setMaxlength(string $value)
HTML-Attribute maxlength setzen
<textarea maxlength="$value" />
at line 217
string
getMaxlength()
HTML-Attribute maxlength holen
<textarea maxlength="$value" />
at line 232
Textarea
setMinlength(string $value)
HTML-Attribute minlength setzen
<textarea minlength="$value" />
at line 246
string
getMinlength()
HTML-Attribute minlength holen
<textarea minlength="$value" />
at line 261
Textarea
setNameAttribute(string $value)
HTML-Attribute name setzen
<textarea name="$value" />
at line 275
string
getNameAttribute()
HTML-Attribute name holen
<textarea name="$value" />
at line 290
Textarea
setPlaceholder(string $value)
HTML-Attribute placeholder setzen
<textarea placeholder="$value" />
at line 304
string
getPlaceholder()
HTML-Attribute placeholder holen
<textarea placeholder="$value" />
at line 319
Textarea
setReadonly(string $value)
HTML-Attribute readonly setzen
<textarea readonly="$value" />
at line 333
string
getReadonly()
HTML-Attribute readonly holen
<textarea readonly="$value" />
at line 348
Textarea
setRequired(string $value)
HTML-Attribute required setzen
<textarea required="$value" />
at line 362
string
getRequired()
HTML-Attribute required holen
<textarea required="$value" />
at line 377
Textarea
setRows(string $value)
HTML-Attribute rows setzen
<textarea rows="$value" />
at line 391
string
getRows()
HTML-Attribute rows holen
<textarea rows="$value" />
at line 406
Textarea
setWrap(string $value)
HTML-Attribute wrap setzen
<textarea wrap="$value" />
at line 420
string
getWrap()
HTML-Attribute wrap holen
<textarea wrap="$value" />