PHP 클래스 Prado\Web\UI\WebControls\TInlineFrame

TInlineFrame displays an inline frame (iframe) on a Web page. The location of the frame content is specified by {@link setFrameUrl FrameUrl}. The frame's alignment is specified by {@link setAlign Align}. The {@link setMarginWidth MarginWidth} and {@link setMarginHeight MarginHeight} properties define the number of pixels to use as the left/right margins and top/bottom margins, respectively, within the inline frame. The {@link setScrollBars ScrollBars} property specifies whether scrollbars are provided for the inline frame. And {@link setDescriptionUrl DescriptionUrl} gives the URI of a long description of the frame's contents. Original Prado v2 IFrame Author Information
부터: 3.0
저자: Jason Ragsdale ([email protected])
저자: Harry Pottash ([email protected])
상속: extends TWebControl, implements Prado\IDataRenderer
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
getAlign ( ) : TInlineFrameAlign
getData ( ) : string Returns the URL that this iframe will load content from This method is required by {@link \Prado\IDataRenderer}.
getDescriptionUrl ( ) : string
getFrameUrl ( ) : string
getHeight ( ) : integer
getMarginHeight ( ) : integer
getMarginWidth ( ) : integer
getScrollBars ( ) : TInlineFrameScrollBars
getShowBorder ( ) : boolean
getWidth ( ) : integer
setAlign ( $value )
setData ( $value ) Sets the URL that this iframe will load content from.
setDescriptionUrl ( $value )
setFrameUrl ( $value )
setHeight ( $value )
setMarginHeight ( $value )
setMarginWidth ( $value )
setScrollBars ( $value )
setShowBorder ( $value )
setWidth ( $value )

보호된 메소드들

메소드 설명
addAttributesToRender ( $writer ) Adds attribute name-value pairs to renderer.
getTagName ( ) : string

메소드 상세

addAttributesToRender() 보호된 메소드

This overrides the parent implementation with additional button specific attributes.
protected addAttributesToRender ( $writer )

getAlign() 공개 메소드

public getAlign ( ) : TInlineFrameAlign
리턴 TInlineFrameAlign alignment of the iframe. Defaults to TInlineFrameAlign::NotSet.

getData() 공개 메소드

It is the same as {@link getFrameUrl()}.
또한 보기: getFrameUrl
부터: 3.1.0
public getData ( ) : string
리턴 string the URL that this iframe will load content from

getDescriptionUrl() 공개 메소드

public getDescriptionUrl ( ) : string
리턴 string the URL to long description

getFrameUrl() 공개 메소드

public getFrameUrl ( ) : string
리턴 string URL that this iframe will load content from. Defaults to ''.

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer the height of the control

getMarginHeight() 공개 메소드

public getMarginHeight ( ) : integer
리턴 integer the amount of space, in pixels, that should be left between the frame's contents and the top and bottom margins. Defaults to -1, meaning not set.

getMarginWidth() 공개 메소드

public getMarginWidth ( ) : integer
리턴 integer the amount of space, in pixels, that should be left between the frame's contents and the left and right margins. Defaults to -1, meaning not set.

getScrollBars() 공개 메소드

public getScrollBars ( ) : TInlineFrameScrollBars
리턴 TInlineFrameScrollBars the visibility and position of scroll bars in an iframe. Defaults to TInlineFrameScrollBars::Auto.

getShowBorder() 공개 메소드

public getShowBorder ( ) : boolean
리턴 boolean whether there should be a visual separator between the frames. Defaults to true.

getTagName() 보호된 메소드

protected getTagName ( ) : string
리턴 string tag name of the iframe.

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer the width of the control

setAlign() 공개 메소드

public setAlign ( $value )

setData() 공개 메소드

This method is required by {@link \Prado\IDataRenderer}. It is the same as {@link setFrameUrl()}.
또한 보기: setFrameUrl
부터: 3.1.0
public setData ( $value )

setDescriptionUrl() 공개 메소드

public setDescriptionUrl ( $value )

setFrameUrl() 공개 메소드

public setFrameUrl ( $value )

setHeight() 공개 메소드

public setHeight ( $value )

setMarginHeight() 공개 메소드

public setMarginHeight ( $value )

setMarginWidth() 공개 메소드

public setMarginWidth ( $value )

setScrollBars() 공개 메소드

public setScrollBars ( $value )

setShowBorder() 공개 메소드

public setShowBorder ( $value )

setWidth() 공개 메소드

public setWidth ( $value )