[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/ -> TControlAdapter.php (sommaire)

TControlAdapter class file.

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TControlAdapter.php 1397 2006-09-07 07:55:53Z wei $
Poids: 144 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TControlAdapter:: (12 méthodes):
  __construct()
  getControl()
  getPage()
  createChildControls()
  loadState()
  saveState()
  onInit()
  onLoad()
  onPreRender()
  onUnload()
  render()
  renderChildren()


Classe: TControlAdapter  - X-Ref

TControlAdapter class

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

__construct($control)   X-Ref
Constructor.

param: TControl the control to which the adapter is attached

getControl()   X-Ref

return: TControl the control to which this adapter is attached

getPage()   X-Ref

return: TPage the page that contains the attached control

createChildControls()   X-Ref
Creates child controls for the attached control.
Default implementation calls the attached control's corresponding method.


loadState()   X-Ref
Loads additional persistent control state.
Default implementation calls the attached control's corresponding method.


saveState()   X-Ref
Saves additional persistent control state.
Default implementation calls the attached control's corresponding method.


onInit($param)   X-Ref
This method is invoked when the control enters 'OnInit' stage.
Default implementation calls the attached control's corresponding method.

param: TEventParameter event parameter to be passed to the event handlers

onLoad($param)   X-Ref
This method is invoked when the control enters 'OnLoad' stage.
Default implementation calls the attached control's corresponding method.

param: TEventParameter event parameter to be passed to the event handlers

onPreRender($param)   X-Ref
This method is invoked when the control enters 'OnPreRender' stage.
Default implementation calls the attached control's corresponding method.

param: TEventParameter event parameter to be passed to the event handlers

onUnload($param)   X-Ref
This method is invoked when the control enters 'OnUnload' stage.
Default implementation calls the attached control's corresponding method.

param: TEventParameter event parameter to be passed to the event handlers

render($writer)   X-Ref
This method is invoked when the control renders itself.
Default implementation calls the attached control's corresponding method.

param: THtmlWriter writer for the rendering purpose

renderChildren($writer)   X-Ref
Renders the control's children.
Default implementation calls the attached control's corresponding method.

param: THtmlWriter writer for the rendering purpose



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7