summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateComponent.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/CustomTemplateComponent.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/CustomTemplateComponent.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateComponent.php b/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateComponent.php
new file mode 100644
index 00000000..7da2834e
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateComponent.php
@@ -0,0 +1,11 @@
+<?php
+
+class CustomTemplateComponent extends TTemplateControl
+{
+ public function suboncallback ($sender, $param)
+ {
+ $sender->setText("Foo");
+ }
+}
+
+?> \ No newline at end of file