VCL
[ class tree: VCL ] [ index: VCL ] [ all elements ]

Class: Page

Source Location: /forms.inc.php

Class Overview

Object
   |
   --Persistent
      |
      --Component
         |
         --Control
            |
            --FocusControl
               |
               --ScrollingControl
                  |
                  --CustomPage
                     |
                     --Page

A class to encapsulate a web page.


Author(s):

Variables

Methods


Inherited Variables

Class: Control

Control::$_adjusttolayout
Control::$_align
Control::$_alignment
Control::$_attributes
Control::$_autosize
Control::$_cached
Control::$_caption
Control::$_color
Control::$_controlstyle
Control::$_cursor
Control::$_designcolor
Control::$_divwrap
Control::$_enabled
Control::$_font
Control::$_height
Control::$_hidden
Control::$_hint
Control::$_islayer
Control::$_jsonactivate
Control::$_jsonbeforecopy
Control::$_jsonbeforecut
Control::$_jsonbeforedeactivate
Control::$_jsonbeforeeditfocus
Control::$_jsonbeforepaste
Control::$_jsonblur
Control::$_jsonchange
Control::$_jsonclick
Control::$_jsoncontextmenu
Control::$_jsoncontrolselect
Control::$_jsoncopy
Control::$_jsoncut
Control::$_jsondblclick
Control::$_jsondeactivate
Control::$_jsondrag
Control::$_jsondragenter
Control::$_jsondragleave
Control::$_jsondragover
Control::$_jsondragstart
Control::$_jsondrop
Control::$_jsonfilterchange
Control::$_jsonfocus
Control::$_jsonhelp
Control::$_jsonkeydown
Control::$_jsonkeypress
Control::$_jsonkeyup
Control::$_jsonlosecapture
Control::$_jsonmousedown
Control::$_jsonmouseenter
Control::$_jsonmouseleave
Control::$_jsonmousemove
Control::$_jsonmouseout
Control::$_jsonmouseover
Control::$_jsonmouseup
Control::$_jsonpaste
Control::$_jsonpropertychange
Control::$_jsonreadystatechange
Control::$_jsonresize
Control::$_jsonresizeend
Control::$_jsonresizestart
Control::$_jsonselectstart
Control::$_layer
Control::$_left
Control::$_onaftershow
Control::$_onbeforeshow
Control::$_onshow
Control::$_parent
Control::$_parentcolor
Control::$_parentfont
Control::$_parentshowhint
Control::$_popupmenu
Control::$_showhint
Control::$_style
Control::$_top
Control::$_visible
Control::$_width

Inherited Methods

Class: CustomPage

CustomPage::__construct()
CustomPage::serialize()

Class: FocusControl

FocusControl::__construct()
FocusControl::dumpChildren()
Dumps all children iterating through the Controls property and calls the show method of each one.
FocusControl::readControlCount()
Returns the number of controls for which this control is the Parent.
FocusControl::readLayout()
Specifies the Layout this control uses to render its controls to the browser.
FocusControl::updateChildrenColors()
Updates the colors for all the children if parentcolor is set.
FocusControl::updateChildrenFonts()
If this control has any children that have ParentFont==true, then this function will assign the same Font property to all children Font properties.
FocusControl::updateChildrenParentProperties()
Updates all necessary properties for any children that use property values from their parent.
FocusControl::updateChildrenShowHints()
Updates the ShowHints properties for all children controls.
FocusControl::writeLayout()

Class: Control

Control::__construct()
Constructor for the class
Control::addJSWrapperToEvents()
Adds or replaces the JS event attribute with the wrapper.
Control::beginCache()
Control::canShow()
Determines whether a control can be shown or not.
Control::defaultAdjustToLayout()
Control::defaultAlign()
Control::defaultAlignment()
Control::defaultAttributes()
Control::defaultAutosize()
Control::defaultCached()
Control::defaultCaption()
Control::defaultColor()
Control::defaultCursor()
Control::defaultDesignColor()
Control::defaultDivWrap()
Control::defaultEnabled()
Control::defaultHeight()
Control::defaultHidden()
Control::defaultHint()
Control::defaultIsLayer()
Control::defaultjsOnActivate()
Control::defaultjsOnBeforeCopy()
Control::defaultjsOnBeforeCut()
Control::defaultjsOnBeforeDeactivate()
Control::defaultjsOnBeforeEditfocus()
Control::defaultjsOnBeforePaste()
Control::defaultjsOnBlur()
Control::defaultjsOnChange()
Control::defaultjsOnClick()
Control::defaultjsOnContextMenu()
Control::defaultjsOnControlSelect()
Control::defaultjsOnCopy()
Control::defaultjsOnCut()
Control::defaultjsOnDblClick()
Control::defaultjsOnDeActivate()
Control::defaultjsOnDrag()
Control::defaultjsOnDragEnter()
Control::defaultjsOnDragLeave()
Control::defaultjsOnDragOver()
Control::defaultjsOnDragStart()
Control::defaultjsOnDrop()
Control::defaultjsOnFilterChange()
Control::defaultjsOnFocus()
Control::defaultjsOnHelp()
Control::defaultjsOnKeyDown()
Control::defaultjsOnKeyPress()
Control::defaultjsOnKeyUp()
Control::defaultjsOnLoseCapture()
Control::defaultjsOnMouseDown()
Control::defaultjsOnMouseEnter()
Control::defaultjsOnMouseLeave()
Control::defaultjsOnMouseMove()
Control::defaultjsOnMouseOut()
Control::defaultjsOnMouseOver()
Control::defaultjsOnMouseUp()
Control::defaultjsOnPaste()
Control::defaultjsOnPropertyChange()
Control::defaultjsOnReadyStateChange()
Control::defaultjsOnResize()
Control::defaultjsOnResizeEnd()
Control::defaultjsOnResizeStart()
Control::defaultjsOnSelectStart()
Control::defaultLayer()
Control::defaultLeft()
Control::defaultOnAfterShow()
Control::defaultOnBeforeShow()
Control::defaultOnShow()
Control::defaultParentColor()
Control::defaultParentFont()
Control::defaultParentShowHint()
Control::defaultPopupmenu()
Control::defaultShowHint()
Control::defaultStyle()
Control::defaultTop()
Control::defaultVisible()
Control::defaultWidth()
Control::dumpChildren()
Dumps all children components.
Control::dumpContents()
Dumps the control contents.
Control::dumpHeaderCode()
Dumps the component header code.
Control::dumpJavascript()
Dumps all required javascript code for the component.
Control::dumpJsEvents()
Dumps all assigned javascript events code.
Control::endCache()
Control::getCached()
Control::getCursor()
Change the value of Cursor to provide feedback to the user when the mouse pointer enters the control.
Control::getHeight()
Specifies the vertical size of the control or form in pixels.
Control::getHint()
Specifies the text to show in a tooltip when the mouse is over the control for some time.
Control::getHintAttribute()
If control has any Hint, then returns the hint in attribute format for the tag.
Control::getJSWrapperFunction()
JS wrapper function that forwards a JS event to the PHP script by submitting the HTML form.
Control::getJSWrapperFunctionName()
Gets the function name of a JS event wrapper.
Control::getLayer()
Determines the layer in which this control is going to be rendered.
Control::getLeft()
Uses the Left property to determine where the left side of the control begins, or to reposition the left side of the control.
Control::getOnAfterShow()
Fires the Event after showing the control.
Control::getOnBeforeShow()
Fires the Event before showing the control.
Control::getOnShow()
Fires the Event at the same moment the control is shown. Some controls can prevent the control from being shown when this event is attached.
Control::getTop()
Uses Top to locate the top of the control, or reposition the control to a different Y coordinate.
Control::getWidth()
Specifies the horizontal size of the control or form in pixels.
Control::init()
Control::loaded()
Control::readAdjustToLayout()
A helper property for Layouts to know if the component should adjust to the layout or not
Control::readAlign()
Determines how the control aligns within its container (parent control).
Control::readAlignment()
Specifies the alignment to be used by the control, it depends on the control on how to use this property to show information.
Control::readAttributes()
A property for tag based controls to allow component user to add attributes to the tag
Control::readAutosize()
Determines if the control is going to adjust itself to the parent size
Control::readCaption()
Specifies a text string that identifies the control to the user.
Control::readColor()
Specifies the main color of the control.
Control::readControlStyle()
An array which holds the control style, with settings for the IDE.
Control::readDesignColor()
Specifies a color to use by the control at design time.
Control::readDivWrap()
Specifies if the control must be wrapped by a div or not
Control::readDoParentReset()
Performs a parent reset if true.
Control::readEnabled()
Controls whether the control responds to mouse, keyboard, and timer events.
Control::readFont()
Determines the Font to be used when generating this control.
Control::readHidden()
This property, when true, allows controls to generate all code, but don't show the control on the browser.
Control::readIsLayer()
Specifies if this control is a Layer instead of being integrated into the document.
Control::readJsEvents()
Returns a string with all assigned javascript events, ready to be added to a control tag.
Control::readjsOnActivate()
Fires when the object is set as the active element.
Control::readjsOnBeforeCopy()
Fires on the source object before the selection is copied to the system clipboard.
Control::readjsOnBeforeCut()
Fires on the source object before the selection is deleted from the document.
Control::readjsOnBeforeDeactivate()
Fires immediately before the activeElement is changed from the current object to another object in the parent document.
Control::readjsOnBeforeEditfocus()
Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected.
Control::readjsOnBeforePaste()
Fires on the target object before the selection is pasted from the system clipboard to the document.
Control::readjsOnBlur()
Fires when the object loses the input focus.
Control::readjsOnChange()
Fires when the contents of the object or selection have changed.
Control::readjsOnClick()
Fires when the user clicks the left mouse button on the object.
Control::readjsOnContextMenu()
Fires when the user clicks the right mouse button in the client area, opening the context menu.
Control::readjsOnControlSelect()
Fires when the user is about to make a control selection of the object.
Control::readjsOnCopy()
Fires on the source element when the user copies the object or selection, adding it to the system clipboard.
Control::readjsOnCut()
Fires on the source element when the object or selection is removed from the document and added to the system clipboard.
Control::readjsOnDblClick()
Fires when the user double-clicks the object.
Control::readjsOnDeActivate()
Fires when the activeElement is changed from the current object to another object in the parent document.
Control::readjsOnDrag()
Fires on the source object continuously during a drag operation.
Control::readjsOnDragEnter()
Fires on the target element when the user drags the object to a valid drop target.
Control::readjsOnDragLeave()
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
Control::readjsOnDragOver()
Fires on the target element continuously while the user drags the object over a valid drop target.
Control::readjsOnDragStart()
Fires on the source object when the user starts to drag a text selection or selected object.
Control::readjsOnDrop()
Fires on the target object when the mouse button is released during a drag-and-drop operation.
Control::readjsOnFilterChange()
Fires when a visual filter changes state or completes a transition.
Control::readjsOnFocus()
Fires when the object receives focus.
Control::readjsOnHelp()
Fires when the user presses the F1 key while the browser is the active window.
Control::readjsOnKeyDown()
Fires when the user presses a key.
Control::readjsOnKeyPress()
Fires when the user presses an alphanumeric key.
Control::readjsOnKeyUp()
Fires when the user releases a key.
Control::readjsOnLoseCapture()
Fires when the object loses the mouse capture.
Control::readjsOnMouseDown()
Fires when the user clicks the object with either mouse button.
Control::readjsOnMouseEnter()
Fires when the user moves the mouse pointer into the object.
Control::readjsOnMouseLeave()
Fires when the user moves the mouse pointer outside the boundaries of the object.
Control::readjsOnMouseMove()
Fires when the user moves the mouse over the object.
Control::readjsOnMouseOut()
Fires when the user moves the mouse pointer outside the boundaries of the object.
Control::readjsOnMouseOver()
Fires when the user moves the mouse pointer into the object.
Control::readjsOnMouseUp()
Fires when the user releases a mouse button while the mouse is over the object.
Control::readjsOnPaste()
Fires on the target object when the user pastes data, transferring the data from the system clipboard to the document.
Control::readjsOnPropertyChange()
Fires when a property changes on the object.
Control::readjsOnReadyStateChange()
Fires when the state of the object has changed.
Control::readjsOnResize()
Fires when the size of the object is about to change.
Control::readjsOnResizeEnd()
Fires when the user finishes changing the dimensions of the object in a control selection.
Control::readjsOnResizeStart()
Fires when the user begins to change the dimensions of the object in a control selection
Control::readjsOnSelectStart()
Fires when the object is being selected
Control::readJSWrapperHiddenFieldName()
Gets the name of the hidden field used to submit the value for the event that was fired.
Control::readJSWrapperSubmitEventValue()
Sets the value to the hidden field when the specific JS event was fired and the wrapper function was called.
Control::readParent()
Indicates the parent of the control.
Control::readParentColor()
Determines where a control looks for its color information.
Control::readParentFont()
Determines where a control looks for its font information.
Control::readParentShowHint()
Determines where a control looks to find out if its Help Hint should be shown.
Control::readPopupMenu()
Identifies the pop-up menu associated with the control.
Control::readShowHint()
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control.
Control::readStyle()
Use this property to attach a css style to the control.
Control::readStyleClass()
Normalizes the css style class name
Control::readVisible()
Determines whether the component appears on the browser.
Control::setCached()
Control::setCursor()
Control::setHeight()
Control::setHint()
Control::setLayer()
Control::setLeft()
Control::setOnAfterShow()
Control::setOnBeforeShow()
Control::setOnShow()
Control::setTop()
Control::setWidth()
Control::show()
Dumps the code for the control to the output.
Control::updateParentColor()
If ParentColor == true the parent's color is assigned to this control.
Control::updateParentFont()
If ParentFont == true the parent's font is assigned to this control.
Control::updateParentProperties()
Updates all properties that use the parent property as source.
Control::updateParentShowHint()
If ParentShowHint == true the parent's showhint is assigned to this control.
Control::writeAdjustToLayout()
Control::writeAlign()
Control::writeAlignment()
Control::writeAttributes()
Control::writeAutosize()
Control::writeCaption()
Control::writeColor()
Control::writeControlStyle()
Control::writeDesignColor()
Control::writeDivWrap()
Control::writeEnabled()
Control::writeFont()
Control::writeHidden()
Control::writeIsLayer()
Control::writejsOnActivate()
Control::writejsOnBeforeCopy()
Control::writejsOnBeforeCut()
Control::writejsOnBeforeDeactivate()
Control::writejsOnBeforeEditfocus()
Control::writejsOnBeforePaste()
Control::writejsOnBlur()
Control::writejsOnChange()
Control::writejsOnClick()
Control::writejsOnContextMenu()
Control::writejsOnControlSelect()
Control::writejsOnCopy()
Control::writejsOnCut()
Control::writejsOnDblClick()
Control::writejsOnDeActivate()
Control::writejsOnDrag()
Control::writejsOnDragEnter()
Control::writejsOnDragLeave()
Control::writejsOnDragOver()
Control::writejsOnDragStart()
Control::writejsOnDrop()
Control::writejsOnFilterChange()
Control::writejsOnFocus()
Control::writejsOnHelp()
Control::writejsOnKeyDown()
Control::writejsOnKeyPress()
Control::writejsOnKeyUp()
Control::writejsOnLoseCapture()
Control::writejsOnMouseDown()
Control::writejsOnMouseEnter()
Control::writejsOnMouseLeave()
Control::writejsOnMouseMove()
Control::writejsOnMouseOut()
Control::writejsOnMouseOver()
Control::writejsOnMouseUp()
Control::writejsOnPaste()
Control::writejsOnPropertyChange()
Control::writejsOnReadyStateChange()
Control::writejsOnResize()
Control::writejsOnResizeEnd()
Control::writejsOnResizeStart()
Control::writejsOnSelectStart()
Control::writeParent()
Control::writeParentColor()
Control::writeParentFont()
Control::writeParentShowHint()
Control::writePopupMenu()
Control::writeShowHint()
Control::writeStyle()
Control::writeVisible()

Class: Component

Component::__construct()
Component constructor
Component::ajaxCall()
Dumps the javascript code to make an ajax call to the server.
Component::callEvent()
Calls a server event.
Component::defaultName()
Component::defaultTag()
Component::dumpChildrenFormItems()
This method is called by the page just after dumping the starting form tag.
Component::dumpChildrenHeaderCode()
Dumps the header code for all the children
Component::dumpChildrenJavascript()
Dumps the javascript code for all the children
Component::dumpFormItems()
Dumps code just after the form tag, useful to dump hidden fields for state retrieving for non visible components
Component::dumpHeaderCode()
Dumps header code required
Component::dumpHiddenKeyFields()
Dumps hidden field values for the key record
Component::dumpJavascript()
Dumps the javascript code needed by this component
Component::dumpJSEvent()
Dumps javascript code for an event
Component::fixupProperty()
Resolves the right reference to an object property
Component::generateAjaxEvent()
Returns the javascript code to generate an ajax call.
Component::getName()
Specifies the name for the component. The name is used as an identifier and should be unique.
Component::getTag()
A versatile property of every Component that can be used in any way you want
Component::hasValidDataField()
Returns true if a valid data field is attached to the component
Component::init()
Initializes a component
Component::insertComponent()
Inserts a component into the component's collection
Component::loaded()
Initializes the component after the form file has been read into memory.
Component::loadedChildren()
Calls childrens loaded
Component::loadResource()
Loads this component from a string
Component::preinit()
Method called before init()
Component::readAccessibility()
Provides accessibility info to the embedded RPC engine.
Component::readComponentCount()
Indicates the number of components owned by the component.
Component::readComponents()
Lists all the components owned by this component.
Component::readControlState()
A flag to know the state of the control, csLoading, csDesigning
Component::readDataFieldValue()
This property returns the value of the datafield if any.
Component::readFromResource()
Reads a component from a resource file
Component::readNamePath()
Specifies the path to uniquely identify a component, qualified by the owner when required.
Component::readOwner()
Indicates the component that is responsible for streaming and freeing this component.
Component::removeComponent()
Removes a component from the component's collection
Component::serializeChildren()
Serializes all children
Component::setName()
Component::setTag()
Component::unserializeChildren()
Unserializes all children by calling unserialize for all the components
Component::updateDataField()
Updates the field on the dataset attached, if any
Component::writeControlState()

Class: Persistent

Persistent::allowserialize()
This method provides an opportunity for the component developer to prevent the serialization/unserialization of a property.
Persistent::assign()
Assigns the source properties to this object.
Persistent::assignError()
Raises an assignation error.
Persistent::assignTo()
Assigns this object to another object.
Persistent::inSession()
This method determines if this object exists in the current session.
Persistent::readNamePath()
Used to serialize/unserialize. It returns the full path to identify this component.
Persistent::readOwner()
Owner of the component.
Persistent::serialize()
Stores this object into the session.
Persistent::unserialize()
This method uses PHP reflection to iterate through published properties (the ones starting with get) and retrieve the properties stored by a previous serialize() call.

Class: Object

Object::__construct()
Constructs an object and initializes its data before the object is first used.
Object::className()
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
Object::classNameIs()
Determines whether an object is of a specific type.
Object::classParent()
Returns the type of the immediate ancestor of a class.
Object::inheritsFrom()
Determines the relationship of two object types.
Object::methodExists()
Check if a method exists declared on this object instance.
Object::readProperty()
Reads a property from the streams
Object::__get()
To virtualize properties
Object::__set()
To virtualize properties

Class Details

[line 894]
A class to encapsulate a web page.

This class is the foundation of the VCL, it's the main container in which all controls that make up your interface are placed. In the web world, the Page class, in short, generates an HTML document and is responsible to render all controls it holds inside.

If you use Delphi for PHP, Pages are created by the IDE and you drop components inside them, which are stored in an .xml.php file that is read by the Page.




Tags:

example:  example not found
example:  example not found
example:  example not found
example:  example not found


[ Top ]


Class Variables

$hasframes = false

[line 1491]



Tags:

access:  public

Type:   mixed


[ Top ]

$_action = ""

[line 918]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_background = ""

[line 920]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_border = ""

[line 952]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_borderwidth = 0

[line 951]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_bottommargin = "0"

[line 904]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_cache = null

[line 1254]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_directionality = ddLeftToRight

[line 1550]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_doctype = "dtNone"

[line 1030]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_dynamic = false

[line 907]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_encoding = 'Western European (ISO)     |iso-8859-1'

[line 1013]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_formencoding = ""

[line 1049]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_frameborder = fbNo

[line 950]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_framespacing = 0

[line 949]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_icon = ""

[line 954]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_isform = true

[line 917]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_ismaster = "0"

[line 898]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_jsonload = null

[line 923]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_jsonreset = null

[line 1278]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_jsonsubmit = null

[line 1268]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_jsonunload = null

[line 924]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_language = "(default)"

[line 921]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_leftmargin = "0"

[line 901]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_marginheight = "0"

[line 900]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_marginwidth = "0"

[line 899]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_onafterajaxprocess = null

[line 1434]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_onaftershowfooter = null

[line 914]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_onbeforeajaxprocess = null

[line 1418]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_onbeforeshowheader = null

[line 911]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_oncreate = null

[line 915]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_onshowheader = null

[line 913]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_onstartbody = null

[line 912]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_ontemplate = null

[line 1401]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_rightmargin = "0"

[line 903]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_showfooter = 1

[line 897]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_showheader = 1

[line 896]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_target = ""

[line 1287]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_templateengine = ""

[line 908]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_templatefilename = ""

[line 909]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_topmargin = "0"

[line 902]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_useajax = 0

[line 905]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_useajaxdebug = 0

[line 906]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_useajaxuri = ""

[line 1185]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 1247]

Page __construct( [ $aowner = null])



Overrides CustomPage::__construct() (parent method not documented)

Parameters:

   $aowner  

[ Top ]

method defaultAction [line 1130]

void defaultAction( )



[ Top ]

method defaultBorderWidth [line 1010]

void defaultBorderWidth( )



[ Top ]

method defaultBottomMargin [line 1874]

void defaultBottomMargin( )



[ Top ]

method defaultCache [line 1258]

void defaultCache( )



[ Top ]

method defaultDirectionality [line 1561]

void defaultDirectionality( )



[ Top ]

method defaultDocType [line 1046]

void defaultDocType( )



[ Top ]

method defaultEncoding [line 1028]

void defaultEncoding( )



[ Top ]

method defaultFormEncoding [line 1063]

void defaultFormEncoding( )



[ Top ]

method defaultFrameBorder [line 998]

void defaultFrameBorder( )



[ Top ]

method defaultFrameSpacing [line 980]

void defaultFrameSpacing( )



[ Top ]

method defaultIcon [line 963]

void defaultIcon( )



[ Top ]

method defaultIsForm [line 1919]

void defaultIsForm( )



[ Top ]

method defaultjsOnLoad [line 934]

void defaultjsOnLoad( )



[ Top ]

method defaultjsOnReset [line 1285]

void defaultjsOnReset( )



[ Top ]

method defaultjsOnSubmit [line 1276]

void defaultjsOnSubmit( )



[ Top ]

method defaultjsOnUnload [line 943]

void defaultjsOnUnload( )



[ Top ]

method defaultLanguage [line 1244]

void defaultLanguage( )



[ Top ]

method defaultLeftMargin [line 1862]

void defaultLeftMargin( )



[ Top ]

method defaultOnAfterAjaxProcess [line 1448]

void defaultOnAfterAjaxProcess( )



[ Top ]

method defaultOnAfterShowFooter [line 1967]

void defaultOnAfterShowFooter( )



[ Top ]

method defaultOnBeforeAjaxProcess [line 1432]

void defaultOnBeforeAjaxProcess( )



[ Top ]

method defaultOnBeforeShowHeader [line 1959]

void defaultOnBeforeShowHeader( )



[ Top ]

method defaultOnCreate [line 1993]

void defaultOnCreate( )



[ Top ]

method defaultOnShowHeader [line 1976]

void defaultOnShowHeader( )



[ Top ]

method defaultOnStartBody [line 1984]

void defaultOnStartBody( )



[ Top ]

method defaultOnTemplate [line 1416]

void defaultOnTemplate( )



[ Top ]

method defaultRightMargin [line 1886]

void defaultRightMargin( )



[ Top ]

method defaultShowFooter [line 1951]

void defaultShowFooter( )



[ Top ]

method defaultShowHeader [line 1904]

void defaultShowHeader( )



[ Top ]

method defaultTarget [line 1291]

void defaultTarget( )



[ Top ]

method defaultTemplateEngine [line 1113]

void defaultTemplateEngine( )



[ Top ]

method defaultTemplateFilename [line 1150]

void defaultTemplateFilename( )



[ Top ]

method defaultTopMargin [line 1850]

void defaultTopMargin( )



[ Top ]

method defaultUseAjax [line 1168]

void defaultUseAjax( )



[ Top ]

method defaultUseAjaxDebug [line 1183]

void defaultUseAjaxDebug( )



[ Top ]

method defaultUseAjaxUri [line 1189]

void defaultUseAjaxUri( )



[ Top ]

method dumpChildren [line 1771]

void dumpChildren( )

Dump al children controls



Overrides FocusControl::dumpChildren() (Dumps all children iterating through the Controls property and calls the show method of each one.)

[ Top ]

method dumpChildrenFormItems [line 1739]

void dumpChildrenFormItems( [ $return_contents = false])



Overrides Component::dumpChildrenFormItems() (This method is called by the page just after dumping the starting form tag.)

Parameters:

   $return_contents  

[ Top ]

method dumpContents [line 1563]

void dumpContents( )



Overrides Control::dumpContents() (Dumps the control contents.)

[ Top ]

method dumpFrames [line 1829]

void dumpFrames( )

Dump the page using frames, it's called when the Page contain Frame or Frameset components

This method is called internally by the Page component when it detects it has Frames or Framesets inside, so the code it generates must be different




Tags:



[ Top ]

method dumpHeaderJavascript [line 1506]

string dumpHeaderJavascript( [boolean $return_contents = false])

This method is used internally by the Page component to dump all javascript must be located at the header.

This method iterates through all components to dump all children javascript inside the header section of the document.

It also dumps common javascript stored in js/common.js and if ajax is enabled for the page with the UseAjax property, it also includes the xajax library.




Parameters:

boolean   $return_contents   If true, contents are returned by the function instead being dumped

[ Top ]

method dumpJsEvents [line 1295]

void dumpJsEvents( )



Overrides Control::dumpJsEvents() (Dumps all assigned javascript events code.)

[ Top ]

method dumpUsingTemplate [line 1384]

void dumpUsingTemplate( )

Dump the page using a template, it doesn't generate an HTML page.

