PHP Class WPDKHTMLTagTextarea

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
$autofocus string New in HTML5. Specifies that a text area should automatically get focus when the page loads. Default 'autofocus'
$cols integer Specifies the visible width of a text area.
$disabled string Specifies that a text area should be disabled. Value: disabled
$form string New in HTML5. Specifies one or more forms the text area belongs to
$maxlength integer New in HTML5. Specifies the maximum number of characters allowed in the text area
$name string Specifies the name for a text area.
$placeholder string New in HTML5. Specifies a short hint that describes the expected value of a text area
$readonly string Specifies that a text area should be read-only. Value: readonly
$required string New in HTML5. Specifies that a text area is required/must be filled out, Default 'required'
$rows integer Specifies the visible number of lines in a text area
$wrap string Default 'hard', 'soft'

Public Methods

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

Method Details

__construct() public method

Create an instance of WPDKHTMLTagTextarea class
public __construct ( string $content = '', string $name = '', string $id = '' ) : WPDKHTMLTagTextarea
$content string HTML inner (or adjacent) content
$name string Attribute name
$id string Attribute id
return WPDKHTMLTagTextarea

Property Details

$autofocus public_oe property

New in HTML5. Specifies that a text area should automatically get focus when the page loads. Default 'autofocus'
public string $autofocus
return string

$cols public_oe property

Specifies the visible width of a text area.
public int $cols
return integer

$disabled public_oe property

Specifies that a text area should be disabled. Value: disabled
public string $disabled
return string

$form public_oe property

New in HTML5. Specifies one or more forms the text area belongs to
public string $form
return string

$maxlength public_oe property

New in HTML5. Specifies the maximum number of characters allowed in the text area
public int $maxlength
return integer

$name public_oe property

Specifies the name for a text area.
public string $name
return string

$placeholder public_oe property

New in HTML5. Specifies a short hint that describes the expected value of a text area
public string $placeholder
return string

$readonly public_oe property

Specifies that a text area should be read-only. Value: readonly
public string $readonly
return string

$required public_oe property

New in HTML5. Specifies that a text area is required/must be filled out, Default 'required'
public string $required
return string

$rows public_oe property

Specifies the visible number of lines in a text area
public int $rows
return integer

$wrap public_oe property

Default 'hard', 'soft'
public string $wrap
return string