summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php')
-rw-r--r--tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php
new file mode 100644
index 00000000..43d93d30
--- /dev/null
+++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php
@@ -0,0 +1,15 @@
+<?php
+/*
+ * Created on 2/05/2006
+ */
+
+class ActiveControl extends TPage
+{
+ public function control1onCallback($sender, $param)
+ {
+ $this->button2->setVisible(true);
+ $this->button2->setText("Time is ".time());
+ $this->control1->render($param->getOutput());
+ }
+}
+?>