summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
diff options
context:
space:
mode:
authorwei <>2006-08-12 12:54:27 +0000
committerwei <>2006-08-12 12:54:27 +0000
commit1180e6486139a9c9662984367c4f624394e06f35 (patch)
treef89a379960284595d5a425e22424582eea57422c /tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
parent54d4919e3f1b00b644fa3c107acdf20159a1b154 (diff)
Add Triggered Callbacks
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php b/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
new file mode 100644
index 00000000..c3c44252
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
@@ -0,0 +1,12 @@
+<?php
+
+class ValueTriggerCallbackTest extends TPage
+{
+ function text1_changed($sender, $param)
+ {
+ $values = $param->getParameter();
+ $this->label1->Text = "Old = ".$values->OldValue." : New Value = ".$values->NewValue;
+ }
+}
+
+?> \ No newline at end of file