PHP Class Prado\Web\UI\WebControls\THtmlElement

THtmlElement represents a generic HTML element whose tag name is specified via {@link setTagName TagName} property. Because THtmlElement extends from {@link TWebControl}, it enjoys all its functionalities. To change the default tag your subclass should override {@link getDefaultTagName}
Since: 3.1.2
Author: Qiang Xue ([email protected])
Author: Brad Anderson ([email protected])
Inheritance: extends TWebControl
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
getDefaultTagName ( ) : string This is the default tag when no other is specified
getIsMutated ( ) : boolean This tells you if this TagName has deviated from the original
getTagName ( ) : string
setTagName ( $value )

Method Details

getDefaultTagName() public méthode

This is the default tag when no other is specified
public getDefaultTagName ( ) : string
Résultat string the default tag

getIsMutated() public méthode

This tells you if this TagName has deviated from the original
public getIsMutated ( ) : boolean
Résultat boolean true if TagName has deviated from the default.

getTagName() public méthode

public getTagName ( ) : string
Résultat string the tag name of this control. Defaults to 'span'.

setTagName() public méthode

public setTagName ( $value )