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

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


?>