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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )