PHP Class ExamplesForm, qcodo

Inheritance: extends QForm
Show file Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$btnBlah
$btnButton
$btnButton2
$btnCalculator
$btnCancel
$btnDisplaySimpleMessage
$btnDisplaySimpleMessageJsOnly
$btnEn
$btnEs
$btnSave
$dlgCalculatorWidget
$dlgSimpleMessage Local declarations of our Qcontrols
$dtgProjects Local declarations of the DataGrid
$intCounter The class member variable of the intCounter to show off a Qform's state
$lblFirstName Local declarations of our Qcontrols
$lblHandle Local declarations of our Qcontrols
$lblLastName
$lblMessage Local declarations of our Qcontrols
$lstPersons A listbox of Persons
$lstProjects Local declarations of our Qcontrols
$mctPerson Local instance of a Person MetaControl
$objCounter1 Lets declare our Custom Composite Controls
$objCounter2
$objCounter3
$pnlDropZone1
$pnlDropZone2
$pnlHorizontalResizer
$pnlLeft
$pnlLeftBottom
$pnlLeftTop Local declarations of our QPanels to Resize
$pnlPanel Local declarations of our Qcontrols
$pnlRight
$pnlVerticalResizer are also QPanels)
$pxyExample
$txtBlah
$txtFirstName
$txtLastName
$txtTextbox
$txtValue

Public Methods

Method Description
CloseRightPanel ( $blnUpdatesMade ) Method Call back for any of the RightPanel panels (see note in ProjectViewPanel for more information)
btnCalculator_Close ( ) This needs to be a public method

Protected Methods

Method Description
Form_Create ( ) Initialize our Controls during the Form Creation process
Form_Exit ( )
Form_Load ( )
Form_PreRender ( )
Form_Run ( )
Form_Validate ( )
Unselect ( )
btnButton_Click ( $strFormId, $strControlId, $strParameter ) The "btnButton_Click" Event handler
btnCalculator_Click ( $strFormId, $strControlId, $strParameter )
btnCancel_Click ( $strFormId, $strControlId, $strParameter )
btnDisplaySimpleMessage_Click ( $strFormId, $strControlId, $strParameter )
btnSave_Click ( $strFormId, $strControlId, $strParameter ) Define the Event Handlers
button_Click ( $strFormId, $strControlId, $strParameter ) The "btnButton_Click" Event handler
lblFirstName_Click ( $strFormId, $strControlId, $strParameter )
lblLastName_Click ( $strFormId, $strControlId, $strParameter )
lstPersons_Change ( $strFormId, $strControlId, $strParameter ) Handle the changing of the listbox
lstProjects_Change ( $strFormId, $strControlId, $strParameter ) The "btnButton_Click" Event handler
pxyExample_Click ( $strFormId, $strControlId, $strParameter ) use a DisplayAlert() call as a stub function. Hopefully, you get the idea. =)

Method Details

CloseRightPanel() public method

Method Call back for any of the RightPanel panels (see note in ProjectViewPanel for more information)
public CloseRightPanel ( $blnUpdatesMade )

Form_Create() protected method

Initialize our Controls during the Form Creation process
protected Form_Create ( )

Form_Exit() protected method

protected Form_Exit ( )

Form_Load() protected method

protected Form_Load ( )

Form_PreRender() protected method

protected Form_PreRender ( )

Form_Run() protected method

protected Form_Run ( )

Form_Validate() protected method

protected Form_Validate ( )

Unselect() protected method

protected Unselect ( )

btnButton_Click() protected method

The "btnButton_Click" Event handler
protected btnButton_Click ( $strFormId, $strControlId, $strParameter )

btnCalculator_Click() protected method

protected btnCalculator_Click ( $strFormId, $strControlId, $strParameter )

btnCalculator_Close() public method

This needs to be a public method
public btnCalculator_Close ( )

btnCancel_Click() protected method

protected btnCancel_Click ( $strFormId, $strControlId, $strParameter )

btnDisplaySimpleMessage_Click() protected method

protected btnDisplaySimpleMessage_Click ( $strFormId, $strControlId, $strParameter )

btnSave_Click() protected method

Define the Event Handlers
protected btnSave_Click ( $strFormId, $strControlId, $strParameter )

button_Click() protected method

The "btnButton_Click" Event handler
protected button_Click ( $strFormId, $strControlId, $strParameter )

lblFirstName_Click() protected method

protected lblFirstName_Click ( $strFormId, $strControlId, $strParameter )

lblLastName_Click() protected method

protected lblLastName_Click ( $strFormId, $strControlId, $strParameter )

lstPersons_Change() protected method

Handle the changing of the listbox
protected lstPersons_Change ( $strFormId, $strControlId, $strParameter )

lstProjects_Change() protected method

The "btnButton_Click" Event handler
protected lstProjects_Change ( $strFormId, $strControlId, $strParameter )

pxyExample_Click() protected method

use a DisplayAlert() call as a stub function. Hopefully, you get the idea. =)
protected pxyExample_Click ( $strFormId, $strControlId, $strParameter )

Property Details

$btnBlah protected property

protected $btnBlah

$btnButton protected property

protected $btnButton

$btnButton2 protected property

protected $btnButton2

$btnCalculator protected property

protected $btnCalculator

$btnCancel protected property

protected $btnCancel

$btnDisplaySimpleMessage protected property

protected $btnDisplaySimpleMessage

$btnDisplaySimpleMessageJsOnly protected property

protected $btnDisplaySimpleMessageJsOnly

$btnEn protected property

protected $btnEn

$btnEs protected property

protected $btnEs

$btnSave protected property

protected $btnSave

$dlgCalculatorWidget protected property

protected $dlgCalculatorWidget

$dlgSimpleMessage protected property

Local declarations of our Qcontrols
protected $dlgSimpleMessage

$dtgProjects protected property

Local declarations of the DataGrid
protected $dtgProjects

$intCounter protected property

The class member variable of the intCounter to show off a Qform's state
protected $intCounter

$lblFirstName protected property

Local declarations of our Qcontrols
protected $lblFirstName

$lblHandle protected property

Local declarations of our Qcontrols
protected $lblHandle

$lblLastName protected property

protected $lblLastName

$lblMessage protected property

Local declarations of our Qcontrols
protected $lblMessage

$lstPersons protected property

A listbox of Persons
protected $lstPersons

$lstProjects protected property

Local declarations of our Qcontrols
protected $lstProjects

$mctPerson protected property

Local instance of a Person MetaControl
protected $mctPerson

$objCounter1 protected property

Lets declare our Custom Composite Controls
protected $objCounter1

$objCounter2 protected property

protected $objCounter2

$objCounter3 protected property

protected $objCounter3

$pnlDropZone1 protected property

protected $pnlDropZone1

$pnlDropZone2 protected property

protected $pnlDropZone2

$pnlHorizontalResizer protected property

protected $pnlHorizontalResizer

$pnlLeft protected property

protected $pnlLeft

$pnlLeftBottom protected property

protected $pnlLeftBottom

$pnlLeftTop protected property

Local declarations of our QPanels to Resize
protected $pnlLeftTop

$pnlPanel protected property

Local declarations of our Qcontrols
protected $pnlPanel

$pnlRight protected property

protected $pnlRight

$pnlVerticalResizer protected property

are also QPanels)
protected $pnlVerticalResizer

$pxyExample protected property

protected $pxyExample

$txtBlah protected property

protected $txtBlah

$txtFirstName protected property

protected $txtFirstName

$txtLastName protected property

protected $txtLastName

$txtTextbox protected property

protected $txtTextbox

$txtValue protected property

protected $txtValue