summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php
blob: 9821d8c914501da5679904b4fbb643d048e477d1 (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);	
	}
}

?>