Overview

Namespaces

  • Alvine
    • Markup
      • Html
        • Constraint
        • Element
          • Html
          • Svg
        • Node
        • Operation
        • Tokenizer
          • State
          • Token
            • Util
        • TreeConstructor
          • InsertionMode

Classes

  • A
  • Abbr
  • Address
  • Area
  • Article
  • Aside
  • Audio
  • B
  • Base
  • Bdi
  • Bdo
  • Blockquote
  • Body
  • Br
  • Button
  • Canvas
  • Caption
  • Cite
  • Code
  • Col
  • Colgroup
  • Data
  • Datalist
  • Dd
  • Del
  • Dfn
  • Div
  • Dl
  • Dt
  • Em
  • Embed
  • Fieldset
  • Figcaption
  • Figure
  • Footer
  • Form
  • Fugure
  • H1
  • H2
  • H3
  • H4
  • H5
  • H6
  • Head
  • Header
  • Hr
  • Html
  • I
  • Iframe
  • Img
  • Input
  • Ins
  • Kbd
  • Keygen
  • Label
  • Legend
  • Li
  • Link
  • Main
  • Map
  • Mark
  • Meta
  • Meter
  • Mi
  • Nav
  • Noscript
  • ObjectElement
  • Ol
  • Optgroup
  • Option
  • Output
  • P
  • Param
  • Plaintext
  • Pre
  • Progress
  • Q
  • Rb
  • Rp
  • Rt
  • Rtc
  • Ruby
  • S
  • Samp
  • Script
  • Section
  • Select
  • Small
  • Source
  • Span
  • Strong
  • Style
  • Sub
  • Sup
  • Table
  • Tbody
  • Td
  • Template
  • Textarea
  • Tfoot
  • Th
  • Thead
  • Time
  • Title
  • Tr
  • Track
  • U
  • Ul
  • VarTag
  • Video
  • Wbr
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Input

Input - Form control

Die Beschreibung des Elements ist in der HTML-Spezifikation zu finden

Alvine\Types\Node
Extended by Alvine\Markup\Html\Node
Extended by Alvine\Markup\Html\Element implements Alvine\Markup\Html\FromToken
Extended by Alvine\Markup\Html\Element\Html
Extended by Alvine\Markup\Html\Element\VoidView
Extended by Alvine\Markup\Html\Element\Html\Input
Namespace: Alvine\Markup\Html\Element\Html
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150309
Link: http://www.w3.org/TR/html5/dom.html#elements
Link: alvine.io
Located at element/html/Input.class.php
Methods summary
public
# __construct( string $value = null )

Neue Instanz von Input erstellen

Neue Instanz von Input erstellen

Parameters

$value
Wert

Link

http://www.w3.org/TR/html5/syntax.html

Overrides

Alvine\Markup\Html\Element::__construct()
public Alvine\Markup\Html\Element\Html\Input
# setAccept( string $value )

HTML-Attribute accept setzen

HTML-Attribute accept setzen

<input accept="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getAccept( )

HTML-Attribute accept holen

HTML-Attribute accept holen

<input accept="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setAlt( string $value )

HTML-Attribute alt setzen

HTML-Attribute alt setzen

<input alt="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getAlt( )

HTML-Attribute alt holen

HTML-Attribute alt holen

<input alt="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setAutocomplete( string $value )

HTML-Attribute autocomplete setzen

HTML-Attribute autocomplete setzen

<input autocomplete="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getAutocomplete( )

HTML-Attribute autocomplete holen

HTML-Attribute autocomplete holen

<input autocomplete="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setAutoFocus( string $value )

HTML-Attribute autofocus setzen

HTML-Attribute autofocus setzen

<input autofocus="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getAutoFocus( )

HTML-Attribute autofocus holen

HTML-Attribute autofocus holen

<input autofocus="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setChecked( string $value )

HTML-Attribute checked setzen

HTML-Attribute checked setzen

<input checked="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getChecked( )

HTML-Attribute checked holen

HTML-Attribute checked holen

<input checked="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setDirname( string $value )

HTML-Attribute dirname setzen

HTML-Attribute dirname setzen

<input dirname="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getDirname( )

HTML-Attribute dirname holen

HTML-Attribute dirname holen

<input dirname="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setDisabled( string $value )

HTML-Attribute disabled setzen

HTML-Attribute disabled setzen

<input disabled="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getDisabled( )

HTML-Attribute disabled holen

HTML-Attribute disabled holen

<input disabled="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setForm( string $value )

HTML-Attribute form setzen

HTML-Attribute form setzen

<input form="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getForm( )

HTML-Attribute form holen

HTML-Attribute form holen

<input form="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setFormAction( string $value )

HTML-Attribute formaction setzen

HTML-Attribute formaction setzen

<input formaction="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getFormAction( )

HTML-Attribute formaction holen

HTML-Attribute formaction holen

<input formaction="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setFormenCType( string $value )

HTML-Attribute formenctype setzen

HTML-Attribute formenctype setzen

<input formenctype="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getFormenCType( )

HTML-Attribute formenctype holen

HTML-Attribute formenctype holen

<input formenctype="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setFormMethod( string $value )

HTML-Attribute formmethod setzen

HTML-Attribute formmethod setzen

<input formmethod="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getFormMethod( )

HTML-Attribute formmethod holen

HTML-Attribute formmethod holen

<input formmethod="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setFormNoValidate( string $value )

