summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php
blob: 7afd1d59dfbfad243ab91306aa764784e365ff6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/*
 * Created on 6/05/2006
 */
Prado::using('System.Web.UI.ActiveControls.*');

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

?>