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
파일 보기 프로젝트 열기: 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
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 )