It uses the template and tries to insert components inside it. To make it work you need to assign TemplateEngine and TemplateFilename properties with the right values, check here to know more:




Tags:



[ Top ]

method getAction [line 1128]

string getAction( )

This property allows you to override the action parameter for the form that is generated by the Page component.

Usually, the action for the form is the script that generates the page i.e. "unit1.php", but if you need to override this behaviour, you can use this property for that.

This property is useful to create forms that post information to another script for further processing.




[ Top ]

method getAlignment [line 1067]

void getAlignment( )



[ Top ]

method getBackground [line 1093]

string getBackground( )

Specifies the background to be used when generating the HTML document.

The background should be an image file, and will be used to fill the page background with it. For example: images/mybackground.gif




[ Top ]

method getBorderWidth [line 1008]

integer getBorderWidth( )

The BorderWidth property sets the width of all four borders of the page.

You can set this property to a value which will be used as width for the border of the page.




[ Top ]

method getBottomMargin [line 1872]

integer getBottomMargin( )

Sets or retrieves the height of the bottom margin of the object.

Use this property to specify the margin at the bottom of the page.




Tags:



[ Top ]

method getCache [line 1256]

void getCache( )



[ Top ]

method getCaption [line 1079]

void getCaption( )



[ Top ]

method getColor [line 1070]

void getColor( )



[ Top ]

method getDirectionality [line 1559]

enum(ddLeftToRight,ddRightToLeft) getDirectionality( )

Set the text directionality of the page

Use this property to set the directionality of the text inside the page.




[ Top ]

method getDocType [line 1044]

enum getDocType( )

Specifies the doctype to include on the generation of the page.

DocType specifies the type of document you want to generate, components are responsible to adapt to this property and generate valid code, the Page simply sets the doctype for the HTML document and expects components use it to determine the kind of valid HTML must generate




Tags:



[ Top ]

method getEncoding [line 1026]

enum getEncoding( )

Specifies the encoding to use for the page.

Use this property to specify the encoding to use when generating this page, this encoding is set on the charset of the generated HTML and it's different from the Charset you setup PHP to work on.




Tags:



[ Top ]

method getFont [line 1082]

void getFont( )



[ Top ]

method getFrameBorder [line 996]

enum getFrameBorder( )

Specifies the frameborder when the page generates Frames, this value is used only when Frames or Framesets are placed inside the Page

fbDefault - Inset border is drawn

fbNo - No border is drawn

fbYes - Inset border is drawn




Tags:



[ Top ]

method getFrameSpacing [line 978]

integer getFrameSpacing( )

Sets or retrieves the amount of additional space between the frames, this value is used only when Frames or Framesets are placed inside the Page.

When this happens, the Page control, instead generate an HTML document generates a Frameset and renders all the Frames and Framesets inside depending on the align property.




Tags:



[ Top ]

method getIcon [line 961]

string getIcon( )

Specifies the icon to be used on the address bar when loading this page and for bookmarks.



[ Top ]

method getIsForm [line 1917]

boolean getIsForm( )

If false, the form doesn't generate any <form> tag, but events won't be processed

To allow VCL for PHP process events, there must be a form on the html document that allows the document to be posted to the server, but, for example, if you want to include your page into another page, you should set this property to false to prevent generate nested <form> tags, as that is not allowed by HTML




Tags:



[ Top ]

method getIsMaster [line 1932]

boolean getIsMaster( )

If true, this page doesn't render itself, but it's meant to be used as base for another forms

This property is useful to create Master pages, when set to true, the page won't be shown and you can create a new page and inherit from it.

You can get more details here:




Tags:



[ Top ]

method getjsOnLoad [line 932]

mixed getjsOnLoad( )

The javascript OnLoad event is called after all nested framesets and frames are finished with loading their content.



[ Top ]

method getjsOnReset [line 1283]

void getjsOnReset( )

Fired when the page is going to be reset using a reset input button



[ Top ]

method getjsOnSubmit [line 1274]

void getjsOnSubmit( )

Fired when the page is going to be submitted to the form, return false

to prevent the form from being posted




[ Top ]

method getjsOnUnload [line 941]

mixed getjsOnUnload( )

The javascript OnUnload event is called after all nested framesets and frames are finished with unloading their content.



[ Top ]

method getLanguage [line 1210]

string getLanguage( )

Specifies the language to be used when rendering this page.

By setting it to a different value than (default), the Page will look for a file named [language].xml.php to be loaded. That file must contain the properties need to be changed to localize the interface to that specific language

Check here to know more:




Tags:

see:  Application::getLanguage()
link:  http://www.qadram.com/vcl4php/docwiki/index.php/Developer%27s_Guide_::_Localizing_the_Interface
example:  example not found
example:  example not found
example:  example not found
example:  example not found


[ Top ]

method getLayout [line 946]

void getLayout( )



[ Top ]

method getLeftMargin [line 1860]

integer getLeftMargin( )

Sets or retrieves the width of the left margin of the object.

Use this property to specify the margin at the left of the page.




Tags:



[ Top ]

method getOnAfterAjaxProcess [line 1446]

mixed getOnAfterAjaxProcess( )

Fired just after the routine specified in ajaxcall is about to be called

Use this event to perform any operation just after the routine specified in ajaxcall is going to be called.




Tags:



[ Top ]

method getOnAfterShowFooter [line 1965]

void getOnAfterShowFooter( )

Fired after show the footer, which should be the last oportunity for you to

add code to the html document




[ Top ]

