diff options
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php')
-rw-r--r-- | tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php b/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php new file mode 100644 index 00000000..bcf0f9cd --- /dev/null +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator.php @@ -0,0 +1,14 @@ +<?php
+/*
+ * Created on 6/05/2006
+ */
+
+class Calculator extends TPage
+{
+ public function do_sum($sender, $param)
+ {
+ $this->c->Text = floatval($this->a->Text) + floatval($this->b->Text);
+ }
+}
+
+?>
\ No newline at end of file |