PHP Класс Prado\Web\UI\ActiveControls\TActiveImage

TActiveImage allows the {@link setAlternateText AlternateText}, {@link setImageAlign ImageAlign}, {@link setImageUrl ImageUrl}, and {@link setDescriptionUrl DescriptionUrl} to be updated during a callback request.
С версии: 3.1
Наследование: extends Prado\Web\UI\WebControls\TImage, 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
setAlternateText ( $value ) Sets the alternative text to be displayed in the TImage when the image is unavailable.
setDescriptionUrl ( $value )
setImageAlign ( $value ) Sets the alignment of the image with respective to other elements on the page.
setImageUrl ( $value )

Описание методов

__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.

setAlternateText() публичный Метод

Sets the alternative text to be displayed in the TImage when the image is unavailable.
public setAlternateText ( $value )

setDescriptionUrl() публичный Метод

public setDescriptionUrl ( $value )

setImageAlign() публичный Метод

Possible values include: absbottom, absmiddle, baseline, bottom, left, middle, right, texttop, and top. If an empty string is passed in, imagealign attribute will not be rendered.
public setImageAlign ( $value )

setImageUrl() публичный Метод

public setImageUrl ( $value )