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
Since: 3.0
Author: Jason Ragsdale ([email protected])
Author: Harry Pottash ([email protected])
Inheritance: extends TWebControl, implements Prado\IDataRenderer
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
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 )

Méthodes protégées

Méthode Description
addAttributesToRender ( $writer ) Adds attribute name-value pairs to renderer.
getTagName ( ) : string

Method Details

addAttributesToRender() protected méthode

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

getAlign() public méthode

public getAlign ( ) : TInlineFrameAlign
Résultat TInlineFrameAlign alignment of the iframe. Defaults to TInlineFrameAlign::NotSet.

getData() public méthode

It is the same as {@link getFrameUrl()}.
See also: getFrameUrl
Since: 3.1.0
public getData ( ) : string
Résultat string the URL that this iframe will load content from

getDescriptionUrl() public méthode

public getDescriptionUrl ( ) : string
Résultat string the URL to long description

getFrameUrl() public méthode

public getFrameUrl ( ) : string
Résultat string URL that this iframe will load content from. Defaults to ''.

getHeight() public méthode

public getHeight ( ) : integer
Résultat integer the height of the control

getMarginHeight() public méthode

public getMarginHeight ( ) : integer
Résultat 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 méthode

public getMarginWidth ( ) : integer
Résultat 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 méthode

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

getShowBorder() public méthode

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

getTagName() protected méthode

protected getTagName ( ) : string
Résultat string tag name of the iframe.

getWidth() public méthode

public getWidth ( ) : integer
Résultat integer the width of the control

setAlign() public méthode

public setAlign ( $value )

setData() public méthode

This method is required by {@link \Prado\IDataRenderer}. It is the same as {@link setFrameUrl()}.
See also: setFrameUrl
Since: 3.1.0
public setData ( $value )

setDescriptionUrl() public méthode

public setDescriptionUrl ( $value )

setFrameUrl() public méthode

public setFrameUrl ( $value )

setHeight() public méthode

public setHeight ( $value )

setMarginHeight() public méthode

public setMarginHeight ( $value )

setMarginWidth() public méthode

public setMarginWidth ( $value )

setScrollBars() public méthode

public setScrollBars ( $value )

setShowBorder() public méthode

public setShowBorder ( $value )

setWidth() public méthode

public setWidth ( $value )