PHP Класс Prado\Web\UI\JuiControls\TJuiControlAdapter

TJuiControlAdapter is the base adapter class for controls that are derived from a jQuery-ui widget. It exposes convenience methods to publish jQuery-UI javascript and css assets.
С версии: 3.3
Автор: Fabio Bas ([email protected])
Наследование: extends Prado\Web\UI\ActiveControls\TActiveControlAdapter
Показать файл Открыть проект

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

Метод Описание
getJuiBaseStyle ( ) : string
loadState ( ) Calls the parent implementation first and sets the parent control for the {@link TJuiControlOptions} again afterwards since it was not serialized in viewstate.
onInit ( $param ) Replace default StateTracker with {@link TJuiCallbackPageStateTracker} for options tracking in ViewState.
onPreRender ( $param ) Inject jquery script and styles before render
publishJuiStyle ( $file ) : string Publish the jQuery-ui style Css asset file.
setJuiBaseStyle ( $value )

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

Метод Описание
getAssetUrl ( $file = '' ) : string

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

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

protected getAssetUrl ( $file = '' ) : string
Результат string jQuery asset url.

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

public getJuiBaseStyle ( ) : string
Результат string current jquery-ui style

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

Calls the parent implementation first and sets the parent control for the {@link TJuiControlOptions} again afterwards since it was not serialized in viewstate.
public loadState ( )

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

Replace default StateTracker with {@link TJuiCallbackPageStateTracker} for options tracking in ViewState.
public onInit ( $param )

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

Inject jquery script and styles before render
public onPreRender ( $param )

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

Publish the jQuery-ui style Css asset file.
public publishJuiStyle ( $file ) : string
Результат string Css file url.

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

public setJuiBaseStyle ( $value )