method getOnBeforeAjaxProcess [line 1430]

mixed getOnBeforeAjaxProcess( )

Fired just before the routine specified in ajaxcall is about to be called

Use this event to perform any operation just before the routine specified in ajaxcall is going to be called.




Tags:



[ Top ]

method getOnBeforeShowHeader [line 1957]

void getOnBeforeShowHeader( )

Fired before the page is going to render the header, this is useful to add

contents on that document location




[ Top ]

method getOnCreate [line 1991]

void getOnCreate( )

Fired when the page is created and all components have been loaded, this is

the right event to perform initialization stuff, the other event for this is OnBeforeShow




[ Top ]

method getOnShowHeader [line 1974]

void getOnShowHeader( )

Fired when showing the header, this event is the right place if you want to

add CSS styles or Javascript scripts to your HTML using code, as the code you dump in this event, will be placed inside the HTML header




[ Top ]

method getOnStartBody [line 1982]

void getOnStartBody( )

Fired just right after dump the <body> tag, so you can add anything you may need

there




[ Top ]

method getOnTemplate [line 1414]

mixed getOnTemplate( )

Fired when the template is about to be rendered.

This event is only fired if TemplateEngine and TemplateFilename are correctly set and it provides you with an opportunity to access to the internal template object, check here:




Tags:



[ Top ]

method getRightMargin [line 1884]

integer getRightMargin( )

Sets or retrieves the width of the right margin of the object.

Use this property to specify the margin at the right of the page.




Tags:



[ Top ]

method getShowFooter [line 1949]

boolean getShowFooter( )

If false, the form doesn't dump any footer code.

This property is useful, for example if you want to include your form inside another form, so it doesn't generate a full HTML document.

When the Page generates the HTML document, it starts from top to bottom, first dumps the header, after that, the body and at the end, the footer. By setting this property to false, you tell the Page to don't generate the footer and also, events for the footer won't be generated.




Tags:



[ Top ]

method getShowHeader [line 1902]

boolean getShowHeader( )

If false, the form doesn't dump any header code.

This property is useful, for example if you want to include your form inside another form, so it doesn't generate a full HTML document.

When the Page generates the HTML document, it starts from top to bottom, first dumps the header, after that, the body and at the end, the footer. By setting this property to false, you tell the Page to don't generate the footer and also, events for the footer won't be generated.




Tags:



[ Top ]

method getShowHint [line 1073]

void getShowHint( )



[ Top ]

method getTarget [line 1289]

void getTarget( )



[ Top ]

method getTemplateEngine [line 1111]

string getTemplateEngine( )

Specifies the engine to be used to render this page using templates.

Valid values for this property are registered Template Plugins, at this time, only Smarty is included, checkout here to know more:




Tags:

see:  Page::getTemplateFilename()
link:  http://www.qadram.com/vcl4php/docwiki/index.php/Developer%27s_Guide_::_Smarty_Templates
example:  example not found
example:  example not found
example:  example not found


[ Top ]

method getTemplateFilename [line 1148]

string getTemplateFilename( )

Specifies the name of the template file to be used to render this page.

Usually is an HTML file with some placeholders to allow insert information inside. To insert components inside templates, you must add a placeholder with the name of the component you want to insert, i.e. {$Button1}




Tags:

see:  Page::getTemplateEngine()
link:  http://www.qadram.com/vcl4php/docwiki/index.php/Developer%27s_Guide_::_Smarty_Templates
example:  example not found
example:  example not found
example:  example not found


[ Top ]

method getTopMargin [line 1848]

integer getTopMargin( )

Sets or retrieves the height of the top margin of the object.

Use this property to specify the margin at the top of the page.




Tags:



[ Top ]

method getUseAjax [line 1166]

boolean getUseAjax( )

This property allows the Page, if set, to process and handle Ajax requests performed using Component::ajaxCall.

If you want to use Ajax with the built-in engine, you need to use ajaxCall and set this property to true, to inform the page that must process any ajax requests. If set to false, ajax calls won't be processed.




Tags:



[ Top ]

method getUseAjaxDebug [line 1181]

boolean getUseAjaxDebug( )

This property enables a debug window, to show ajax calls information

When set to true, ajax calls will make a popup window to be shown with information about all ajax requests. UseAjax must also be set to true.




Tags:



[ Top ]

method getUseAjaxUri [line 1187]

void getUseAjaxUri( )



[ Top ]

method getVisible [line 1076]

void getVisible( )



[ Top ]

method loaded [line 1261]

void loaded( )



Overrides Control::loaded() (parent method not documented)

[ Top ]

method processAjax [line 1462]

void processAjax( )

This method is called to setup the Ajax functionality when dumping Page code

When generating the page code, if ajax support is enabled, this method dumps the right code to create the xajax object, setup xajax debug support if required and to register the processing function for ajax requests as ajaxProcess(), and finally, processes all the incomming ajax requests




Tags:



[ Top ]

method readEndForm [line 1366]

string readEndForm( )

Returns the ending form tag

This property, depending on the settings of IsForm and ShowFooter will dump the ending form tag.




Tags:



[ Top ]

method readFormEncoding [line 1061]

enum readFormEncoding( )

Specifies the encoding to use the form generated by the Page.

Every Page component generates a Form (unless IsForm is false) to allow process events, you can modify this property to set the encoding to a different value.

This is useful, for example, to allow you upload data to the server




[ Top ]

method readStartForm [line 1319]

string readStartForm( )

Dumps the opening form tag

