diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket484.php')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket484.php | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket484.php b/tests/FunctionalTests/tickets/protected/pages/Ticket484.php index 813ccc23..89dac261 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket484.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket484.php @@ -1,30 +1,30 @@ -<?php
-
-Prado::using('System.Web.UI.ActiveControls.*');
-
-class Ticket484 extends TPage
-{
-
- function onLoad($param)
- {
- new TActiveButton;
- for ($i = 0; $i<1500; $i++)
- {
- $ctl = Prado::createComponent("TLabel");
- $ctl->Text = "Label ".$i;
- $this->Controls[] = $ctl;
- }
- }
-
- function button2_onclick($sender, $param)
- {
- $this->label1->Text = "Button 1 was clicked ";
- }
-
- function button2_oncallback($sender, $param)
- {
- $this->label1->Text .= "using callback!";
- }
-}
-
+<?php + +Prado::using('System.Web.UI.ActiveControls.*'); + +class Ticket484 extends TPage +{ + + function onLoad($param) + { + new TActiveButton; + for ($i = 0; $i<1500; $i++) + { + $ctl = Prado::createComponent("TLabel"); + $ctl->Text = "Label ".$i; + $this->Controls[] = $ctl; + } + } + + function button2_onclick($sender, $param) + { + $this->label1->Text = "Button 1 was clicked "; + } + + function button2_oncallback($sender, $param) + { + $this->label1->Text .= "using callback!"; + } +} + ?>
\ No newline at end of file |