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
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method 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 method

This is the default tag when no other is specified
public getDefaultTagName ( ) : string
return string the default tag

getIsMutated() public method

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

getTagName() public method

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

setTagName() public method

public setTagName ( $value )