summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/Calculator.php
blob: 37ba862434619a53bb8188e58a4d09f25517d172 (plain)
1
2
3
4
5
6
7
8
9
10
<?php

class Calculator extends TPage
{
	public function do_sum($sender, $param)
	{
		$this->c->Text = floatval($this->a->Text) + floatval($this->b->Text);	
	}
}