PHP 클래스 Prado\Web\UI\ActiveControls\TActiveMultiView

TActiveMultiView is the active counterpart to the original {@link TMultiView} control. It re-renders on Callback when {@link setActiveView ActiveView} or {@link setActiveViewIndex ActiveViewIndex} is called. Please refer to the original documentation of the regular counterpart for usage.
부터: 3.1.6
저자: LANDWEHR Computer und Software GmbH ([email protected])
상속: extends Prado\Web\UI\WebControls\TMultiView, implements Prado\Web\UI\ActiveControls\IActiveControl
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__construct ( ) Creates a new callback control, sets the adapter to TActiveControlAdapter.
getActiveControl ( ) : TBaseActiveControl
render ( $writer ) Renders the TActiveMultiView.
setActiveView ( $value )
setActiveViewIndex ( $value )

보호된 메소드들

메소드 설명
getContainerID ( ) : string Returns the id of the surrounding container (span).
renderMultiView ( $writer ) Renders the TActiveMultiView by writing a span tag with the container id obtained from {@link getContainerID()} which will be called by the replacement method of the client script to update it's content.

메소드 상세

__construct() 공개 메소드

Creates a new callback control, sets the adapter to TActiveControlAdapter.
public __construct ( )

getActiveControl() 공개 메소드

public getActiveControl ( ) : TBaseActiveControl
리턴 TBaseActiveControl standard active control options.

getContainerID() 보호된 메소드

Returns the id of the surrounding container (span).
protected getContainerID ( ) : string
리턴 string container id

render() 공개 메소드

If the MutliView did not pass the prerender phase yet, it will register itself for rendering later. Else it will call the {@link renderMultiView()} method which will do the rendering of the MultiView.
public render ( $writer )

renderMultiView() 보호된 메소드

Renders the TActiveMultiView by writing a span tag with the container id obtained from {@link getContainerID()} which will be called by the replacement method of the client script to update it's content.
protected renderMultiView ( $writer )
$writer THtmlWriter writer for the rendering purpose

setActiveView() 공개 메소드

public setActiveView ( $value )

setActiveViewIndex() 공개 메소드

public setActiveViewIndex ( $value )