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

The active control counterpart of THyperLink component. When {@link TBaseActiveControl::setEnableUpdate ActiveControl.EnableUpdate} property is true the during a callback request, setting {@link setText Text} property will also set the text of the label on the client upon callback completion. Similarly, for other properties such as {@link setImageUrl ImageUrl}, {@link setNavigateUrl NavigateUrl} and {@link setTarget Target}.
부터: 3.1
상속: extends Prado\Web\UI\WebControls\THyperLink, implements Prado\Web\UI\ActiveControls\IActiveControl
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__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
setImageUrl ( $value ) Sets the location of image file of the THyperLink.
setNavigateUrl ( $value ) Sets the URL to link to when the THyperLink component is clicked.
setTarget ( $value ) Sets the target window or frame to display the Web page content linked to when the THyperLink component is clicked.
setText ( $value ) On callback response, the inner HTMl of the label is updated.

메소드 상세

__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 ( )

getActiveControl() 공개 메소드

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

setImageUrl() 공개 메소드

Sets the location of image file of the THyperLink.
public setImageUrl ( $value )

setNavigateUrl() 공개 메소드

Sets the URL to link to when the THyperLink component is clicked.
public setNavigateUrl ( $value )

setTarget() 공개 메소드

Sets the target window or frame to display the Web page content linked to when the THyperLink component is clicked.
public setTarget ( $value )

setText() 공개 메소드

On callback response, the inner HTMl of the label is updated.
public setText ( $value )