Class \Prado\Web\UI\ActiveControls\TActiveMultiView
TActiveMultiView class.
TActiveMultiView is the active counterpart to the original TMultiView control. It re-renders on Callback when \Prado\Web\UI\ActiveControls\setActiveView or \Prado\Web\UI\ActiveControls\setActiveViewIndex is called.
Please refer to the original documentation of the regular counterpart for usage.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveMultiView implements IActiveControl
- \Prado\Web\UI\WebControls\TMultiView
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1.6
public
|
|
public
|
|
public
|
render(THtmlWriter $writer) : mixed
Renders the TActiveMultiView.
If the MutliView did not pass the prerender phase yet, it will register itself for rendering later. Else it will call the renderMultiView() method which will do the rendering of the MultiView. |
public
|
|
public
|
|
protected
|
|
protected
|
renderMultiView(THtmlWriter $writer) : mixed
Renders the TActiveMultiView by writing a span tag with the container id obtained from {@see getContainerID()}
which will be called by the replacement method of the client script to update it's content.
|