PHP Class 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
Datei anzeigen
Open project: pradosoft/prado
Public Methods
Protected Methods
Method Details
addAttributesToRender()
protected method
This overrides the parent implementation with additional button specific attributes.
public getAlign ( ) : TInlineFrameAlign |
return |
TInlineFrameAlign |
alignment of the iframe. Defaults to TInlineFrameAlign::NotSet. |
It is the same as {@link getFrameUrl()}.
getDescriptionUrl()
public method
getFrameUrl()
public method
getHeight()
public method
getMarginHeight()
public method
public getMarginHeight ( ) : integer |
return |
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 method
public getMarginWidth ( ) : integer |
return |
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. |
getShowBorder()
public method
getTagName()
protected method
This method is required by {@link \Prado\IDataRenderer}.
It is the same as {@link setFrameUrl()}.
setDescriptionUrl()
public method
setFrameUrl()
public method
setHeight()
public method
setMarginHeight()
public method
setMarginWidth()
public method
setShowBorder()
public method