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

TActivePanel allows the client-side panel contents to be updated during a callback response using the {@link render} method. Example: Assume $param is an instance of TCallbackEventParameter attached to the OnCallback event of a TCallback with ID "callback1", and "panel1" is the ID of a TActivePanel. function callback1_requested($sender, $param) { $this->panel1->render($param->getNewWriter()); }
부터: 3.1
상속: extends Prado\Web\UI\WebControls\TPanel, implements Prado\Web\UI\ActiveControls\IActiveControl
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor.
getActiveControl ( ) : TBaseActiveControl
render ( $writer ) Renders and replaces the panel's content on the client-side.

보호된 메소드들

메소드 설명
addAttributesToRender ( $writer ) Adds attribute id to the renderer.

메소드 상세

__construct() 공개 메소드

Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor.
public __construct ( )

addAttributesToRender() 보호된 메소드

Adds attribute id to the renderer.
protected addAttributesToRender ( $writer )

getActiveControl() 공개 메소드

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

render() 공개 메소드

When render() is called before the OnPreRender event, such as when render() is called during a callback event handler, the rendering is defered until OnPreRender event is raised.
public render ( $writer )