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 Option

Option - Option in a list box or combo box 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\Normal
Extended by Alvine\Markup\Html\Element\Html\Option
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/Option.class.php
Methods summary
public
# __construct( string $value = null )

Neue Instanz von Option erstellen

Neue Instanz von Option 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\Option
# setDisabled( string $value )

HTML-Attribute disabled setzen

HTML-Attribute disabled setzen

<option disabled="$value" />

Parameters

$value
Wert

Returns

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

HTML-Attribute disabled holen

HTML-Attribute disabled holen

<option disabled="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Option
# setLabel( string $value )

HTML-Attribute label setzen

HTML-Attribute label setzen

<option label="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Option
public string
# getLabel( )

HTML-Attribute label holen

HTML-Attribute label holen

<option label="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Option
# setSelected( string $value )

HTML-Attribute selected setzen

HTML-Attribute selected setzen

<option selected="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Option
public string
# getSelected( )

HTML-Attribute selected holen

HTML-Attribute selected holen

<option selected="$value" />

Returns

string
Wert
public Alvine\Markup\Html\Element\Html\Option
# setOptionValue( string $value )

HTML-Attribute value setzen

HTML-Attribute value setzen

<option value="$value" />

Parameters

$value
Wert

Returns

Alvine\Markup\Html\Element\Html\Option
public string
# getOptionValue( )

HTML-Attribute value holen

HTML-Attribute value holen

<option value="$value" />

Returns

string
Wert
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(), hasEndTag(), removeAttribute(), setAttributeValue(), setAttributes(), setSelfClosing()
Methods inherited from Alvine\Markup\Html\Node
__toString(), setValue()
Properties inherited from Alvine\Markup\Html\Element
$attributes, $noEndTag, $selfClosing
alvine.markup.html API-Dokumentation 1.2.0 | © schukai GmbH | Impressum