PHP Класс WPDKHTMLTagButton

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

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

Свойство Тип Описание
$autofocus string Values autofocus.
$disabled string Set to 'disabled'. Specifies that a button should be 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 Values _blank, _self, _parent, _top or framename
$name string Specifies a name for the button.
$type string Specifies the type of button: button, reset, submit
$value string Specifies an initial value for the button

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

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

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

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

Create an instance of WPDKHTMLTagButton class
public __construct ( string $content = '' )
$content string HTML inner (or adjacent) content

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

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

Values autofocus.
public string $autofocus
Результат string

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

Set to 'disabled'. Specifies that a button should be disabled.
public string $disabled
Результат string

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

New in HTML 5. Specifies one or more forms the element belongs to
public string $form
Результат string

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

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

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

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

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

Values get, post
public string $formmethod
Результат string

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

New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
public string $formnovalidate
Результат string

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

Values _blank, _self, _parent, _top or framename
public string $formtarget
Результат string

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

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

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

Specifies the type of button: button, reset, submit
public string $type
Результат string

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

Specifies an initial value for the button
public string $value
Результат string