Class \Prado\Web\UI\ActiveControls\TCallbackPageStateTracker
TCallbackPageStateTracker class.
Tracking changes to the page state during callback.
Class hierarchy
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>Since: 3.1
public
|
|
public
|
|
public
|
trackChanges() : mixed
Start tracking view state changes. The clone function on objects are called
for those viewstate having an object as value.
|
protected
|
addStatesToTrack() : mixed
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
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
updateAttributes(array<string|int, mixed> $attributes) : mixed
Updates/adds a list of attributes on the control.
|
protected
|
|
protected
|
updateStyle(array<string|int, mixed> $style) : mixed
Updates the CSS style on the control on the client-side.
|
protected
|
|
protected
|
|
protected
|
updateVisible(bool $visible) : mixed
Hides or shows the control on the client-side. The control must be
already rendered on the client-side.
|
|