PHP Class WPDKHTMLTagForm

Remeber to add this tag in WPDKHTMLTagName
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
ファイルを表示 Open project: wpxtreme/wpdk Class Usage Examples

Public Properties

Property Type Description
$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

Public Methods

Method Description
__construct ( string $content = '' ) : WPDKHTMLTagForm Create an instance of WPDKHTMLTagForm class

Method Details

__construct() public method

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

Property Details

$accept public_oe property

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
return string

$accept_charset public_oe property

Specifies the character encodings that are to be used for the form submission. Value: character_set
public string $accept_charset
return string

$action public_oe property

Specifies where to send the form-data when a form is submitted.
public string $action
return string

$autocomplete public_oe property

New in HTML 5. Specifies whether a form should have autocomplete on or off. Values: on, off
public string $autocomplete
return string

$enctype public_oe property

Values: application/x-www-form-urlencoded, multipart/form-data, text/plain
public string $enctype
return string

$method public_oe property

Specifies the HTTP method to use when sending form-data. Values: get, post
public string $method
return string

$name public_oe property

Specifies the name of a form
public string $name
return string

$novalidate public_oe property

New in HTML 5. Specifies that the form should not be validated when submitted. Value: novalidate
public string $novalidate
return string

$target public_oe property

Values: _blank, _self, _parent, _top
public string $target
return string