PHP Класс CalculatorForm, qcodo

Наследование: extends sfForm
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$btnCalculate
$lblResult
$lstOperation
$txtValue1 And a label to output the result
$txtValue2

Защищенные методы

Метод Описание
Form_Create ( ) Define all the QContrtol objects for our Calculator
Form_Load ( )
Form_Validate ( )
btnCalculate_Click ( $strFormId, $strControlId, $strParameter ) Perform the necessary operations on the operands, and output the value to the lblResult

Описание методов

Form_Create() защищенный Метод

Define all the QContrtol objects for our Calculator
protected Form_Create ( )

Form_Load() защищенный Метод

protected Form_Load ( )

Form_Validate() защищенный Метод

protected Form_Validate ( )

btnCalculate_Click() защищенный Метод

Perform the necessary operations on the operands, and output the value to the lblResult
protected btnCalculate_Click ( $strFormId, $strControlId, $strParameter )

Описание свойств

$btnCalculate защищенное свойство

protected $btnCalculate

$lblResult защищенное свойство

protected $lblResult

$lstOperation защищенное свойство

protected $lstOperation

$txtValue1 защищенное свойство

And a label to output the result
protected $txtValue1

$txtValue2 защищенное свойство

protected $txtValue2