Class \Prado\Web\UI\ActiveControls\TBaseActiveControl
TBaseActiveControl class provided additional basic property for every
active control. An instance of TBaseActiveControl or its decendent
TBaseActiveCallbackControl is created by {@see \Prado\Web\UI\ActiveControls\TActiveControlAdapter::getBaseActiveControl()}
method.
The \Prado\Web\UI\ActiveControls\setEnableUpdate property determines wether the active control is allowed to update the contents of the client-side when the callback response returns.
Class hierarchy
Author: Wei Zhuo <weizhuo[at]gamil[dot]com>Since: 3.1
public
|
__construct(TControl $control) : mixed
Constructor. Attach a base active control to an active control instance.
|
public
|
canUpdateClientSide([mixed $bDontRequireVisibility = false ]) : bool
Returns true if callback response is allowed to update the browser contents.
Is is true if the control is initilized, and is a callback request and the \Prado\Web\UI\ActiveControls\setEnableUpdate property is true and the page is not loading post data. |
public
|
|
public
|
|
protected
|
|
protected
|
getOption(string $name[, mixed $default = null ]) : mixed
Gets an option named value. Options are used to store and retrive
named values for the base active controls.
|
protected
|
|
protected
|
|
protected
|
setOption(string $name, mixed $value[, mixed $default = null ]) : mixed
Sets a named options with a value. Options are used to store and retrive
named values for the base active controls.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |