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

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

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