PHP Class WPDKHTMLTagInput

Remeber to add this tag in WPDKHTMLTagName
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
Datei anzeigen Open project: wpxtreme/wpdk Class Usage Examples

Public Properties

Property Type Description
$accept string Not supported in HTML5. Specifies the character-set of a linked document.
$align string Not supported in HTML5. Deprecated in HTML 4.01. Specifies the alignment of an image input (only for type="image"). Values: left, right, top, middle, bottom
$alt string Specifies an alternate text for images (only for type="image")
$autocomplete string New in HTML 5. Specifies whether an element should have autocomplete enabled. Values on, off
$autofocus string Values autofocus.
$checked string Specifies that an element should be pre-selected when the page loads (for type="checkbox" or type="radio"). Values checked
$disabled string Specifies that an element should be disabled. Values disabled
$form string New in HTML 5. Specifies one or more forms the element belongs to
$formaction string New in HTML 5. Specifies the URL of the file that will process the input control when the form is submitted (for type="submit" and type="image"). Values URL
$formenctype string New in HTML 5. Specifies how the form-data should be encoded when submitting it to the server (for type="submit" and type="image"). Values application/x-www-form-urlencoded, multipart/form-data, text/plain
$formmethod string Values get, post
$formnovalidate string New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
$formtarget string New in HTML 5. Specifies where to display the response that is received after submitting the form (for type="submit" and type="image"). Values _blank, _self, _parent, _top or framename
$height string New in HTML 5. Specifies the height of an element (only for type="image"). Values in pixels
$list string New in HTML 5. Refers to a element that contains pre-defined options for an element
$max string New in HTML 5. Specifies the maximum value for an element. Values number, date
$maxlength integer Specifies the maximum number of characters allowed in an element
$min integer New in HTML 5. Specifies a minimum value for an element. Values: number, date
$multiple string New in HTML 5. Specifies that a user can enter more than one value in an element, Values multiple
$name string Specifies the name of an element
$pattern string New in HTML 5. Specifies a regular expression that an element's value is checked against. Value: regexp
$placeholder string New in HTML 5. Specifies a short hint that describes the expected value of an element
$readonly string Specifies that an input field is read-only. Values readonly
$required string New in HTML 5. Specifies that an input field must be filled out before submitting the form. Values required
$size integer Specifies the width, in characters, of an element
$src string Specifies the URL of the image to use as a submit button (only for type="image")
$step integer New in HTML 5. Specifies the legal number intervals for an input field
$type string Specifies the type element to display. For values use the WPDKHTMLTagInputType
$value string Specifies the value of an element
$width integer New in HTML 5. Specifies the width of an element (only for type="image")

Public Methods

Method Description
__construct ( string $content = '', string $name = '', string $id = '' ) Create an instance of WPDKHTMLTagInput class

Method Details

__construct() public method

Create an instance of WPDKHTMLTagInput class
public __construct ( string $content = '', string $name = '', string $id = '' )
$content string Optional. HTML inner (or adjacent) content
$name string Optional. Attribute name
$id string Optional. Attribute id

Property Details

$accept public_oe property

Not supported in HTML5. Specifies the character-set of a linked document.
public string $accept
return string

$align public_oe property

Not supported in HTML5. Deprecated in HTML 4.01. Specifies the alignment of an image input (only for type="image"). Values: left, right, top, middle, bottom
Deprecation: in HTML 4.01
public string $align
return string

$alt public_oe property

Specifies an alternate text for images (only for type="image")
public string $alt
return string

$autocomplete public_oe property

New in HTML 5. Specifies whether an element should have autocomplete enabled. Values on, off
public string $autocomplete
return string

$autofocus public_oe property

Values autofocus.
public string $autofocus
return string

$checked public_oe property

Specifies that an element should be pre-selected when the page loads (for type="checkbox" or type="radio"). Values checked
public string $checked
return string

$disabled public_oe property

Specifies that an element should be disabled. Values disabled
public string $disabled
return string

$form public_oe property

New in HTML 5. Specifies one or more forms the element belongs to
public string $form
return string

$formaction public_oe property

New in HTML 5. Specifies the URL of the file that will process the input control when the form is submitted (for type="submit" and type="image"). Values URL
public string $formaction
return string

$formenctype public_oe property

New in HTML 5. Specifies how the form-data should be encoded when submitting it to the server (for type="submit" and type="image"). Values application/x-www-form-urlencoded, multipart/form-data, text/plain
public string $formenctype
return string

$formmethod public_oe property

Values get, post
public string $formmethod
return string

$formnovalidate public_oe property

New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
public string $formnovalidate
return string

$formtarget public_oe property

New in HTML 5. Specifies where to display the response that is received after submitting the form (for type="submit" and type="image"). Values _blank, _self, _parent, _top or framename
public string $formtarget
return string

$height public_oe property

New in HTML 5. Specifies the height of an element (only for type="image"). Values in pixels
public string $height
return string

$list public_oe property

New in HTML 5. Refers to a element that contains pre-defined options for an element
public string $list
return string

$max public_oe property

New in HTML 5. Specifies the maximum value for an element. Values number, date
public string $max
return string

$maxlength public_oe property

Specifies the maximum number of characters allowed in an element
public int $maxlength
return integer

$min public_oe property

New in HTML 5. Specifies a minimum value for an element. Values: number, date
public int $min
return integer

$multiple public_oe property

New in HTML 5. Specifies that a user can enter more than one value in an element, Values multiple
public string $multiple
return string

$name public_oe property

Specifies the name of an element
public string $name
return string

$pattern public_oe property

New in HTML 5. Specifies a regular expression that an element's value is checked against. Value: regexp
public string $pattern
return string

$placeholder public_oe property

New in HTML 5. Specifies a short hint that describes the expected value of an element
public string $placeholder
return string

$readonly public_oe property

Specifies that an input field is read-only. Values readonly
public string $readonly
return string

$required public_oe property

New in HTML 5. Specifies that an input field must be filled out before submitting the form. Values required
public string $required
return string

$size public_oe property

Specifies the width, in characters, of an element
public int $size
return integer

$src public_oe property

Specifies the URL of the image to use as a submit button (only for type="image")
public string $src
return string

$step public_oe property

New in HTML 5. Specifies the legal number intervals for an input field
public int $step
return integer

$type public_oe property

Specifies the type element to display. For values use the WPDKHTMLTagInputType
public string $type
return string

$value public_oe property

Specifies the value of an element
public string $value
return string

$width public_oe property

New in HTML 5. Specifies the width of an element (only for type="image")
public int $width
return integer