PHP Класс WPDKHTMLTagTextarea

Remeber to add this tag in WPDKHTMLTagName
Автор: =undo= ([email protected])
Наследование: extends WPDKHTMLTag
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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'

Открытые методы

Метод Описание
__construct ( string $content = '', string $name = '', string $id = '' ) : WPDKHTMLTagTextarea Create an instance of WPDKHTMLTagTextarea class

Описание методов

__construct() публичный Метод

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
Результат WPDKHTMLTagTextarea

Описание свойств

$autofocus публичное свойство

New in HTML5. Specifies that a text area should automatically get focus when the page loads. Default 'autofocus'
public string $autofocus
Результат string

$cols публичное свойство

Specifies the visible width of a text area.
public int $cols
Результат integer

$disabled публичное свойство

Specifies that a text area should be disabled. Value: disabled
public string $disabled
Результат string

$form публичное свойство

New in HTML5. Specifies one or more forms the text area belongs to
public string $form
Результат string

$maxlength публичное свойство

New in HTML5. Specifies the maximum number of characters allowed in the text area
public int $maxlength
Результат integer

$name публичное свойство

Specifies the name for a text area.
public string $name
Результат string

$placeholder публичное свойство

New in HTML5. Specifies a short hint that describes the expected value of a text area
public string $placeholder
Результат string

$readonly публичное свойство

Specifies that a text area should be read-only. Value: readonly
public string $readonly
Результат string

$required публичное свойство

New in HTML5. Specifies that a text area is required/must be filled out, Default 'required'
public string $required
Результат string

$rows публичное свойство

Specifies the visible number of lines in a text area
public int $rows
Результат integer

$wrap публичное свойство

Default 'hard', 'soft'
public string $wrap
Результат string