diff options
author | wei <> | 2006-05-04 02:02:43 +0000 |
---|---|---|
committer | wei <> | 2006-05-04 02:02:43 +0000 |
commit | 75a0a250cc6735d13b3b782daf0127298b37c2b9 (patch) | |
tree | fc9a1a0b28022d573097dcc7e71b29dfe6c5821f /tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php | |
parent | d255f4d0e332740b3984e21ce3f7a4a4f1968ba3 (diff) |
Adding TCallback component.
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php')
-rw-r--r-- | tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php | 15 |
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());
+ }
+}
+?>
|