Class \Prado\Web\UI\ActiveControls\TActiveControlAdapter
TActiveControlAdapter class.
Customize the parent TControl class for active control classes. TActiveControlAdapter instantiates a common base active control class throught the \Prado\Web\UI\ActiveControls\getBaseActiveControl property. The type of BaseActiveControl can be provided in the second parameter in the constructor. Default is TBaseActiveControl or TBaseActiveCallbackControl if the control adapted implements ICallbackEventHandler.
TActiveControlAdapter will tracking viewstate changes to update the corresponding client-side properties.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveControlAdapter
- \Prado\Web\UI\TControlAdapter
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
|
public
|
|
public
|
|
public
|
onLoad(mixed $param) : mixed
Starts viewstate tracking if necessary after when controls has been loaded
|
public
|
|
public
|
|
public
|
saveState() : mixed
Saves additional persistent control state. Respond to viewstate changes
if necessary.
|
public
|
|
public
|
|
protected
|
|
protected
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |