Class \Prado\Web\UI\WebControls\TWebControlAdapter
TWebControlAdapter class
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.
Class hierarchy
- \Prado\Web\UI\WebControls\TWebControlAdapter
- \Prado\Web\UI\TControlAdapter
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.0
public
|
render(THtmlWriter $writer) : mixed
Renders the control to which the adapter is attached.
It calls renderBeginTag, renderContents and renderEndTag in order. |
public
|
renderBeginTag(THtmlWriter $writer) : mixed
Renders the openning tag for the attached control.
Default implementation calls the attached control's corresponding method. |
public
|
renderContents(THtmlWriter $writer) : mixed
Renders the body contents within the attached control tag.
Default implementation calls the attached control's corresponding method. |
public
|
renderEndTag(THtmlWriter $writer) : mixed
Renders the closing tag for the attached control.
Default implementation calls the attached control's corresponding method. |
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |