PHP Class WPDKHTMLTagInput

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

Méthodes publiques

Свойство 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")

Méthodes publiques

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

Method Details

__construct() public méthode

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
Résultat 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
Résultat string

$alt public_oe property

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

$autocomplete public_oe property

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

$autofocus public_oe property

Values autofocus.
public string $autofocus
Résultat 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
Résultat string

$disabled public_oe property

Specifies that an element should be disabled. Values disabled
public string $disabled
Résultat string

$form public_oe property

New in HTML 5. Specifies one or more forms the element belongs to
public string $form
Résultat 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
Résultat 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
Résultat string

$formmethod public_oe property

Values get, post
public string $formmethod
Résultat string

$formnovalidate public_oe property

New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
public string $formnovalidate
Résultat 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
Résultat 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
Résultat string

$list public_oe property

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

$max public_oe property

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

$maxlength public_oe property

Specifies the maximum number of characters allowed in an element
public int $maxlength
Résultat integer

$min public_oe property

New in HTML 5. Specifies a minimum value for an element. Values: number, date
public int $min
Résultat 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
Résultat string

$name public_oe property

Specifies the name of an element
public string $name
Résultat 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
Résultat string

$placeholder public_oe property

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

$readonly public_oe property

Specifies that an input field is read-only. Values readonly
public string $readonly
Résultat 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
Résultat string

$size public_oe property

Specifies the width, in characters, of an element
public int $size
Résultat integer

$src public_oe property

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

$step public_oe property

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

$type public_oe property

Specifies the type element to display. For values use the WPDKHTMLTagInputType
public string $type
Résultat string

$value public_oe property

Specifies the value of an element
public string $value
Résultat string

$width public_oe property

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