PHP Класс WPDKHTMLTagForm

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

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

Свойство Тип Описание
$accept string Not supported in HTML5. Specifies the types of files that the server accepts (that can be submitted through a file upload). Value: MIME_type
$accept_charset string Specifies the character encodings that are to be used for the form submission. Value: character_set
$action string Specifies where to send the form-data when a form is submitted.
$autocomplete string New in HTML 5. Specifies whether a form should have autocomplete on or off. Values: on, off
$enctype string Values: application/x-www-form-urlencoded, multipart/form-data, text/plain
$method string Specifies the HTTP method to use when sending form-data. Values: get, post
$name string Specifies the name of a form
$novalidate string New in HTML 5. Specifies that the form should not be validated when submitted. Value: novalidate
$target string Values: _blank, _self, _parent, _top

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

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

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

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

Create an instance of WPDKHTMLTagForm class
public __construct ( string $content = '' ) : WPDKHTMLTagForm
$content string HTML inner (or adjacent) content
Результат WPDKHTMLTagForm

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

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

Not supported in HTML5. Specifies the types of files that the server accepts (that can be submitted through a file upload). Value: MIME_type
public string $accept
Результат string

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

Specifies the character encodings that are to be used for the form submission. Value: character_set
public string $accept_charset
Результат string

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

Specifies where to send the form-data when a form is submitted.
public string $action
Результат string

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

New in HTML 5. Specifies whether a form should have autocomplete on or off. Values: on, off
public string $autocomplete
Результат string

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

Values: application/x-www-form-urlencoded, multipart/form-data, text/plain
public string $enctype
Результат string

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

Specifies the HTTP method to use when sending form-data. Values: get, post
public string $method
Результат string

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

Specifies the name of a form
public string $name
Результат string

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

New in HTML 5. Specifies that the form should not be validated when submitted. Value: novalidate
public string $novalidate
Результат string

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

Values: _blank, _self, _parent, _top
public string $target
Результат string