summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/ToggleTest.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/ToggleTest.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php b/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php
new file mode 100644
index 00000000..2c12cb72
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/ToggleTest.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ *
+ *
+ * @author Christophe BOULAIN (Christophe.Boulain@ceram.fr)
+ * @copyright Copyright &copy; 2007, CERAM Sophia Antipolis
+ * @license url nameoflicense
+ * @version $Id$
+ *
+ */
+
+prado::using ('Application.controls.ToggleImageButton');
+
+class ToggleTest extends TPage {
+ public function clickToggleButton ($sender, $param) {
+ $this->lbl->Text=$sender->State;
+ }
+}
+?> \ No newline at end of file