diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php index 3c3038c2..56f9c68f 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php +++ b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php @@ -1,22 +1,22 @@ -<?php
-
-class LargePageStateTest2 extends TPage
-{
- function onLoad($param)
- {
- parent::onLoad($param);
- for($i=0;$i<100;$i++) //may try 10000, but may crash PHP.
- {
- $label = new TLabel();
- $label->Text=" this is a very long label with some text $i:";
- $this->Panel1->Controls[] = $label;
- }
- }
-
- function button_clicked($sender, $param)
- {
- $this->status->Text .= ' Callback Clicked... ';
- }
-}
-
+<?php + +class LargePageStateTest2 extends TPage +{ + function onLoad($param) + { + parent::onLoad($param); + for($i=0;$i<100;$i++) //may try 10000, but may crash PHP. + { + $label = new TLabel(); + $label->Text=" this is a very long label with some text $i:"; + $this->Panel1->Controls[] = $label; + } + } + + function button_clicked($sender, $param) + { + $this->status->Text .= ' Callback Clicked... '; + } +} + ?>
\ No newline at end of file |