PHP Class WPDKHTMLTagFieldset

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
$disabled string New in HTML 5. Specifies that a group of related form elements should be disabled
$form string New in HTML 5. Specifies one or more forms the fieldset belongs to. Value: form_id
$legend WPDKHTMLTagLegend Pointer to WPDKHTMLTagLegend object. This is an utility. This class create a WPDKHTMLTagLegend object for you when the params legend in constructor is not empty.
$name string New in HTML 5. Specifies a name for the fieldset.

Public Methods

Method Description
__construct ( string $content = '', string $legend = '' ) Create an instance WPDKHTMLTagFieldset class
beforeContent ( ) -------------------------------------------------------------------------------------------------------------------

Method Details

__construct() public method

Create an instance WPDKHTMLTagFieldset class
public __construct ( string $content = '', string $legend = '' )
$content string HTML inner (or adjacent) content
$legend string Content of WPDKHTMLTaglegend object

beforeContent() public method

-------------------------------------------------------------------------------------------------------------------
public beforeContent ( )

Property Details

$disabled public property

New in HTML 5. Specifies that a group of related form elements should be disabled
public string $disabled
return string

$form public property

New in HTML 5. Specifies one or more forms the fieldset belongs to. Value: form_id
public string $form
return string

$legend public property

Pointer to WPDKHTMLTagLegend object. This is an utility. This class create a WPDKHTMLTagLegend object for you when the params legend in constructor is not empty.
public WPDKHTMLTagLegend $legend
return WPDKHTMLTagLegend

$name public property

New in HTML 5. Specifies a name for the fieldset.
public string $name
return string