PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class 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.

TComponent
Extended by TApplicationComponent
Extended by TControlAdapter
Extended by TWebControlAdapter
Package: System\Web\UI\WebControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/UI/WebControls/TWebControlAdapter.php
Methods summary
public
# render( THtmlWriter $writer )

Renders the control to which the adapter is attached. It calls TWebControlAdapter::renderBeginTag(), TWebControlAdapter::renderContents() and TWebControlAdapter::renderEndTag() in order.

Renders the control to which the adapter is attached. It calls TWebControlAdapter::renderBeginTag(), TWebControlAdapter::renderContents() and TWebControlAdapter::renderEndTag() in order.

Parameters

$writer
THtmlWriter
writer for the rendering purpose

Overrides

TControlAdapter::render()
public
# renderBeginTag( THtmlWriter $writer )

Renders the openning tag for the attached control. Default implementation calls the attached control's corresponding method.

Renders the openning tag for the attached control. Default implementation calls the attached control's corresponding method.

Parameters

$writer
THtmlWriter
writer for the rendering purpose
public
# renderContents( THtmlWriter $writer )

Renders the body contents within the attached control tag. Default implementation calls the attached control's corresponding method.

Renders the body contents within the attached control tag. Default implementation calls the attached control's corresponding method.

Parameters

$writer
THtmlWriter
writer for the rendering purpose
public
# renderEndTag( THtmlWriter $writer )

Renders the closing tag for the attached control. Default implementation calls the attached control's corresponding method.

Renders the closing tag for the attached control. Default implementation calls the attached control's corresponding method.

Parameters

$writer
THtmlWriter
writer for the rendering purpose
Methods inherited from TControlAdapter
__construct(), createChildControls(), getControl(), getPage(), loadState(), onInit(), onLoad(), onPreRender(), onUnload(), renderChildren(), saveState()
Methods inherited from TApplicationComponent
getApplication(), getRequest(), getResponse(), getService(), getSession(), getUser(), publishAsset(), publishFilePath()
Methods inherited from TComponent
__call(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Properties inherited from TControlAdapter
$_control
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO