PHP Class Prado\Web\UI\WebControls\TWebControlAdapter

TWebControlAdapter is the base class for adapters that customize rendering for the Web control to which the adapter is attached. It may be used to modify the default markup or behavior for specific browsers.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\Web\UI\TControlAdapter
Show file Open project: pradosoft/prado

Public Methods

Method Description
render ( $writer ) Renders the control to which the adapter is attached.
renderBeginTag ( $writer ) Renders the openning tag for the attached control.
renderContents ( $writer ) Renders the body contents within the attached control tag.
renderEndTag ( $writer ) Renders the closing tag for the attached control.

Method Details

render() public method

It calls {@link renderBeginTag}, {@link renderContents} and {@link renderEndTag} in order.
public render ( $writer )

renderBeginTag() public method

Default implementation calls the attached control's corresponding method.
public renderBeginTag ( $writer )

renderContents() public method

Default implementation calls the attached control's corresponding method.
public renderContents ( $writer )

renderEndTag() public method

Default implementation calls the attached control's corresponding method.
public renderEndTag ( $writer )