summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php
blob: 86cb3e9bd9f373d78ddf5a86917d62ecc7baa478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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);	
	}
}