Class: Frame
Source Location: /forms.inc.php
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
Class Methods
constructor __construct [line 2472]
method defaultAlign [line 2524]
method defaultBorders [line 2518]
method defaultjsOnLoad [line 2618]
method defaultLongDesc [line 2668]
method defaultMarginHeight [line 2552]
void defaultMarginHeight(
)
|
|
method defaultMarginWidth [line 2538]
void defaultMarginWidth(
)
|
|
method defaultResizeable [line 2570]
void defaultResizeable(
)
|
|
method defaultScrolling [line 2590]
method defaultSource [line 2498]
method defaultTitle [line 2684]
method dumpContents [line 2690]
method dumpJavascript [line 2639]
method FrameJSEvents [line 2628]
Returns the defined JS events for the frame. You don't need to call this method directly, is called by the component when generating the header code to add all the required events to the document. Used in this case to generate the OnLoad javascript event and the rest of standard events defined in Control
Tags:
method getAlign [line 2522]
method getBorders [line 2516]
Specifies whether or not to display a border around the frame Possible values for this property are: true - This value specifies to the browser to draw a separator between this frame and every adjoining frame. This is the default value false - This value specifies to the browser not to draw a separator between this frame and every adjoining frame. Note that separators may be drawn next to this frame nonetheless if specified by other frames
method getjsOnBlur [line 2647]
method getjsOnFocus [line 2650]
method getjsOnLoad [line 2616]
The javascript OnLoad event is called after all nested framesets and frames are finished with loading their content. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading. <?php
function Frame1JSLoad($sender, $params)
{
?>
//Add your javascript code here
alert("frame has been loaded");
<?php
}
?>
method getjsOnResize [line 2653]
method getLongDesc [line 2666]
This property specifies a link to a long description of the frame. This description should supplement the short description provided using the title attribute, and may be particularly useful for non-visual user agents.
method getMarginHeight [line 2550]
integer getMarginHeight(
)
|
|
This property specifies the amount of space to be left between the frame's contents in its top and bottom margins. The value must be greater than zero (pixels). The default value depends on the browser.
method getMarginWidth [line 2536]
integer getMarginWidth(
)
|
|
This property specifies the amount of space to be left between the frame's contents in its left and right margins. The value must be greater than zero (pixels). The default value depends on the browser.
method getResizeable [line 2568]
Specifies if the frame is able to be resized by the user or not. When set to false the user cannot resize the frame, when true, the user has an option, by placing the mouse over the margin of the frame, to adjust the size of the control. You have to check also the Borders property of the Frameset that holds this frame, as must be set to true for borders to show.
Tags:
method getScrolling [line 2588]
Determines if the frame is going to have scrollbars to allow the user navigate through all the content. fsAuto will show scrollbars when needed, that is, when the content is outside the viewport of the frame. fsYes will always show scrollbars and fsNo won't show any. fsAuto - This value tells the browser to provide scrolling devices for the frame window when necessary. This is the default value. fsYes - This value tells the browser to always provide scrolling devices for the frame window. fsNo - This value tells the browser not to provide scrolling devices for the frame window.
Tags:
method getSource [line 2496]
Defines the URL of the file/document to show inside the frame. The frame, when rendered, will load the contents specified by the URL set on this property, it can be an URL to internet, intranet, a file on your system, etc. <?php
//This line sets the Frame::Source property to an external document
$this->Frame1->Source="http://vcl4php.sourceforge.net";
?>
method getStyle [line 2687]
method getTitle [line 2682]
This property offers advisory information about the frame component. Values of this property may be rendered by browsers in a variety of ways. For instance, visual browsers frequently display the title as a "tool tip" (a short message that appears when the pointing device pauses over an object). Audio user agents may speak the title information in a similar context.
method setAlign [line 2523]
method setBorders [line 2517]
method setjsOnBlur [line 2648]
void setjsOnBlur(
$value)
|
|
Parameters:
method setjsOnFocus [line 2651]
void setjsOnFocus(
$value)
|
|
Parameters:
method setjsOnLoad [line 2617]
void setjsOnLoad(
$value)
|
|
Parameters:
method setjsOnResize [line 2654]
void setjsOnResize(
$value)
|
|
Parameters:
method setLongDesc [line 2667]
void setLongDesc(
$value)
|
|
Parameters:
method setMarginHeight [line 2551]
void setMarginHeight(
$value)
|
|
Parameters:
method setMarginWidth [line 2537]
void setMarginWidth(
$value)
|
|
Parameters:
method setResizeable [line 2569]
void setResizeable(
$value)
|
|
Parameters:
method setScrolling [line 2589]
void setScrolling(
$value)
|
|
Parameters:
method setSource [line 2497]
method setStyle [line 2688]
method setTitle [line 2683]
Documentation generated on Sat, 13 Jun 2009 10:51:39 -0700 by phpDocumentor 1.4.1
|