This property, depending on the settings of IsForm and ShowHeader properties returns the opening form tag, it also checks for Action property to know if it must point the action for the form to the script itself or to another place.

It also dumps code to process page events like OnSubmit and OnReset and sets the form enconding according to the FormEncoding property.-




Tags:



[ Top ]

method setAction [line 1129]

void setAction( $value)



Parameters:

   $value  

[ Top ]

method setAlignment [line 1068]

void setAlignment( $value)



Parameters:

   $value  

[ Top ]

method setBackground [line 1094]

void setBackground( $value)



Parameters:

   $value  

[ Top ]

method setBorderWidth [line 1009]

void setBorderWidth( $value)



Parameters:

   $value  

[ Top ]

method setBottomMargin [line 1873]

void setBottomMargin( $value)



Parameters:

   $value  

[ Top ]

method setCache [line 1257]

void setCache( $value)



Parameters:

   $value  

[ Top ]

method setCaption [line 1080]

void setCaption( $value)



Parameters:

   $value  

[ Top ]

method setColor [line 1071]

void setColor( $value)



Parameters:

   $value  

[ Top ]

method setDirectionality [line 1560]

void setDirectionality( $value)



Parameters:

   $value  

[ Top ]

method setDocType [line 1045]

void setDocType( $value)



Parameters:

   $value  

[ Top ]

method setEncoding [line 1027]

void setEncoding( $value)



Parameters:

   $value  

[ Top ]

method setFont [line 1083]

void setFont( $value)



Parameters:

   $value  

[ Top ]

method setFrameBorder [line 997]

void setFrameBorder( $value)



Parameters:

   $value  

[ Top ]

method setFrameSpacing [line 979]

void setFrameSpacing( $value)



Parameters:

   $value  

[ Top ]

method setIcon [line 962]

void setIcon( $value)



Parameters:

   $value  

[ Top ]

method setIsForm [line 1918]

void setIsForm( $value)



Parameters:

   $value  

[ Top ]

method setIsMaster [line 1933]

void setIsMaster( $value)



Parameters:

   $value  

[ Top ]

method setjsOnLoad [line 933]

void setjsOnLoad( $value)



Parameters:

   $value  

[ Top ]

method setjsOnReset [line 1284]

void setjsOnReset( $value)



Parameters:

   $value  

[ Top ]

method setjsOnSubmit [line 1275]

void setjsOnSubmit( $value)



Parameters:

   $value  

[ Top ]

method setjsOnUnload [line 942]

void setjsOnUnload( $value)



Parameters:

   $value  

[ Top ]

method setLanguage [line 1211]

void setLanguage( $value)



Parameters:

   $value  

[ Top ]

method setLayout [line 947]

void setLayout( $value)



Parameters:

   $value  

[ Top ]

method setLeftMargin [line 1861]

void setLeftMargin( $value)



Parameters:

   $value  

[ Top ]

method setOnAfterAjaxProcess [line 1447]

void setOnAfterAjaxProcess( $value)



Parameters:

   $value  

[ Top ]

method setOnAfterShowFooter [line 1966]

void setOnAfterShowFooter( $value)



Parameters:

   $value  

[ Top ]

method setOnBeforeAjaxProcess [line 1431]

void setOnBeforeAjaxProcess( $value)



Parameters:

   $value  

[ Top ]

method setOnBeforeShowHeader [line 1958]

void setOnBeforeShowHeader( $value)



Parameters:

   $value  

[ Top ]

method setOnCreate [line 1992]

void setOnCreate( $value)



Parameters:

   $value  

[ Top ]

method setOnShowHeader [line 1975]

void setOnShowHeader( $value)



Parameters:

   $value  

[ Top ]

method setOnStartBody [line 1983]

void setOnStartBody( $value)



Parameters:

   $value  

[ Top ]

method setOnTemplate [line 1415]

void setOnTemplate( $value)



Parameters:

   $value  

[ Top ]

method setRightMargin [line 1885]

void setRightMargin( $value)



Parameters:

   $value  

[ Top ]

method setShowFooter [line 1950]

void setShowFooter( $value)



Parameters:

   $value  

[ Top ]

method setShowHeader [line 1903]

void setShowHeader( $value)



Parameters:

   $value  

[ Top ]

method setShowHint [line 1074]

void setShowHint( $value)



Parameters:

   $value  

[ Top ]

method setTarget [line 1290]

void setTarget( $value)



Parameters:

   $value  

[ Top ]

method setTemplateEngine [line 1112]

void setTemplateEngine( $value)



Parameters:

   $value  

[ Top ]

method setTemplateFilename [line 1149]

void setTemplateFilename( $value)



Parameters:

   $value  

[ Top ]

method setTopMargin [line 1849]

void setTopMargin( $value)



Parameters:

   $value  

[ Top ]

method setUseAjax [line 1167]

void setUseAjax( $value)



Parameters:

   $value  

[ Top ]

method setUseAjaxDebug [line 1182]

void setUseAjaxDebug( $value)



Parameters:

   $value  

[ Top ]

method setUseAjaxUri [line 1188]

void setUseAjaxUri( $value)



Parameters:

   $value  

[ Top ]

method setVisible [line 1077]

void setVisible( $value)



Parameters:

   $value  

[ Top ]

method writeFormEncoding [line 1062]

void writeFormEncoding( $value)



Parameters:

   $value  

[ Top ]


Documentation generated on Sat, 13 Jun 2009 10:51:41 -0700 by phpDocumentor 1.4.1