HTML-Attribute formnovalidate setzen

HTML-Attribute formnovalidate setzen

<input formnovalidate="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getFormNoValidate( )

HTML-Attribute formnovalidate holen

HTML-Attribute formnovalidate holen

<input formnovalidate="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setFormTarget( string $value )

HTML-Attribute formtarget setzen

HTML-Attribute formtarget setzen

<input formtarget="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getFormTarget( )

HTML-Attribute formtarget holen

HTML-Attribute formtarget holen

<input formtarget="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setHeight( string $value )

HTML-Attribute height setzen

HTML-Attribute height setzen

<input height="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getHeight( )

HTML-Attribute height holen

HTML-Attribute height holen

<input height="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setList( string $value )

HTML-Attribute list setzen

HTML-Attribute list setzen

<input list="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getList( )

HTML-Attribute list holen

HTML-Attribute list holen

<input list="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setMax( string $value )

HTML-Attribute max setzen

HTML-Attribute max setzen

<input max="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getMax( )

HTML-Attribute max holen

HTML-Attribute max holen

<input max="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setMaxlength( string $value )

HTML-Attribute maxlength setzen

HTML-Attribute maxlength setzen

<input maxlength="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getMaxlength( )

HTML-Attribute maxlength holen

HTML-Attribute maxlength holen

<input maxlength="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setMin( string $value )

HTML-Attribute min setzen

HTML-Attribute min setzen

<input min="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getMin( )

HTML-Attribute min holen

HTML-Attribute min holen

<input min="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setMinlength( string $value )

HTML-Attribute minlength setzen

HTML-Attribute minlength setzen

<input minlength="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getMinlength( )

HTML-Attribute minlength holen

HTML-Attribute minlength holen

<input minlength="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setMultiple( string $value )

HTML-Attribute multiple setzen

HTML-Attribute multiple setzen

<input multiple="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getMultiple( )

HTML-Attribute multiple holen

HTML-Attribute multiple holen

<input multiple="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setNameAttribute( string $value )

HTML-Attribute name setzen

HTML-Attribute name setzen

<input name="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getNameAttribute( )

HTML-Attribute name holen

HTML-Attribute name holen

<input name="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setPattern( string $value )

HTML-Attribute pattern setzen

HTML-Attribute pattern setzen

<input pattern="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getPattern( )

HTML-Attribute pattern holen

HTML-Attribute pattern holen

<input pattern="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setPlaceholder( string $value )

HTML-Attribute placeholder setzen

HTML-Attribute placeholder setzen

<input placeholder="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getPlaceholder( )

HTML-Attribute placeholder holen

HTML-Attribute placeholder holen

<input placeholder="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setReadonly( string $value )

HTML-Attribute readonly setzen

HTML-Attribute readonly setzen

<input readonly="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getReadonly( )

HTML-Attribute readonly holen

HTML-Attribute readonly holen

<input readonly="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setRequired( string $value )

HTML-Attribute required setzen

HTML-Attribute required setzen

<input required="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getRequired( )

HTML-Attribute required holen

HTML-Attribute required holen

<input required="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setSize( string $value )

HTML-Attribute size setzen

HTML-Attribute size setzen

<input size="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getSize( )

HTML-Attribute size holen

HTML-Attribute size holen

<input size="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setSrc( string $value )

HTML-Attribute src setzen

HTML-Attribute src setzen

<input src="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getSrc( )

HTML-Attribute src holen

HTML-Attribute src holen

<input src="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setStep( string $value )

HTML-Attribute step setzen

HTML-Attribute step setzen

<input step="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getStep( )

HTML-Attribute step holen

HTML-Attribute step holen

<input step="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setType( string $value )

HTML-Attribute type setzen

HTML-Attribute type setzen

<input type="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getType( )

HTML-Attribute type holen

HTML-Attribute type holen

<input type="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setValue( string $value )

HTML-Attribute value setzen

HTML-Attribute value setzen

<input value="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input

Overrides

Alvine\Markup\Html\Node::setValue()
public string
# getValue( )

HTML-Attribute value holen

HTML-Attribute value holen

<input value="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Input
# setWidth( string $value )

HTML-Attribute width setzen

HTML-Attribute width setzen

<input width="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Input
public string
# getWidth( )

HTML-Attribute width holen

HTML-Attribute width holen

<input width="$value" />

Returns

string
Wert
Methods inherited from Alvine\Markup\Html\Element\VoidView
hasEndTag()
Methods inherited from Alvine\Markup\Html\Element\Html
fromToken(), getAccesskey(), getClass(), getContenteditable(), getDir(), getHidden(), getIdAttribute(), getLang(), getSpellcheck(), getStyle(), getTabindex(), getTitle(), getTranslate(), isDraggable(), setAccesskey(), setClass(), setContenteditable(), setDir(), setDraggable(), setHidden(), setId(), setLang(), setSpellcheck(), setStyle(), setTabindex(), setTitle(), setTranslate(), unsetHidden()
Methods inherited from Alvine\Markup\Html\Element
__clone(), getAttributeValue(), getAttributes(), getHTML(), getTag(), removeAttribute(), setAttributeValue(), setAttributes(), setSelfClosing()
Methods inherited from Alvine\Markup\Html\Node
__toString()
Properties inherited from Alvine\Markup\Html\Element
$attributes, $noEndTag, $selfClosing
alvine.markup.html API-Dokumentation 1.2.0 | © schukai GmbH | Impressum