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 TControlAdapter

TControlAdapter class

TControlAdapter is the base class for adapters that customize various behaviors for the control to which the adapter is attached.

TComponent
Extended by TApplicationComponent
Extended by TControlAdapter

Direct known subclasses

TActiveControlAdapter, TActivePageAdapter, TWebControlAdapter

Indirect known subclasses

TActiveListControlAdapter
Package: System\Web\UI
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/TControlAdapter.php
Methods summary
public
# __construct( TControl $control )

Constructor.

Constructor.

Parameters

$control
TControl
the control to which the adapter is attached

Overrides

TComponent::__construct()
public TControl
# getControl( )

Returns

TControl
the control to which this adapter is attached
public TPage
# getPage( )

Returns

TPage
the page that contains the attached control
public
# createChildControls( )

Creates child controls for the attached control. Default implementation calls the attached control's corresponding method.

Creates child controls for the attached control. Default implementation calls the attached control's corresponding method.

public
# loadState( )

Loads additional persistent control state. Default implementation calls the attached control's corresponding method.

Loads additional persistent control state. Default implementation calls the attached control's corresponding method.

public
# saveState( )

Saves additional persistent control state. Default implementation calls the attached control's corresponding method.

Saves additional persistent control state. Default implementation calls the attached control's corresponding method.

public
# onInit( TEventParameter $param )

This method is invoked when the control enters 'OnInit' stage. Default implementation calls the attached control's corresponding method.

This method is invoked when the control enters 'OnInit' stage. Default implementation calls the attached control's corresponding method.

Parameters

$param
TEventParameter
event parameter to be passed to the event handlers
public
# onLoad( TEventParameter $param )

This method is invoked when the control enters 'OnLoad' stage. Default implementation calls the attached control's corresponding method.

This method is invoked when the control enters 'OnLoad' stage. Default implementation calls the attached control's corresponding method.

Parameters

$param
TEventParameter
event parameter to be passed to the event handlers
public
# onPreRender( TEventParameter $param )

This method is invoked when the control enters 'OnPreRender' stage. Default implementation calls the attached control's corresponding method.

This method is invoked when the control enters 'OnPreRender' stage. Default implementation calls the attached control's corresponding method.

Parameters

$param
TEventParameter
event parameter to be passed to the event handlers
public
# onUnload( TEventParameter $param )

This method is invoked when the control enters 'OnUnload' stage. Default implementation calls the attached control's corresponding method.

This method is invoked when the control enters 'OnUnload' stage. Default implementation calls the attached control's corresponding method.

Parameters

$param
TEventParameter
event parameter to be passed to the event handlers
public
# render( THtmlWriter $writer )

This method is invoked when the control renders itself. Default implementation calls the attached control's corresponding method.

This method is invoked when the control renders itself. Default implementation calls the attached control's corresponding method.

Parameters

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

Renders the control's children. Default implementation calls the attached control's corresponding method.

Renders the control's children. Default implementation calls the attached control's corresponding method.

Parameters

$writer
THtmlWriter
writer for the rendering purpose
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 summary
protected TControl $_control
#

the control to which the adapter is attached

the control to which the adapter is attached

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