Class TCallbackPageStateTracker
TCallbackPageStateTracker class.
Tracking changes to the page state during callback.
Package: System\Web\UI\ActiveControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Web/UI/ActiveControls/TActiveControlAdapter.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Web/UI/ActiveControls/TActiveControlAdapter.php
public
|
|
protected
|
#
addStatesToTrack( )
Add a list of view states to track. Each state is added to the StatesToTrack property with the view state name as key. The value should be an array with two enteries. The first entery is the name of the class that will calculate the state differences. The second entry is a php function/method callback that handles the changes in the viewstate. |
protected
|
|
public
|
#
trackChanges( )
Start tracking view state changes. The clone function on objects are called for those viewstate having an object as value. |
protected
array
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
updateVisible( boolean $visible )
Hides or shows the control on the client-side. The control must be already rendered on the client-side. |
protected
|
|
protected
|
|
protected
|