PHP Class WPDKHTMLTagLabel

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

Méthodes publiques

Свойство Type Description
$for string Specifies which form element a label is bound to. Value: element_id
$form string New in HTML 5. Specifies one or more forms the label belongs to. Value: form_id

Méthodes publiques

Méthode Description
__construct ( string $content = '' ) Create an instance of WPDKHTMLTagLabel class

Method Details

__construct() public méthode

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

Property Details

$for public_oe property

Specifies which form element a label is bound to. Value: element_id
public string $for
Résultat string

$form public_oe property

New in HTML 5. Specifies one or more forms the label belongs to. Value: form_id
public string $form
Résultat string