PHP Класс Prado\Web\UI\ActiveControls\TBaseActiveControl

The {@link setEnableUpdate EnableUpdate} property determines wether the active control is allowed to update the contents of the client-side when the callback response returns.
С версии: 3.1
Наследование: extends Prado\TComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $control ) Constructor. Attach a base active control to an active control instance.
canUpdateClientSide ( $bDontRequireVisibility = false ) : boolean Returns true if callback response is allowed to update the browser contents.
getEnableUpdate ( ) : boolean
setEnableUpdate ( $value )

Защищенные методы

Метод Описание
getControl ( ) : TControl
getOption ( $name, $default = null ) : mixed Gets an option named value. Options are used to store and retrive named values for the base active controls.
getOptions ( ) : TMap
getPage ( ) : TPage
setOption ( $name, $value, $default = null ) : mixed Sets a named options with a value. Options are used to store and retrive named values for the base active controls.

Описание методов

__construct() публичный Метод

Constructor. Attach a base active control to an active control instance.
public __construct ( $control )

canUpdateClientSide() публичный Метод

Is is true if the control is initilized, and is a callback request and the {@link setEnableUpdate EnableUpdate} property is true and the page is not loading post data.
public canUpdateClientSide ( $bDontRequireVisibility = false ) : boolean
Результат boolean true if the callback response is allowed update client-side contents.

getControl() защищенный Метод

protected getControl ( ) : TControl
Результат Prado\Web\UI\TControl the attached control.

getEnableUpdate() публичный Метод

public getEnableUpdate ( ) : boolean
Результат boolean true to allow fine grain callback updates.

getOption() защищенный Метод

Gets an option named value. Options are used to store and retrive named values for the base active controls.
protected getOption ( $name, $default = null ) : mixed
Результат mixed options value.

getOptions() защищенный Метод

protected getOptions ( ) : TMap
Результат Prado\Collections\TMap active control options

getPage() защищенный Метод

protected getPage ( ) : TPage
Результат TPage the page containing the attached control.

setEnableUpdate() публичный Метод

public setEnableUpdate ( $value )

setOption() защищенный Метод

Sets a named options with a value. Options are used to store and retrive named values for the base active controls.
protected setOption ( $name, $value, $default = null ) : mixed
Результат mixed options value.