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

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

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