summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php52
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php b/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php
index 18005a2b..a1d55adc 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/CustomTemplateControlTest.php
@@ -1,27 +1,27 @@
-<?php
-
-class CustomTemplateControlTest extends TPage
-{
- function button2_onclick($sender, $param)
- {
-
- $this->label1->Text = "Button 1 was clicked ";
- $this->label1->Text .= $this->foo->Text;
-
- $x=Prado::createComponent('Application.pages.CustomTemplateComponent');
-
- $this->placeholder->getControls()->add($x);
- $this->placeholder->dataBind();
- }
-
- function button2_callback($sender, $param)
- {
- $this->placeholder->render($param->NewWriter);
-
- $this->label1->Text .= " using callback!";
- $this->label1->Text .= "... and this is the textbox text: ". $this->foo->Text;
- }
-
-}
-
+<?php
+
+class CustomTemplateControlTest extends TPage
+{
+ function button2_onclick($sender, $param)
+ {
+
+ $this->label1->Text = "Button 1 was clicked ";
+ $this->label1->Text .= $this->foo->Text;
+
+ $x=Prado::createComponent('Application.pages.CustomTemplateComponent');
+
+ $this->placeholder->getControls()->add($x);
+ $this->placeholder->dataBind();
+ }
+
+ function button2_callback($sender, $param)
+ {
+ $this->placeholder->render($param->NewWriter);
+
+ $this->label1->Text .= " using callback!";
+ $this->label1->Text .= "... and this is the textbox text: ". $this->foo->Text;
+ }
+
+}
+
?> \ No newline at end of file