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
Показать файл Открыть проект

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

Метод Описание
__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 )