PHP Class WPDKHTMLTagButton

Remeber to add this tag in WPDKHTMLTagName
Author: =undo= ([email protected])
Inheritance: extends WPDKHTMLTag
Show file Open project: wpxtreme/wpdk Class Usage Examples

Public Properties

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

Public Methods

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

Method Details

__construct() public method

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

Property Details

$autofocus public property

Values autofocus.
public string $autofocus
return string

$disabled public property

Set to 'disabled'. Specifies that a button should be disabled.
public string $disabled
return string

$form public property

New in HTML 5. Specifies one or more forms the element belongs to
public string $form
return string

$formaction public property

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

$formenctype public property

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

$formmethod public property

Values get, post
public string $formmethod
return string

$formnovalidate public property

New in HTML 5. Defines that form elements should not be validated when submitted. Values formnovalidate
public string $formnovalidate
return string

$formtarget public property

Values _blank, _self, _parent, _top or framename
public string $formtarget
return string

$name public property

Specifies a name for the button.
public string $name
return string

$type public property

Specifies the type of button: button, reset, submit
public string $type
return string

$value public property

Specifies an initial value for the button
public string $value
return string